Liferay 6.2-ce-ga5

com.liferay.portal.kernel.xml
Interface Branch

All Superinterfaces:
Node, Serializable
All Known Subinterfaces:
Document, Element
All Known Implementing Classes:
BranchImpl, DocumentImpl, ElementImpl

public interface Branch
extends Node


Method Summary
 void add(Comment comment)
           
 void add(Element element)
           
 void add(Node node)
           
 void add(ProcessingInstruction processingInstruction)
           
 Element addElement(QName qName)
           
 Element addElement(String name)
           
 Element addElement(String qualifiedName, String namespaceURI)
           
 void appendContent(Branch branch)
           
 void clearContent()
           
 List<Node> content()
           
 Element elementByID(String elementID)
           
 int indexOf(Node node)
           
 Node node(int index)
           
 int nodeCount()
           
 Iterator<Node> nodeIterator()
           
 void normalize()
           
 ProcessingInstruction processingInstruction(String target)
           
 List<ProcessingInstruction> processingInstructions()
           
 List<ProcessingInstruction> processingInstructions(String target)
           
 boolean remove(Comment comment)
           
 boolean remove(Element element)
           
 boolean remove(Node node)
           
 boolean remove(ProcessingInstruction processingInstruction)
           
 boolean removeProcessingInstruction(String target)
           
 void setContent(List<Node> content)
           
 void setProcessingInstructions(List<ProcessingInstruction> processingInstructions)
           
 
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
 

Method Detail

add

void add(Comment comment)

add

void add(Element element)

add

void add(Node node)

add

void add(ProcessingInstruction processingInstruction)

addElement

Element addElement(QName qName)

addElement

Element addElement(String name)

addElement

Element addElement(String qualifiedName,
                   String namespaceURI)

appendContent

void appendContent(Branch branch)

clearContent

void clearContent()

content

List<Node> content()

elementByID

Element elementByID(String elementID)

indexOf

int indexOf(Node node)

node

Node node(int index)

nodeCount

int nodeCount()

nodeIterator

Iterator<Node> nodeIterator()

normalize

void normalize()

processingInstruction

ProcessingInstruction processingInstruction(String target)

processingInstructions

List<ProcessingInstruction> processingInstructions()

processingInstructions

List<ProcessingInstruction> processingInstructions(String target)

remove

boolean remove(Comment comment)

remove

boolean remove(Element element)

remove

boolean remove(Node node)

remove

boolean remove(ProcessingInstruction processingInstruction)

removeProcessingInstruction

boolean removeProcessingInstruction(String target)

setContent

void setContent(List<Node> content)

setProcessingInstructions

void setProcessingInstructions(List<ProcessingInstruction> processingInstructions)

Liferay 6.2-ce-ga5