public final class GenericAttribute extends Attribute
Generic attributes are more expensive than XFA attributes, because they must include all possible properties.
| Constructor and Description |
|---|
GenericAttribute(String NS,
String localName,
String qName,
String value)
Instantiates an attribute with the given attribute parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNS()
Gets this attribute's namespace.
|
boolean |
isSchemaAttr()
Determines if this attribute is a schema attribute.
|
Attribute |
newAttribute(String value)
Create a new attribute, given a new value
|
Attribute |
newAttribute(String NS,
String localName,
String qName,
String value)
Create a new attribute, given all attribute parameters
|
Attribute |
newAttribute(String NS,
String localName,
String qName,
String value,
boolean internSymbols)
Create a new attribute, given all attribute parameters
|
getAttrValue, getLocalName, getName, getPrefix, getQName, isEmpty, isNameSpaceAttr, isXSINilAttr, normalize, toStringpublic GenericAttribute(String NS, String localName, String qName, String value)
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.public boolean isSchemaAttr()
isSchemaAttr in class Attributepublic String getNS()
public Attribute newAttribute(String NS, String localName, String qName, String value)
AttributenewAttribute in class AttributeNS - the namespace for this attributelocalName - the local name for this attributeqName - the qualified name for this attributevalue - the string to use to create the new attributeAttribute.newAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String)public Attribute newAttribute(String NS, String localName, String qName, String value, boolean internSymbols)
AttributenewAttribute in class AttributeNS - the namespace for this attributelocalName - the local name for this attributeqName - the qualified name for this attributevalue - the string to use to create the new attributeinternSymbols - indicates whether the symbols in other parameters need to be interned.Attribute.newAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)public Attribute newAttribute(String value)
AttributenewAttribute in class Attributevalue - the string to use to create the new attributeAttribute.newAttribute(java.lang.String)Copyright © 2010 - 2020 Adobe. All Rights Reserved