Package com.adobe.xfa

Class StringAttr


  • public final class StringAttr
    extends Attribute
    An immutable class to represent any attribute defined by a simple string.
    • Constructor Detail

      • StringAttr

        public StringAttr​(String NS,
                          String localName,
                          String qName,
                          String value)
        Instantiates an attribute with the given attribute parameters.
        Parameters:
        NS - the namespace.
        localName - the local name.
        qName - the qualified name.
        value - the attribute value.
      • StringAttr

        public StringAttr​(String qName,
                          String value)
        Instantiates an attribute with the given value.
        Parameters:
        qName - the attribute name.
        value - the attribute value.
      • StringAttr

        public StringAttr​(String NS,
                          String localName,
                          String qName,
                          String value,
                          boolean internSymbols)
        Create a new StringAttr, given all attribute parameters
        Parameters:
        NS - the namespace for this attribute
        localName - the local name for this attribute
        qName - the qualified name for this attribute
        value - the string to use to create the new attribute
        internSymbols - indicates whether the symbols in other parameters need to be interned.