Liferay 6.2-ce-ga5

com.liferay.portal.kernel.xml
Class BaseVisitor<T>

java.lang.Object
  extended by com.liferay.portal.kernel.xml.BaseVisitor<T>
All Implemented Interfaces:
Visitor<T>

public abstract class BaseVisitor<T>
extends Object
implements Visitor<T>


Constructor Summary
BaseVisitor()
           
 
Method Summary
protected abstract  T handleAttribute(Attribute attribute)
           
protected abstract  T handleCDATA(CDATA cdata)
           
protected abstract  T handleComment(Comment comment)
           
protected abstract  T handleDocument(Document document, List<T> nodeResults)
           
protected abstract  T handleElement(Element element, List<T> attributeResults, List<T> nodeResults)
           
protected abstract  T handleEntity(Entity entity)
           
protected abstract  T handleNamespace(Namespace namespace)
           
protected abstract  T handleNode(Node node)
           
protected abstract  T handleProcessInstruction(ProcessingInstruction processingInstruction)
           
protected abstract  T handleText(Text text)
           
 T visitAttribute(Attribute attribute)
           
 T visitCDATA(CDATA cdata)
           
 T visitComment(Comment comment)
           
 T visitDocument(Document document)
           
 T visitElement(Element element)
           
 T visitEntity(Entity entity)
           
 T visitNamespace(Namespace namespace)
           
 T visitNode(Node node)
           
 T visitProcessInstruction(ProcessingInstruction processingInstruction)
           
 T visitText(Text text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseVisitor

public BaseVisitor()
Method Detail

visitAttribute

public T visitAttribute(Attribute attribute)
Specified by:
visitAttribute in interface Visitor<T>

visitCDATA

public T visitCDATA(CDATA cdata)
Specified by:
visitCDATA in interface Visitor<T>

visitComment

public T visitComment(Comment comment)
Specified by:
visitComment in interface Visitor<T>

visitDocument

public T visitDocument(Document document)
Specified by:
visitDocument in interface Visitor<T>

visitElement

public T visitElement(Element element)
Specified by:
visitElement in interface Visitor<T>

visitEntity

public T visitEntity(Entity entity)
Specified by:
visitEntity in interface Visitor<T>

visitNamespace

public T visitNamespace(Namespace namespace)
Specified by:
visitNamespace in interface Visitor<T>

visitNode

public T visitNode(Node node)
Specified by:
visitNode in interface Visitor<T>

visitProcessInstruction

public T visitProcessInstruction(ProcessingInstruction processingInstruction)
Specified by:
visitProcessInstruction in interface Visitor<T>

visitText

public T visitText(Text text)
Specified by:
visitText in interface Visitor<T>

handleAttribute

protected abstract T handleAttribute(Attribute attribute)

handleCDATA

protected abstract T handleCDATA(CDATA cdata)

handleComment

protected abstract T handleComment(Comment comment)

handleDocument

protected abstract T handleDocument(Document document,
                                    List<T> nodeResults)

handleElement

protected abstract T handleElement(Element element,
                                   List<T> attributeResults,
                                   List<T> nodeResults)

handleEntity

protected abstract T handleEntity(Entity entity)

handleNamespace

protected abstract T handleNamespace(Namespace namespace)

handleNode

protected abstract T handleNode(Node node)

handleProcessInstruction

protected abstract T handleProcessInstruction(ProcessingInstruction processingInstruction)

handleText

protected abstract T handleText(Text text)

Liferay 6.2-ce-ga5