Class RelatesToImpl

    • Field Detail

      • relationshipType

        private String relationshipType
        RelationshipType attribute value.
      • unknownAttributes

        private AttributeMap unknownAttributes
        Wildcard attributes.
    • Constructor Detail

      • RelatesToImpl

        public RelatesToImpl​(String namespaceURI,
                             String elementLocalName,
                             String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - The namespace of the element
        elementLocalName - The local name of the element
        namespacePrefix - The namespace prefix of the element
    • Method Detail

      • getRelationshipType

        public String getRelationshipType()
        Returns the RelationshipType attribute URI value.
        Specified by:
        getRelationshipType in interface RelatesTo
        Returns:
        the RelationshipType attribute value or null.
      • setRelationshipType

        public void setRelationshipType​(String newRelationshipType)
        Sets the RelationshipType attribute URI value.
        Specified by:
        setRelationshipType in interface RelatesTo
        Parameters:
        newRelationshipType - the RelationshipType attribute value.
      • getUnknownAttributes

        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