Class ScopedValueImpl

All Implemented Interfaces:
ScopedValue, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, XSAny, XMLObject, SAMLObject

@NotThreadSafe public class ScopedValueImpl extends XSAnyImpl implements ScopedValue
Concrete implementation of ScopedValue.
  • Field Details

    • scope

      private String scope
      Scope of this string element.
    • scopeAttributeName

      private String scopeAttributeName
      Scope attribute name for this element.
  • Constructor Details

    • ScopedValueImpl

      protected ScopedValueImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
      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

    • getScope

      public String getScope()
      Gets the scope value.
      Specified by:
      getScope in interface ScopedValue
      scope value
    • getScopeAttributeName

      public String getScopeAttributeName()
      Gets the name of the scope attribute.
      Specified by:
      getScopeAttributeName in interface ScopedValue
      name of the scope attribute
    • setScope

      public void setScope(String newScope)
      Sets the scope value.
      Specified by:
      setScope in interface ScopedValue
      newScope - scope value
    • setScopeAttributeName

      public void setScopeAttributeName(String newScopeAttributeName)
      Sets the name of the scope attribute.
      Specified by:
      setScopeAttributeName in interface ScopedValue
      newScopeAttributeName - name of the scope attribute
    • getValue

      public String getValue()
      Get the attribute value.
      Specified by:
      getValue in interface ScopedValue
      the attribute value.
    • setValue

      public void setValue(String newValue)
      Set the attribute value.
      Specified by:
      setValue in interface ScopedValue
      newValue - the new attribute value