Liferay 6.1.2-ce-ga3

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
<T,V extends Visitor<T>>
T
accept(V visitor)
           
 String asXML()
           
 Node asXPathResult(Element parent)
           
 String compactString()
           
 Node detach()
           
 String formattedString()
           
 String formattedString(String indent)
           
 String formattedString(String indent, boolean expandEmptyElements)
           
 String formattedString(String indent, boolean expandEmptyElements, boolean trimText)
           
 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

accept

<T,V extends Visitor<T>> T accept(V visitor)

asXML

String asXML()

asXPathResult

Node asXPathResult(Element parent)

compactString

String compactString()
                     throws IOException
Throws:
IOException

detach

Node detach()

formattedString

String formattedString()
                       throws IOException
Throws:
IOException

formattedString

String formattedString(String indent)
                       throws IOException
Throws:
IOException

formattedString

String formattedString(String indent,
                       boolean expandEmptyElements)
                       throws IOException
Throws:
IOException

formattedString

String formattedString(String indent,
                       boolean expandEmptyElements,
                       boolean trimText)
                       throws IOException
Throws:
IOException

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.1.2-ce-ga3