Class AbstractExtensibleXMLObject

    • Field Detail

      • anyAttributes

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

      • 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 Detail

      • 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