Class RelatesToImpl

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

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

    • relationshipType

      @Nullable private String relationshipType
      RelationshipType attribute value.
    • unknownAttributes

      @Nonnull private final AttributeMap unknownAttributes
      Wildcard attributes.
  • Constructor Details

    • RelatesToImpl

      public RelatesToImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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

      @Nullable 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(@Nullable String newRelationshipType)
      Sets the RelationshipType attribute URI value.
      Specified by:
      setRelationshipType in interface RelatesTo
      Parameters:
      newRelationshipType - the RelationshipType attribute value.
    • 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