Package com.liferay.portal.xml
Class BranchImpl
Object
com.liferay.portal.xml.NodeImpl
com.liferay.portal.xml.BranchImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.xml.Branch
,com.liferay.portal.kernel.xml.Node
,Serializable
- Direct Known Subclasses:
DocumentImpl
,ElementImpl
- Author:
- Brian Wing Shun Chan
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(com.liferay.portal.kernel.xml.Comment comment) void
add
(com.liferay.portal.kernel.xml.Element element) void
add
(com.liferay.portal.kernel.xml.Node node) void
add
(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) com.liferay.portal.kernel.xml.Element
addElement
(com.liferay.portal.kernel.xml.QName qName) com.liferay.portal.kernel.xml.Element
addElement
(String name) com.liferay.portal.kernel.xml.Element
addElement
(String qualifiedName, String namespaceURI) void
appendContent
(com.liferay.portal.kernel.xml.Branch branch) void
List<com.liferay.portal.kernel.xml.Node>
content()
com.liferay.portal.kernel.xml.Element
elementByID
(String elementID) boolean
org.dom4j.Branch
int
hashCode()
int
indexOf
(com.liferay.portal.kernel.xml.Node node) com.liferay.portal.kernel.xml.Node
node
(int index) int
Iterator<com.liferay.portal.kernel.xml.Node>
void
com.liferay.portal.kernel.xml.ProcessingInstruction
processingInstruction
(String target) List<com.liferay.portal.kernel.xml.ProcessingInstruction>
List<com.liferay.portal.kernel.xml.ProcessingInstruction>
processingInstructions
(String target) boolean
remove
(com.liferay.portal.kernel.xml.Comment comment) boolean
remove
(com.liferay.portal.kernel.xml.Element element) boolean
remove
(com.liferay.portal.kernel.xml.Node node) boolean
remove
(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) boolean
removeProcessingInstruction
(String target) void
setContent
(List<com.liferay.portal.kernel.xml.Node> content) void
setProcessingInstructions
(List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions) toString()
Methods inherited from class com.liferay.portal.xml.NodeImpl
accept, asXML, asXPathResult, compactString, detach, formattedString, formattedString, formattedString, formattedString, getDocument, getName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, getWrappedNode, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setName, setText, supportsParent, valueOf, write
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.xml.Node
accept, asXML, asXPathResult, compactString, detach, formattedString, formattedString, formattedString, formattedString, getDocument, getName, getParent, getPath, getPath, getStringValue, getText, getUniquePath, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setName, setText, supportsParent, valueOf, write
-
Constructor Details
-
BranchImpl
public BranchImpl(org.dom4j.Branch branch)
-
-
Method Details
-
add
public void add(com.liferay.portal.kernel.xml.Comment comment) - Specified by:
add
in interfacecom.liferay.portal.kernel.xml.Branch
-
add
public void add(com.liferay.portal.kernel.xml.Element element) - Specified by:
add
in interfacecom.liferay.portal.kernel.xml.Branch
-
add
public void add(com.liferay.portal.kernel.xml.Node node) - Specified by:
add
in interfacecom.liferay.portal.kernel.xml.Branch
-
add
public void add(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) - Specified by:
add
in interfacecom.liferay.portal.kernel.xml.Branch
-
addElement
public com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.QName qName) - Specified by:
addElement
in interfacecom.liferay.portal.kernel.xml.Branch
-
addElement
- Specified by:
addElement
in interfacecom.liferay.portal.kernel.xml.Branch
-
addElement
- Specified by:
addElement
in interfacecom.liferay.portal.kernel.xml.Branch
-
appendContent
public void appendContent(com.liferay.portal.kernel.xml.Branch branch) - Specified by:
appendContent
in interfacecom.liferay.portal.kernel.xml.Branch
-
clearContent
public void clearContent()- Specified by:
clearContent
in interfacecom.liferay.portal.kernel.xml.Branch
-
content
- Specified by:
content
in interfacecom.liferay.portal.kernel.xml.Branch
-
elementByID
- Specified by:
elementByID
in interfacecom.liferay.portal.kernel.xml.Branch
-
equals
-
getWrappedBranch
public org.dom4j.Branch getWrappedBranch() -
hashCode
public int hashCode() -
indexOf
public int indexOf(com.liferay.portal.kernel.xml.Node node) - Specified by:
indexOf
in interfacecom.liferay.portal.kernel.xml.Branch
-
node
public com.liferay.portal.kernel.xml.Node node(int index) - Specified by:
node
in interfacecom.liferay.portal.kernel.xml.Branch
-
nodeCount
public int nodeCount()- Specified by:
nodeCount
in interfacecom.liferay.portal.kernel.xml.Branch
-
nodeIterator
- Specified by:
nodeIterator
in interfacecom.liferay.portal.kernel.xml.Branch
-
normalize
public void normalize()- Specified by:
normalize
in interfacecom.liferay.portal.kernel.xml.Branch
-
processingInstruction
- Specified by:
processingInstruction
in interfacecom.liferay.portal.kernel.xml.Branch
-
processingInstructions
- Specified by:
processingInstructions
in interfacecom.liferay.portal.kernel.xml.Branch
-
processingInstructions
public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions(String target) - Specified by:
processingInstructions
in interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.Comment comment) - Specified by:
remove
in interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.Element element) - Specified by:
remove
in interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.Node node) - Specified by:
remove
in interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) - Specified by:
remove
in interfacecom.liferay.portal.kernel.xml.Branch
-
removeProcessingInstruction
- Specified by:
removeProcessingInstruction
in interfacecom.liferay.portal.kernel.xml.Branch
-
setContent
- Specified by:
setContent
in interfacecom.liferay.portal.kernel.xml.Branch
-
setProcessingInstructions
public void setProcessingInstructions(List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions) - Specified by:
setProcessingInstructions
in interfacecom.liferay.portal.kernel.xml.Branch
-
toString
-