Constructor and Description |
---|
BaseVisitor() |
Modifier and Type | Method and Description |
---|---|
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) |
public T visitAttribute(Attribute attribute)
visitAttribute
in interface Visitor<T>
public T visitCDATA(CDATA cdata)
visitCDATA
in interface Visitor<T>
public T visitComment(Comment comment)
visitComment
in interface Visitor<T>
public T visitDocument(Document document)
visitDocument
in interface Visitor<T>
public T visitElement(Element element)
visitElement
in interface Visitor<T>
public T visitEntity(Entity entity)
visitEntity
in interface Visitor<T>
public T visitNamespace(Namespace namespace)
visitNamespace
in interface Visitor<T>
public T visitProcessInstruction(ProcessingInstruction processingInstruction)
visitProcessInstruction
in interface Visitor<T>
protected abstract T handleElement(Element element, List<T> attributeResults, List<T> nodeResults)
protected abstract T handleProcessInstruction(ProcessingInstruction processingInstruction)