Liferay 6.0.5

com.liferay.portal.kernel.xml
Interface Node

All Superinterfaces:
Serializable
All Known Subinterfaces:
Attribute, Branch, CDATA, Comment, Document, Element, Entity, Namespace, ProcessingInstruction, Text
All Known Implementing Classes:
AttributeImpl, BranchImpl, CDATAImpl, CommentImpl, DocumentImpl, ElementImpl, EntityImpl, NamespaceImpl, NodeImpl, ProcessingInstructionImpl, TextImpl

public interface Node
extends Serializable


Method Summary
 String asXML()
           
 Node asXPathResult(Element parent)
           
 Node detach()
           
 Document getDocument()
           
 String getName()
           
 Element getParent()
           
 String getPath()
           
 String getPath(Element context)
           
 String getStringValue()
           
 String getText()
           
 String getUniquePath()
           
 String getUniquePath(Element context)
           
 boolean hasContent()
           
 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 valueOf(String xpathExpression)
           
 void write(Writer writer)
           
 

Method Detail

asXML

String asXML()

asXPathResult

Node asXPathResult(Element parent)

detach

Node detach()

getDocument

Document getDocument()

getName

String getName()

getParent

Element getParent()

getPath

String getPath()

getPath

String getPath(Element context)

getStringValue

String getStringValue()

getText

String getText()

getUniquePath

String getUniquePath()

getUniquePath

String getUniquePath(Element context)

hasContent

boolean hasContent()

isReadOnly

boolean isReadOnly()

matches

boolean matches(String xpathExpression)

numberValueOf

Number numberValueOf(String xpathExpression)

selectNodes

List<Node> selectNodes(String xpathExpression)

selectNodes

List<Node> selectNodes(String xpathExpression,
                       String comparisonXPathExpression)

selectNodes

List<Node> selectNodes(String xpathExpression,
                       String comparisonXPathExpression,
                       boolean removeDuplicates)

selectObject

Object selectObject(String xpathExpression)

selectSingleNode

Node selectSingleNode(String xpathExpression)

setName

void setName(String name)

setText

void setText(String text)

supportsParent

boolean supportsParent()

valueOf

String valueOf(String xpathExpression)

write

void write(Writer writer)
           throws IOException
Throws:
IOException

Liferay 6.0.5