org.apache.tuscany.sdo.util.resource
Class SDODeserializer
java.lang.Object
org.apache.tuscany.sdo.util.StreamDeserializer
org.apache.tuscany.sdo.util.resource.SDODeserializer
- All Implemented Interfaces:
- javax.xml.stream.XMLStreamConstants
- Direct Known Subclasses:
- ChangeSummaryStreamDeserializer
public class SDODeserializer
- extends StreamDeserializer
SDO StAX Deserializer. The instance isn't thread-safe, however it's safe to use the instance any times on the same thread.
Fields inherited from interface javax.xml.stream.XMLStreamConstants |
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
Method Summary |
protected Property |
getProperty(String nameSpace,
String name,
Type type)
|
protected Property |
getProperty(Type type,
String name)
|
protected Property |
getProperty(Type type,
String nameSpace,
String name,
boolean element)
|
protected Type |
globalElementType(String nameSpace,
String name)
|
protected void |
initialize(javax.xml.stream.XMLStreamReader stream,
HelperContext scope,
Object rootObject)
|
protected Object |
load(javax.xml.stream.XMLStreamReader reader,
Map options)
|
protected org.eclipse.emf.ecore.EObject |
referent(SDODeserializer.Ref path)
|
protected org.eclipse.emf.ecore.EObject |
referent(String ref,
javax.xml.namespace.NamespaceContext nameSpaces)
|
protected Type |
typeXSI()
|
protected Object |
value(Type type)
|
protected Object |
value(javax.xml.stream.XMLStreamReader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyInSequence
protected Property propertyInSequence
SDODeserializer
public SDODeserializer()
initialize
protected final void initialize(javax.xml.stream.XMLStreamReader stream,
HelperContext scope,
Object rootObject)
getProperty
protected final Property getProperty(Type type,
String nameSpace,
String name,
boolean element)
getProperty
protected final Property getProperty(Type type,
String name)
getProperty
protected final Property getProperty(String nameSpace,
String name,
Type type)
load
protected Object load(javax.xml.stream.XMLStreamReader reader,
Map options)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
value
protected final Object value(Type type)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
value
protected final Object value(javax.xml.stream.XMLStreamReader reader)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
referent
protected final org.eclipse.emf.ecore.EObject referent(String ref,
javax.xml.namespace.NamespaceContext nameSpaces)
referent
protected final org.eclipse.emf.ecore.EObject referent(SDODeserializer.Ref path)
typeXSI
protected final Type typeXSI()
globalElementType
protected final Type globalElementType(String nameSpace,
String name)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.