|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class is used during deserialization to find appropriate (custom) deserializers. It walks over the map of deserializers (each deserializer is connected to a simplified XPath expression) and is able to get the most appropriate deserializer at any time.
| Nested Class Summary |
| Nested classes inherited from class org.idoox.wasp.serialization.SchemaContext |
SchemaContext.State |
| Method Summary | |
void |
enter(java.lang.String namespaceURI,
java.lang.String name,
java.lang.String typeNamespaceURI,
java.lang.String typeName)
Deprecated. Use the operations from SchemaContext instead |
java.lang.ClassLoader |
getClassLoader()
Returns a class loader for this context. |
DeserializationChain |
getDeserializationChain(java.lang.Class serializedClass)
Returns a deserialization chain for serializing serializedClass into the current XMLSchema
construct. |
java.util.Iterator |
getPostDeserializationHandlers()
Deprecated. The feature is no longer supported |
java.lang.String |
getSerializationID()
Returns an id of the group of serializers. |
void |
leave()
Deprecated. Use the operations from SchemaContext instead |
void |
registerPostDeserializationHandler(PostDeserializationHandler handler)
Deprecated. The feature is no longer supported |
void |
releaseDeserializationChain(DeserializationChain chain)
Releases serialization chain obtained from getSerializationChain call. |
void |
replaceTopSchemaConstruct(SchemaConstruct referencedConstruct)
Replaces a top schema construct. |
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets a class loader of this context to the given class loader. |
void |
unregisterPostDeserializationHandler(PostDeserializationHandler handler)
Deprecated. The feature is no longer supported |
| Methods inherited from interface org.idoox.wasp.serialization.ReferenceDeserializationContext |
addReference, getReferencedClass, getReferencedSchemaType, getRemoteReferences, resolveLocalReferences, setReferencedValue |
| Methods inherited from interface org.idoox.wasp.serialization.DeserializedObjectsStack |
getDeserializedObjects, getDeserializedObjectsCount, popDeserializedObject, pushDeserializedObject |
| Methods inherited from interface org.idoox.wasp.serialization.SchemaContext |
enterCurrentMember, getCurrentConstructName, getCurrentConstructSchemaType, getCurrentConstructType, getCurrentMember, getCurrentSchemaConstruct, getOriginalType, getSchema, isCurrentConstructArray, leave, nextMember, nextSchemaConstruct, nextSchemaConstruct, putMember, putSchemaConstruct, replaceTopMember, replaceTopMemberType, typeOfCurrentConstructReplaced |
| Methods inherited from interface org.idoox.wasp.serialization.TypeMappingContext |
enter, getAttachmentClassName, getAttachmentMimeType, getSchema, getSchemaType, getSchemaType, getSchemaType, getType, getType, setSchema |
| Method Detail |
public void enter(java.lang.String namespaceURI,
java.lang.String name,
java.lang.String typeNamespaceURI,
java.lang.String typeName)
SchemaContext instead
namespaceURI - the namespace of the structure/arrayname - the name of the structure/arraytypeName - the type of the structure/arraytypeNamespaceURI - the uri of the type of the structure/arraypublic void leave()
SchemaContext instead
leave in interface TypeMappingContextpublic DeserializationChain getDeserializationChain(java.lang.Class serializedClass)
serializedClass into the current XMLSchema
construct.
serializedClass - the class being serialized
public void releaseDeserializationChain(DeserializationChain chain)
chain - the chain to be releasedpublic java.lang.ClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - the given classLoader to set.public java.lang.String getSerializationID()
TypeMappingContext
getSerializationID in interface TypeMappingContextpublic void registerPostDeserializationHandler(PostDeserializationHandler handler)
handler - the handler to be registered.public void unregisterPostDeserializationHandler(PostDeserializationHandler handler)
public java.util.Iterator getPostDeserializationHandlers()
public void replaceTopSchemaConstruct(SchemaConstruct referencedConstruct)
referencedConstruct - the construct which should replace the construct
on the top of schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||