java.lang.Object
de.grogra.persistence.XMLPersistenceReader
de.grogra.graph.object.sg.impl.io.XMLRootlessGraphReader
- All Implemented Interfaces:
PersistenceInput
,ContentHandler
-
Field Summary
Fields inherited from interface de.grogra.persistence.PersistenceInput
ARRAY_OBJECT, MANAGEABLE_OBJECT, MIN_UNUSED_KIND, NULL_OBJECT, PERSISTENT_OBJECT_ID, PLAIN_OBJECT, SERIALIZED_OBJECT, SHARED_OBJECT_REFERENCE, STRING_OBJECT
-
Constructor Summary
ConstructorDescriptionXMLRootlessGraphReader
(PersistenceBindings bindings, GraphManager manager, Node oldRoot) -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) void
void
endElement
(String uri, String localName, String qName) void
endPrefixMapping
(String prefix) protected ManageableType.Field
getManagedField
(ManageableType t, String name) getRoots()
void
ignorableWhitespace
(char[] ch, int start, int length) void
processingInstruction
(String target, String data) void
setDocumentLocator
(Locator locator) void
skippedEntity
(String name) void
void
startElement
(String uri, String localName, String qName, Attributes atts) void
startPrefixMapping
(String prefix, String uri) Methods inherited from class de.grogra.persistence.XMLPersistenceReader
areFieldsProvided, beginArray, beginComponent, beginField, beginManaged, endArray, endComponent, endField, endManaged, getBindings, getNextObjectKind, getObject, peekName, readAttribute, readBoolean, readByte, readChar, readDouble, readElements, readFloat, readInt, readLong, readName, readObject, readPersistentObject, readPersistentObjectId, readSharedObject, readShort, readString, readUnsignedByte, readUnsignedShort, registerObject, replaceType, resolve, resolveId, setNested, valueOf, valueOf
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
XMLRootlessGraphReader
-
-
Method Details
-
getRoots
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Throws:
SAXException
-
endDocument
- Specified by:
endDocument
in interfaceContentHandler
- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceContentHandler
- Throws:
SAXException
-
ignorableWhitespace
public void ignorableWhitespace(char[] ch, int start, int length) - Specified by:
ignorableWhitespace
in interfaceContentHandler
-
startPrefixMapping
- Specified by:
startPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
endPrefixMapping
- Specified by:
endPrefixMapping
in interfaceContentHandler
- Throws:
SAXException
-
skippedEntity
- Specified by:
skippedEntity
in interfaceContentHandler
- Throws:
SAXException
-
setDocumentLocator
- Specified by:
setDocumentLocator
in interfaceContentHandler
-
processingInstruction
- Specified by:
processingInstruction
in interfaceContentHandler
- Throws:
SAXException
-
getManagedField
- Overrides:
getManagedField
in classXMLPersistenceReader
-