Package snap.props
Class PropArchiverXML
java.lang.Object
snap.props.PropArchiver
snap.props.PropArchiverXML
A PropArchiver subclass specifically to convert to/from XML.
-
Nested Class Summary
Nested classes/interfaces inherited from class snap.props.PropArchiver
PropArchiver.Resource
-
Field Summary
Fields inherited from class snap.props.PropArchiver
_helper, CLASS_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadPropObjectFromXML
(XMLElement anElement) Reads a PropObject from XML.readPropObjectFromXMLBytes
(byte[] theBytes) Reads a PropObject from XML.readPropObjectFromXMLSource
(Object aSource) Reads a PropObject from XML source.protected void
readResources
(XMLElement anElement) Reads resources fromelements in given xml (top-level) element, converts from ASCII encoding and adds to archiver. writePropObjectToXML
(PropObject aPropObject) Converts a PropObject to XML.byte[]
writePropObjectToXMLBytes
(PropObject aPropObject) Converts a PropObject to XML.Methods inherited from class snap.props.PropArchiver
addClassMapClass, addResource, convertNativeToNode, convertNativeToNodeForPropRelation, convertNativeToNodeForProps, convertNodeToNative, copyPropObject, createClassMap, createPropObjectForClass, createPropObjectForPropNode, getClassForName, getClassMap, getPropObjectClassForPropNode, getResource, getResourceForName, getResources, getRootObject, setRootObject
-
Constructor Details
-
PropArchiverXML
public PropArchiverXML()Constructor.
-
-
Method Details
-
writePropObjectToXML
Converts a PropObject to XML. -
writePropObjectToXMLBytes
Converts a PropObject to XML. -
readPropObjectFromXMLSource
Reads a PropObject from XML source. -
readPropObjectFromXMLBytes
Reads a PropObject from XML. -
readPropObjectFromXML
Reads a PropObject from XML. -
readResources
Reads resources fromelements in given xml (top-level) element, converts from ASCII encoding and adds to archiver.
-