Class AbstractExtensibleXMLObject

All Implemented Interfaces:
AttributeExtensibleXMLObject, ElementExtensibleXMLObject, XMLObject

public abstract class AbstractExtensibleXMLObject
extends AbstractElementExtensibleXMLObject
implements AttributeExtensibleXMLObject, ElementExtensibleXMLObject
AbstractExtensibleXMLObject is an element of type xs:any, and with xs:anyAttribute attributes.
  • Field Details

    • anyAttributes

      @Nonnull private final AttributeMap anyAttributes
      xs:anyAttribute for this element.
  • Constructor Details

    • AbstractExtensibleXMLObject

      public AbstractExtensibleXMLObject​(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getUnknownAttributes

      @Nonnull public AttributeMap getUnknownAttributes()
      Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.
      Specified by:
      getUnknownAttributes in interface AttributeExtensibleXMLObject
      Returns:
      a map of the attributes