|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.stream.util.EventReaderDelegate
org.dellroad.stuff.xml.AnnotatedXMLEventReader
org.dellroad.stuff.pobj.UpdatesXMLEventReader
public class UpdatesXMLEventReader
AnnotatedXMLEventReader that reads the nested schema update list. Used by PersistentObjectSchemaUpdater.
| Constructor Summary | |
|---|---|
UpdatesXMLEventReader(XMLEventReader inner)
|
|
| Method Summary | |
|---|---|
List<String> |
getUpdates()
Get the updates gleaned from the scan. |
protected boolean |
isAnnotationElement(StartElement event)
Determine if the given event represents the start of the annotation element. |
protected void |
readAnnotationElement(StartElement startElement)
Read the annotation element. |
| Methods inherited from class org.dellroad.stuff.xml.AnnotatedXMLEventReader |
|---|
advance, next, nextEvent, peek, setParent, skipWhiteSpace |
| Methods inherited from class javax.xml.stream.util.EventReaderDelegate |
|---|
close, getElementText, getParent, getProperty, hasNext, nextTag, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdatesXMLEventReader(XMLEventReader inner)
| Method Detail |
|---|
public List<String> getUpdates()
protected boolean isAnnotationElement(StartElement event)
AnnotatedXMLEventReader
isAnnotationElement in class AnnotatedXMLEventReader
protected void readAnnotationElement(StartElement startElement)
throws XMLStreamException
AnnotatedXMLEventReader
When this method is invoked, event represents the StartElement event for the annotation element
(i.e., isAnnotationElement(event) has returned true); it is also the next event in the
pipeline, i.e., the next event returned by AnnotatedXMLEventReader.nextEvent().
The last event consumed by this method should be the EndElement event for the
annotation element, and the event returned by AnnotatedXMLEventReader.peek() should be the next event after the
EndElement.
readAnnotationElement in class AnnotatedXMLEventReaderstartElement - the StartElement event for the annotation element
XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||