public class BranchImpl extends NodeImpl implements Branch
| Constructor and Description |
|---|
BranchImpl(org.dom4j.Branch branch) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Comment comment) |
void |
add(Element element) |
void |
add(Node node) |
void |
add(ProcessingInstruction processingInstruction) |
Element |
addElement(QName qName) |
Element |
addElement(java.lang.String name) |
Element |
addElement(java.lang.String qualifiedName,
java.lang.String namespaceURI) |
void |
appendContent(Branch branch) |
void |
clearContent() |
java.util.List<Node> |
content() |
Element |
elementByID(java.lang.String elementID) |
boolean |
equals(java.lang.Object object) |
org.dom4j.Branch |
getWrappedBranch() |
int |
hashCode() |
int |
indexOf(Node node) |
Node |
node(int index) |
int |
nodeCount() |
java.util.Iterator<Node> |
nodeIterator() |
void |
normalize() |
ProcessingInstruction |
processingInstruction(java.lang.String target) |
java.util.List<ProcessingInstruction> |
processingInstructions() |
java.util.List<ProcessingInstruction> |
processingInstructions(java.lang.String target) |
boolean |
remove(Comment comment) |
boolean |
remove(Element element) |
boolean |
remove(Node node) |
boolean |
remove(ProcessingInstruction processingInstruction) |
boolean |
removeProcessingInstruction(java.lang.String target) |
void |
setContent(java.util.List<Node> content) |
void |
setProcessingInstructions(java.util.List<ProcessingInstruction> processingInstructions) |
java.lang.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, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, 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, writepublic void add(ProcessingInstruction processingInstruction)
public Element addElement(QName qName)
addElement in interface Branchpublic Element addElement(java.lang.String name)
addElement in interface Branchpublic Element addElement(java.lang.String qualifiedName, java.lang.String namespaceURI)
addElement in interface Branchpublic void appendContent(Branch branch)
appendContent in interface Branchpublic void clearContent()
clearContent in interface Branchpublic Element elementByID(java.lang.String elementID)
elementByID in interface Branchpublic org.dom4j.Branch getWrappedBranch()
public java.util.Iterator<Node> nodeIterator()
nodeIterator in interface Branchpublic ProcessingInstruction processingInstruction(java.lang.String target)
processingInstruction in interface Branchpublic java.util.List<ProcessingInstruction> processingInstructions()
processingInstructions in interface Branchpublic java.util.List<ProcessingInstruction> processingInstructions(java.lang.String target)
processingInstructions in interface Branchpublic boolean remove(ProcessingInstruction processingInstruction)
public boolean removeProcessingInstruction(java.lang.String target)
removeProcessingInstruction in interface Branchpublic void setContent(java.util.List<Node> content)
setContent in interface Branchpublic void setProcessingInstructions(java.util.List<ProcessingInstruction> processingInstructions)
setProcessingInstructions in interface Branch