XFA4J

com.adobe.xfa
Class GenericAttribute

java.lang.Object
  extended by com.adobe.xfa.Attribute
      extended by com.adobe.xfa.GenericAttribute

public final class GenericAttribute
extends Attribute

A class to represents plain XML attributes, i.e., attributes that do not fit into an XFA schema.

Generic attributes are more expensive than XFA attributes, because they must include all possible properties.


Constructor Summary
GenericAttribute(java.lang.String NS, java.lang.String localName, java.lang.String qName, java.lang.String value)
          Instantiates an attribute with the given attribute parameters.
 
Method Summary
 java.lang.String getNS()
          Gets this attribute's namespace.
 
Methods inherited from class com.adobe.xfa.Attribute
getAttrValue, getLocalName, getName, getPrefix, getQName, isEmpty, isNameSpaceAttr, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericAttribute

public GenericAttribute(java.lang.String NS,
                        java.lang.String localName,
                        java.lang.String qName,
                        java.lang.String value)
Instantiates an attribute with the given 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.
Method Detail

getNS

public java.lang.String getNS()
Gets this attribute's namespace.

Overrides:
getNS in class Attribute
Returns:
the namespace.

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.