Package com.liferay.portal.kernel.xml
Interface Node
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Attribute
,Branch
,CDATA
,Comment
,Document
,Element
,Entity
,Namespace
,ProcessingInstruction
,Text
- Author:
- Brian Wing Shun Chan
-
Method Summary
Modifier and TypeMethodDescription<T,
V extends Visitor<T>>
Taccept
(V visitor) asXML()
asXPathResult
(Element parent) detach()
formattedString
(String indent) formattedString
(String indent, boolean expandEmptyElements) formattedString
(String indent, boolean expandEmptyElements, boolean trimText) getName()
getPath()
getText()
getUniquePath
(Element context) boolean
boolean
boolean
numberValueOf
(String xPathExpression) selectNodes
(String xPathExpression) selectNodes
(String xPathExpression, String comparisonXPathExpression) selectNodes
(String xPathExpression, String comparisonXPathExpression, boolean removeDuplicates) selectObject
(String xPathExpression) selectSingleNode
(String xPathExpression) void
void
boolean
void
-
Method Details
-
accept
-
asXML
String asXML() -
asXPathResult
-
compactString
- Throws:
IOException
-
detach
Node detach() -
formattedString
- Throws:
IOException
-
formattedString
- Throws:
IOException
-
formattedString
- 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
-
getStringValue
String getStringValue() -
getText
String getText() -
getUniquePath
String getUniquePath() -
getUniquePath
-
hasContent
boolean hasContent() -
isReadOnly
boolean isReadOnly() -
matches
-
numberValueOf
-
selectNodes
-
selectNodes
-
selectNodes
-
selectObject
-
selectSingleNode
-
setName
-
setText
-
supportsParent
boolean supportsParent() -
valueOf
-
write
- Throws:
IOException
-