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, hasHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHandler, getHandlers, hasHandler, notifyAttribute, notifyCharacters, notifyEndDocument, notifyEndElement, notifyReference, notifyStartDocument, notifyStartElement
public PersistenceNotifier()
PersistenceNotifier
.public void processStartDocument()
InputHandler
processStartDocument
in interface InputHandler
InputNotifier.notifyStartDocument()
public void processStartElement(Classifier classifier)
InputHandler
processStartElement
in interface InputHandler
classifier
- the classifier of the new elementInputNotifier.notifyStartElement(Classifier)
public void processAttribute(Attribute attribute)
InputHandler
An attribute is a simple key/value.
processAttribute
in interface InputHandler
attribute
- the new attributeInputNotifier.notifyAttribute(Attribute)
public void processReference(Reference reference)
InputHandler
A reference is an attribute which is link to another element.
processReference
in interface InputHandler
reference
- the new referenceInputNotifier.notifyReference(Reference)
public void processEndElement()
InputHandler
processEndElement
in interface InputHandler
InputNotifier.notifyEndElement()
public void processEndDocument()
InputHandler
processEndDocument
in interface InputHandler
InputNotifier.notifyEndDocument()
public void processCharacters(String characters)
InputHandler
processCharacters
in interface InputHandler
characters
- the new charactersInputNotifier.notifyCharacters(String)
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.