org.apache.tuscany.sdo.util
Class StreamDeserializer

java.lang.Object
  extended by org.apache.tuscany.sdo.util.StreamDeserializer
All Implemented Interfaces:
javax.xml.stream.XMLStreamConstants
Direct Known Subclasses:
SDODeserializer

public class StreamDeserializer
extends Object
implements javax.xml.stream.XMLStreamConstants

StAX Deserializer. The instance isn't thread-safe, however it's safe to use the instance any times on the same thread.


Nested Class Summary
static class StreamDeserializer.Attribute
           
static class StreamDeserializer.QualifiedAttribute
           
 
Field Summary
protected static Comparator EQUAL
           
protected static Comparator EQUAL_NULL
           
protected  String name
           
protected  String nameSpace
           
protected  javax.xml.stream.XMLStreamReader reader
           
protected static Comparator SAME
           
 
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
 
Constructor Summary
StreamDeserializer()
           
 
Method Summary
protected  javax.xml.stream.XMLStreamReader play(RecordedEventXMLStreamReader.Tag tag)
           
protected  boolean typedXSI()
           
protected static Object value(Object type, String literal, javax.xml.namespace.NamespaceContext nameSpaces)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reader

protected javax.xml.stream.XMLStreamReader reader

nameSpace

protected String nameSpace

name

protected String name

EQUAL_NULL

protected static final Comparator EQUAL_NULL

EQUAL

protected static final Comparator EQUAL

SAME

protected static final Comparator SAME
Constructor Detail

StreamDeserializer

public StreamDeserializer()
Method Detail

play

protected final javax.xml.stream.XMLStreamReader play(RecordedEventXMLStreamReader.Tag tag)

typedXSI

protected final boolean typedXSI()

value

protected static Object value(Object type,
                              String literal,
                              javax.xml.namespace.NamespaceContext nameSpaces)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.