|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.adobe.xfa.Attribute
public abstract class Attribute
A common base class to represent XML attributes.
| Constructor Summary | |
|---|---|
Attribute(java.lang.String qName,
java.lang.String value)
Instantiates an attribute, with the given attribute value. |
|
Attribute(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 |
getAttrValue()
Gets this attribute's value. |
java.lang.String |
getLocalName()
Gets this attribute's local name. |
java.lang.String |
getName()
Gets this attribute's local name. |
java.lang.String |
getNS()
Gets this attribute's namespace. |
java.lang.String |
getPrefix()
Gets this attribute's namespace prefix. |
java.lang.String |
getQName()
Gets this attribute's qualified name. |
boolean |
isEmpty()
Determines if this attribute's value is empty (or null). |
boolean |
isNameSpaceAttr()
Determines if this attribute is a name space attribute. |
java.lang.String |
toString()
Generates this attribute's value as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Attribute(java.lang.String qName,
java.lang.String value)
qName - the attribute name.value - the attribute value.
public Attribute(java.lang.String NS,
java.lang.String localName,
java.lang.String qName,
java.lang.String value)
NS - the namespace of this attribute.localName - the local name of this attribute.qName - the qualified name of this attribute.value - the value of this attribute.| Method Detail |
|---|
public final java.lang.String getAttrValue()
public final java.lang.String getLocalName()
public final java.lang.String getName()
public java.lang.String getNS()
public final java.lang.String getPrefix()
public final java.lang.String getQName()
public final boolean isEmpty()
public final boolean isNameSpaceAttr()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||