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
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