public class BranchImpl extends NodeImpl implements com.liferay.portal.kernel.xml.Branch
Constructor and Description |
---|
BranchImpl(org.dom4j.Branch branch) |
Modifier and Type | Method and Description |
---|---|
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() |
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
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
public void add(com.liferay.portal.kernel.xml.Comment comment)
add
in interface com.liferay.portal.kernel.xml.Branch
public void add(com.liferay.portal.kernel.xml.Element element)
add
in interface com.liferay.portal.kernel.xml.Branch
public void add(com.liferay.portal.kernel.xml.Node node)
add
in interface com.liferay.portal.kernel.xml.Branch
public void add(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction)
add
in interface com.liferay.portal.kernel.xml.Branch
public com.liferay.portal.kernel.xml.Element addElement(com.liferay.portal.kernel.xml.QName qName)
addElement
in interface com.liferay.portal.kernel.xml.Branch
public com.liferay.portal.kernel.xml.Element addElement(String name)
addElement
in interface com.liferay.portal.kernel.xml.Branch
public com.liferay.portal.kernel.xml.Element addElement(String qualifiedName, String namespaceURI)
addElement
in interface com.liferay.portal.kernel.xml.Branch
public void appendContent(com.liferay.portal.kernel.xml.Branch branch)
appendContent
in interface com.liferay.portal.kernel.xml.Branch
public void clearContent()
clearContent
in interface com.liferay.portal.kernel.xml.Branch
public List<com.liferay.portal.kernel.xml.Node> content()
content
in interface com.liferay.portal.kernel.xml.Branch
public com.liferay.portal.kernel.xml.Element elementByID(String elementID)
elementByID
in interface com.liferay.portal.kernel.xml.Branch
public org.dom4j.Branch getWrappedBranch()
public int indexOf(com.liferay.portal.kernel.xml.Node node)
indexOf
in interface com.liferay.portal.kernel.xml.Branch
public com.liferay.portal.kernel.xml.Node node(int index)
node
in interface com.liferay.portal.kernel.xml.Branch
public int nodeCount()
nodeCount
in interface com.liferay.portal.kernel.xml.Branch
public Iterator<com.liferay.portal.kernel.xml.Node> nodeIterator()
nodeIterator
in interface com.liferay.portal.kernel.xml.Branch
public void normalize()
normalize
in interface com.liferay.portal.kernel.xml.Branch
public com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction(String target)
processingInstruction
in interface com.liferay.portal.kernel.xml.Branch
public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions()
processingInstructions
in interface com.liferay.portal.kernel.xml.Branch
public List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions(String target)
processingInstructions
in interface com.liferay.portal.kernel.xml.Branch
public boolean remove(com.liferay.portal.kernel.xml.Comment comment)
remove
in interface com.liferay.portal.kernel.xml.Branch
public boolean remove(com.liferay.portal.kernel.xml.Element element)
remove
in interface com.liferay.portal.kernel.xml.Branch
public boolean remove(com.liferay.portal.kernel.xml.Node node)
remove
in interface com.liferay.portal.kernel.xml.Branch
public boolean remove(com.liferay.portal.kernel.xml.ProcessingInstruction processingInstruction)
remove
in interface com.liferay.portal.kernel.xml.Branch
public boolean removeProcessingInstruction(String target)
removeProcessingInstruction
in interface com.liferay.portal.kernel.xml.Branch
public void setContent(List<com.liferay.portal.kernel.xml.Node> content)
setContent
in interface com.liferay.portal.kernel.xml.Branch
public void setProcessingInstructions(List<com.liferay.portal.kernel.xml.ProcessingInstruction> processingInstructions)
setProcessingInstructions
in interface com.liferay.portal.kernel.xml.Branch