Class ScopedValueImpl

    • Field Detail

      • scope

        private String scope
        Scope of this string element.
      • scopeAttributeName

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

      • ScopedValueImpl

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

      • getScope

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

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

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

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

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

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