Liferay 7.0-ga1 portal-impl

com.liferay.portal.xml
Class BranchImpl

java.lang.Object
  extended by com.liferay.portal.xml.NodeImpl
      extended by 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

public class BranchImpl
extends NodeImpl
implements com.liferay.portal.kernel.xml.Branch

See Also:
Serialized Form

Constructor Summary
BranchImpl(org.dom4j.Branch branch)
           
 
Method Summary
 void 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 clearContent()
           
 List<com.liferay.portal.kernel.xml.Node> content()
           
 com.liferay.portal.kernel.xml.Element elementByID(String elementID)
           
 boolean equals(Object obj)
           
 org.dom4j.Branch getWrappedBranch()
           
 int hashCode()
           
 int indexOf(com.liferay.portal.kernel.xml.Node node)
           
 com.liferay.portal.kernel.xml.Node node(int index)
           
 int nodeCount()
           
 Iterator<com.liferay.portal.kernel.xml.Node> nodeIterator()
           
 void normalize()
           
 com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction(String target)
           
 List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions()
           
 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)
           
 String 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 Detail

BranchImpl

public BranchImpl(org.dom4j.Branch branch)
Method Detail

add

public void add(com.liferay.portal.kernel.xml.Comment comment)
Specified by:
add in interface com.liferay.portal.kernel.xml.Branch

add

public void add(com.liferay.portal.kernel.xml.Element element)
Specified by:
add in interface com.liferay.portal.kernel.xml.Branch

add

public void add(com.liferay.portal.kernel.xml.Node node)
Specified by:
add in interface com.liferay.portal.kernel.xml.Branch

add

public void add(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction)
Specified by:
add in interface com.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 interface com.liferay.portal.kernel.xml.Branch

addElement

public com.liferay.portal.kernel.xml.Element addElement(String name)
Specified by:
addElement in interface com.liferay.portal.kernel.xml.Branch

addElement

public com.liferay.portal.kernel.xml.Element addElement(String qualifiedName,
                                                        String namespaceURI)
Specified by:
addElement in interface com.liferay.portal.kernel.xml.Branch

appendContent

public void appendContent(com.liferay.portal.kernel.xml.Branch branch)
Specified by:
appendContent in interface com.liferay.portal.kernel.xml.Branch

clearContent

public void clearContent()
Specified by:
clearContent in interface com.liferay.portal.kernel.xml.Branch

content

public List<com.liferay.portal.kernel.xml.Node> content()
Specified by:
content in interface com.liferay.portal.kernel.xml.Branch

elementByID

public com.liferay.portal.kernel.xml.Element elementByID(String elementID)
Specified by:
elementByID in interface com.liferay.portal.kernel.xml.Branch

equals

public boolean equals(Object obj)
Overrides:
equals in class NodeImpl

getWrappedBranch

public org.dom4j.Branch getWrappedBranch()

hashCode

public int hashCode()
Overrides:
hashCode in class NodeImpl

indexOf

public int indexOf(com.liferay.portal.kernel.xml.Node node)
Specified by:
indexOf in interface com.liferay.portal.kernel.xml.Branch

node

public com.liferay.portal.kernel.xml.Node node(int index)
Specified by:
node in interface com.liferay.portal.kernel.xml.Branch

nodeCount

public int nodeCount()
Specified by:
nodeCount in interface com.liferay.portal.kernel.xml.Branch

nodeIterator

public Iterator<com.liferay.portal.kernel.xml.Node> nodeIterator()
Specified by:
nodeIterator in interface com.liferay.portal.kernel.xml.Branch

normalize

public void normalize()
Specified by:
normalize in interface com.liferay.portal.kernel.xml.Branch

processingInstruction

public com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction(String target)
Specified by:
processingInstruction in interface com.liferay.portal.kernel.xml.Branch

processingInstructions

public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions()
Specified by:
processingInstructions in interface com.liferay.portal.kernel.xml.Branch

processingInstructions

public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions(String target)
Specified by:
processingInstructions in interface com.liferay.portal.kernel.xml.Branch

remove

public boolean remove(com.liferay.portal.kernel.xml.Comment comment)
Specified by:
remove in interface com.liferay.portal.kernel.xml.Branch

remove

public boolean remove(com.liferay.portal.kernel.xml.Element element)
Specified by:
remove in interface com.liferay.portal.kernel.xml.Branch

remove

public boolean remove(com.liferay.portal.kernel.xml.Node node)
Specified by:
remove in interface com.liferay.portal.kernel.xml.Branch

remove

public boolean remove(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction)
Specified by:
remove in interface com.liferay.portal.kernel.xml.Branch

removeProcessingInstruction

public boolean removeProcessingInstruction(String target)
Specified by:
removeProcessingInstruction in interface com.liferay.portal.kernel.xml.Branch

setContent

public void setContent(List<com.liferay.portal.kernel.xml.Node> content)
Specified by:
setContent in interface com.liferay.portal.kernel.xml.Branch

setProcessingInstructions

public void setProcessingInstructions(List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions)
Specified by:
setProcessingInstructions in interface com.liferay.portal.kernel.xml.Branch

toString

public String toString()
Overrides:
toString in class NodeImpl

Liferay 7.0-ga1 portal-impl