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, processStartDocumentpublic XPathProcessor(Processor processor)
XPathProcessor on the given processor.processor - the underlying processorpublic void processStartElement(Classifier classifier)
InputHandlerprocessStartElement in interface InputHandlerprocessStartElement in class AbstractProcessorclassifier - the classifier of the new elementInputNotifier.notifyStartElement(Classifier)public void processReference(Reference reference)
InputHandlerA reference is an attribute which is link to another element.
processReference in interface InputHandlerprocessReference in class AbstractProcessorreference - the new referenceInputNotifier.notifyReference(Reference)public void processEndElement()
InputHandlerprocessEndElement in interface InputHandlerprocessEndElement in class AbstractProcessorInputNotifier.notifyEndElement()public void processEndDocument()
InputHandlerprocessEndDocument in interface InputHandlerprocessEndDocument in class AbstractProcessorInputNotifier.notifyEndDocument()Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.