public class XPathProcessor extends AbstractProcessor
Processor
that analyses XML elements in order to create and to process XPath references.Constructor and Description |
---|
XPathProcessor(Processor processor)
Constructs a new
XPathProcessor on the given processor . |
Modifier and Type | Method and Description |
---|---|
void |
processEndDocument()
Process the end of a document.
|
void |
processEndElement()
Process the end of the current element.
|
void |
processReference(Reference reference)
Process a reference from the current element to another element.
|
void |
processStartElement(Classifier classifier)
Process the start of an element.
|
addHandler, getHandlers, hasHandler, notifyAttribute, notifyCharacters, notifyEndDocument, notifyEndElement, notifyReference, notifyStartDocument, notifyStartElement, processAttribute, processCharacters, processStartDocument
public XPathProcessor(Processor processor)
XPathProcessor
on the given processor
.processor
- the underlying processorpublic void processStartElement(Classifier classifier)
InputHandler
processStartElement
in interface InputHandler
processStartElement
in class AbstractProcessor
classifier
- the classifier of the new elementInputNotifier.notifyStartElement(Classifier)
public void processReference(Reference reference)
InputHandler
A reference is an attribute which is link to another element.
processReference
in interface InputHandler
processReference
in class AbstractProcessor
reference
- the new referenceInputNotifier.notifyReference(Reference)
public void processEndElement()
InputHandler
processEndElement
in interface InputHandler
processEndElement
in class AbstractProcessor
InputNotifier.notifyEndElement()
public void processEndDocument()
InputHandler
processEndDocument
in interface InputHandler
processEndDocument
in class AbstractProcessor
InputNotifier.notifyEndDocument()
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.