public final class PersistenceNotifier extends AbstractInputNotifier<PersistenceHandler> implements Processor
Processor that notifies registered PersistenceHandler of events.| Constructor and Description |
|---|
PersistenceNotifier()
Constructs a new
PersistenceNotifier. |
| Modifier and Type | Method and Description |
|---|---|
void |
processAttribute(Attribute attribute)
Process an attribute in the current element.
|
void |
processCharacters(String characters)
Process a set of characters.
|
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 |
processStartDocument()
Process the start of a document.
|
void |
processStartElement(Classifier classifier)
Process the start of an element.
|
addHandler, getHandlers, hasHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHandler, getHandlers, hasHandler, notifyAttribute, notifyCharacters, notifyEndDocument, notifyEndElement, notifyReference, notifyStartDocument, notifyStartElementpublic PersistenceNotifier()
PersistenceNotifier.public void processStartDocument()
InputHandlerprocessStartDocument in interface InputHandlerInputNotifier.notifyStartDocument()public void processStartElement(Classifier classifier)
InputHandlerprocessStartElement in interface InputHandlerclassifier - the classifier of the new elementInputNotifier.notifyStartElement(Classifier)public void processAttribute(Attribute attribute)
InputHandlerAn attribute is a simple key/value.
processAttribute in interface InputHandlerattribute - the new attributeInputNotifier.notifyAttribute(Attribute)public void processReference(Reference reference)
InputHandlerA reference is an attribute which is link to another element.
processReference in interface InputHandlerreference - the new referenceInputNotifier.notifyReference(Reference)public void processEndElement()
InputHandlerprocessEndElement in interface InputHandlerInputNotifier.notifyEndElement()public void processEndDocument()
InputHandlerprocessEndDocument in interface InputHandlerInputNotifier.notifyEndDocument()public void processCharacters(String characters)
InputHandlerprocessCharacters in interface InputHandlercharacters - the new charactersInputNotifier.notifyCharacters(String)Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.