Liferay 6.2.0

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