Class RelatesToImpl

All Implemented Interfaces:
AttributeExtensibleXMLObject, XSURI, XMLObject, RelatesTo, WSAddressingObject

public class RelatesToImpl
extends XSURIImpl
implements RelatesTo
Implementation of RelatesTo.
  • Field Details

    • relationshipType

      private String relationshipType
      RelationshipType attribute value.
    • unknownAttributes

      private AttributeMap unknownAttributes
      Wildcard attributes.
  • Constructor Details

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

    • 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