Liferay 6.0.5

com.liferay.portal.xml
Class NodeImpl

java.lang.Object
  extended by com.liferay.portal.xml.NodeImpl
All Implemented Interfaces:
Node, Serializable
Direct Known Subclasses:
AttributeImpl, BranchImpl, CDATAImpl, CommentImpl, EntityImpl, NamespaceImpl, ProcessingInstructionImpl, TextImpl

public class NodeImpl
extends Object
implements Node

See Also:
Serialized Form

Constructor Summary
NodeImpl(org.dom4j.Node node)
           
 
Method Summary
 String asXML()
           
 Node asXPathResult(Element parent)
           
 Node detach()
           
 boolean equals(Object obj)
           
 Document getDocument()
           
 String getName()
           
 Element getParent()
           
 String getPath()
           
 String getPath(Element context)
           
 String getStringValue()
           
 String getText()
           
 String getUniquePath()
           
 String getUniquePath(Element context)
           
 org.dom4j.Node getWrappedNode()
           
 boolean hasContent()
           
 int hashCode()
           
 boolean isReadOnly()
           
 boolean matches(String xpathExpression)
           
 Number numberValueOf(String xpathExpression)
           
 List<Node> selectNodes(String xpathExpression)
           
 List<Node> selectNodes(String xpathExpression, String comparisonXPathExpression)
           
 List<Node> selectNodes(String xpathExpression, String comparisonXPathExpression, boolean removeDuplicates)
           
 Object selectObject(String xpathExpression)
           
 Node selectSingleNode(String xpathExpression)
           
 void setName(String name)
           
 void setText(String text)
           
 boolean supportsParent()
           
 String toString()
           
 String valueOf(String xpathExpression)
           
 void write(Writer writer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeImpl

public NodeImpl(org.dom4j.Node node)
Method Detail

asXML

public String asXML()
Specified by:
asXML in interface Node

asXPathResult

public Node asXPathResult(Element parent)
Specified by:
asXPathResult in interface Node

detach

public Node detach()
Specified by:
detach in interface Node

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getDocument

public Document getDocument()
Specified by:
getDocument in interface Node

getName

public String getName()
Specified by:
getName in interface Node

getParent

public Element getParent()
Specified by:
getParent in interface Node

getPath

public String getPath()
Specified by:
getPath in interface Node

getPath

public String getPath(Element context)
Specified by:
getPath in interface Node

getStringValue

public String getStringValue()
Specified by:
getStringValue in interface Node

getText

public String getText()
Specified by:
getText in interface Node

getUniquePath

public String getUniquePath()
Specified by:
getUniquePath in interface Node

getUniquePath

public String getUniquePath(Element context)
Specified by:
getUniquePath in interface Node

getWrappedNode

public org.dom4j.Node getWrappedNode()

hasContent

public boolean hasContent()
Specified by:
hasContent in interface Node

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface Node

matches

public boolean matches(String xpathExpression)
Specified by:
matches in interface Node

numberValueOf

public Number numberValueOf(String xpathExpression)
Specified by:
numberValueOf in interface Node

selectNodes

public List<Node> selectNodes(String xpathExpression)
Specified by:
selectNodes in interface Node

selectNodes

public List<Node> selectNodes(String xpathExpression,
                              String comparisonXPathExpression)
Specified by:
selectNodes in interface Node

selectNodes

public List<Node> selectNodes(String xpathExpression,
                              String comparisonXPathExpression,
                              boolean removeDuplicates)
Specified by:
selectNodes in interface Node

selectObject

public Object selectObject(String xpathExpression)
Specified by:
selectObject in interface Node

selectSingleNode

public Node selectSingleNode(String xpathExpression)
Specified by:
selectSingleNode in interface Node

setName

public void setName(String name)
Specified by:
setName in interface Node

setText

public void setText(String text)
Specified by:
setText in interface Node

supportsParent

public boolean supportsParent()
Specified by:
supportsParent in interface Node

toString

public String toString()
Overrides:
toString in class Object

valueOf

public String valueOf(String xpathExpression)
Specified by:
valueOf in interface Node

write

public void write(Writer writer)
           throws IOException
Specified by:
write in interface Node
Throws:
IOException

Liferay 6.0.5