com.liferay.portal.kernel.xml
Class BaseVisitor<T>
java.lang.Object
com.liferay.portal.kernel.xml.BaseVisitor<T>
- All Implemented Interfaces:
- Visitor<T>
public abstract class BaseVisitor<T>
- extends Object
- implements Visitor<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseVisitor
public BaseVisitor()
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)