@SuppressWarnings("unchecked") private ExtensionDt createEmptyExtensionDt(IBaseExtension theBaseExtension, boolean theIsModifier, String theUrl) { ExtensionDt retVal = new ExtensionDt(theIsModifier, theUrl); theBaseExtension.getExtension().add(retVal); return retVal; }
extensionDts = ((IBaseExtension) theCurrentObj).getExtension(); extensionDts = ((IBaseExtension) theCurrentObj).getExtension();
private void encodeUndeclaredExtensions(IBaseResource theResource, XMLStreamWriter theEventWriter, List<? extends IBaseExtension<?, ?>> theExtensions, String tagName, boolean theIncludedResource, boolean theSubResource) throws XMLStreamException, DataFormatException { for (IBaseExtension<?, ?> next : theExtensions) { if (next == null || (ElementUtil.isEmpty(next.getValue()) && next.getExtension().isEmpty())) { continue;
if (noValue && ext.getExtension().isEmpty()) { ourLog.debug("Extension with URL[{}] has no value", extensionUrl); } else if (noValue) { for (Object next : ext.getExtension()) { writeUndeclaredExtension(theResDef, theResource, theEventWriter, (IBaseExtension<?, ?>) next);
List<? extends IBaseExtension<?, ?>> ext = element.getExtension(); for (IBaseExtension<?, ?> next : ext) { if (next == null || (ElementUtil.isEmpty(next.getValue()) && next.getExtension().isEmpty())) { continue;
@SuppressWarnings("unchecked") private ExtensionDt createEmptyExtensionDt(IBaseExtension theBaseExtension, boolean theIsModifier, String theUrl) { ExtensionDt retVal = new ExtensionDt(theIsModifier, theUrl); theBaseExtension.getExtension().add(retVal); return retVal; }
IBaseExtension<?, ?> extension = (IBaseExtension<?, ?>) nextValue; if ((extension.getValue() == null || extension.getValue().isEmpty())) { if (extension.getExtension().isEmpty()) { continue;
extensionDts = ((IBaseExtension) theCurrentObj).getExtension(); extensionDts = ((IBaseExtension) theCurrentObj).getExtension();
private void encodeUndeclaredExtensions(IBaseResource theResource, XMLStreamWriter theEventWriter, List<? extends IBaseExtension<?, ?>> theExtensions, String tagName, boolean theIncludedResource, EncodeContext theEncodeContext) throws XMLStreamException, DataFormatException { for (IBaseExtension<?, ?> next : theExtensions) { if (next == null || (ElementUtil.isEmpty(next.getValue()) && next.getExtension().isEmpty())) { continue;
if (noValue && ext.getExtension().isEmpty()) { ourLog.debug("Extension with URL[{}] has no value", extensionUrl); } else if (noValue) { for (Object next : ext.getExtension()) { writeUndeclaredExtension(theResDef, theResource, theEventWriter, (IBaseExtension<?, ?>) next, theEncodeContext);
List<? extends IBaseExtension<?, ?>> ext = element.getExtension(); for (IBaseExtension<?, ?> next : ext) { if (next == null || (ElementUtil.isEmpty(next.getValue()) && next.getExtension().isEmpty())) { continue;
IBaseExtension<?, ?> extension = (IBaseExtension<?, ?>) nextValue; if ((extension.getValue() == null || extension.getValue().isEmpty())) { if (extension.getExtension().isEmpty()) { continue;