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 TypeMethodDescriptionvoidadd(com.liferay.portal.kernel.xml.Comment comment) voidadd(com.liferay.portal.kernel.xml.Element element) voidadd(com.liferay.portal.kernel.xml.Node node) voidadd(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) com.liferay.portal.kernel.xml.ElementaddElement(com.liferay.portal.kernel.xml.QName qName) com.liferay.portal.kernel.xml.ElementaddElement(String name) com.liferay.portal.kernel.xml.ElementaddElement(String qualifiedName, String namespaceURI) voidappendContent(com.liferay.portal.kernel.xml.Branch branch) voidList<com.liferay.portal.kernel.xml.Node>content()com.liferay.portal.kernel.xml.ElementelementByID(String elementID) booleanorg.dom4j.BranchinthashCode()intindexOf(com.liferay.portal.kernel.xml.Node node) com.liferay.portal.kernel.xml.Nodenode(int index) intIterator<com.liferay.portal.kernel.xml.Node>voidcom.liferay.portal.kernel.xml.ProcessingInstructionprocessingInstruction(String target) List<com.liferay.portal.kernel.xml.ProcessingInstruction>List<com.liferay.portal.kernel.xml.ProcessingInstruction>processingInstructions(String target) booleanremove(com.liferay.portal.kernel.xml.Comment comment) booleanremove(com.liferay.portal.kernel.xml.Element element) booleanremove(com.liferay.portal.kernel.xml.Node node) booleanremove(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) booleanremoveProcessingInstruction(String target) voidsetContent(List<com.liferay.portal.kernel.xml.Node> content) voidsetProcessingInstructions(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, writeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
addin interfacecom.liferay.portal.kernel.xml.Branch
-
add
public void add(com.liferay.portal.kernel.xml.Element element) - Specified by:
addin interfacecom.liferay.portal.kernel.xml.Branch
-
add
public void add(com.liferay.portal.kernel.xml.Node node) - Specified by:
addin interfacecom.liferay.portal.kernel.xml.Branch
-
add
public void add(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) - Specified by:
addin interfacecom.liferay.portal.kernel.xml.Branch
-
addElement
public com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.QName qName) - Specified by:
addElementin interfacecom.liferay.portal.kernel.xml.Branch
-
addElement
- Specified by:
addElementin interfacecom.liferay.portal.kernel.xml.Branch
-
addElement
- Specified by:
addElementin interfacecom.liferay.portal.kernel.xml.Branch
-
appendContent
public void appendContent(com.liferay.portal.kernel.xml.Branch branch) - Specified by:
appendContentin interfacecom.liferay.portal.kernel.xml.Branch
-
clearContent
public void clearContent()- Specified by:
clearContentin interfacecom.liferay.portal.kernel.xml.Branch
-
content
- Specified by:
contentin interfacecom.liferay.portal.kernel.xml.Branch
-
elementByID
- Specified by:
elementByIDin 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:
indexOfin interfacecom.liferay.portal.kernel.xml.Branch
-
node
public com.liferay.portal.kernel.xml.Node node(int index) - Specified by:
nodein interfacecom.liferay.portal.kernel.xml.Branch
-
nodeCount
public int nodeCount()- Specified by:
nodeCountin interfacecom.liferay.portal.kernel.xml.Branch
-
nodeIterator
- Specified by:
nodeIteratorin interfacecom.liferay.portal.kernel.xml.Branch
-
normalize
public void normalize()- Specified by:
normalizein interfacecom.liferay.portal.kernel.xml.Branch
-
processingInstruction
- Specified by:
processingInstructionin interfacecom.liferay.portal.kernel.xml.Branch
-
processingInstructions
- Specified by:
processingInstructionsin interfacecom.liferay.portal.kernel.xml.Branch
-
processingInstructions
public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions(String target) - Specified by:
processingInstructionsin interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.Comment comment) - Specified by:
removein interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.Element element) - Specified by:
removein interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.Node node) - Specified by:
removein interfacecom.liferay.portal.kernel.xml.Branch
-
remove
public boolean remove(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction) - Specified by:
removein interfacecom.liferay.portal.kernel.xml.Branch
-
removeProcessingInstruction
- Specified by:
removeProcessingInstructionin interfacecom.liferay.portal.kernel.xml.Branch
-
setContent
- Specified by:
setContentin interfacecom.liferay.portal.kernel.xml.Branch
-
setProcessingInstructions
public void setProcessingInstructions(List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions) - Specified by:
setProcessingInstructionsin interfacecom.liferay.portal.kernel.xml.Branch
-
toString
-