|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.openfoundation.xml.dom.XPNode
com.plumtree.openfoundation.xml.dom.XPAttr
public class XPAttr
The XPAttr class is a wrapper for objects implementing
org.w3c.dom.Attr interface.
Please refer to Attr (Java 2 Platform SE v1.4.2)
for detail information.
| Field Summary |
|---|
| Fields inherited from class com.plumtree.openfoundation.xml.dom.XPNode |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
protected |
XPAttr(org.w3c.dom.Attr currAttr)
Creates a new XPAttr object. |
| Method Summary | |
|---|---|
java.lang.String |
GetName()
Returns the name of this attribute. |
XPElement |
GetOwnerElement()
The XPElement node this attribute is attached to or null
if this attribute is not in use. |
boolean |
GetSpecified()
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false. |
org.w3c.dom.Node |
GetUnderlyingObject()
Retrieve the underlying Node object. |
java.lang.String |
GetValue()
Return the attribute's value as a string. |
void |
SetValue(java.lang.String newValue)
Set new attribute value. |
| Methods inherited from class com.plumtree.openfoundation.xml.dom.XPNode |
|---|
AppendChild, CloneNode, GetAttributes, GetChildNodes, GetFirstChild, GetLastChild, GetLocalName, GetNamespaceURI, GetNextSibling, GetNodeName, GetNodeType, GetNodeValue, GetOwnerDocument, GetParentNode, GetPrefix, GetPreviousSibling, HasAttributes, HasChildNodes, InsertBefore, IsAttributeNode, IsCDATASectionNode, IsCommentNode, IsDocumentFragmentNode, IsDocumentNode, IsDocumentTypeNode, IsElementNode, IsProcessingInstructionNode, IsSupported, IsTextNode, Normalize, RemoveChild, ReplaceChild, SetNodeValue, SetPrefix, StoreNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected XPAttr(org.w3c.dom.Attr currAttr)
currAttr - - underlying attribute for XPAttr| Method Detail |
|---|
public java.lang.String GetName()
public XPElement GetOwnerElement()
XPElement node this attribute is attached to or null
if this attribute is not in use.
public boolean GetSpecified()
true; otherwise, it is false.
public org.w3c.dom.Node GetUnderlyingObject()
Node object.
GetUnderlyingObject in class XPNodepublic java.lang.String GetValue()
public void SetValue(java.lang.String newValue)
newValue - - new attribute value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||