Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.xml.schema.binding
Interface DeserializationContext


public interface DeserializationContext

The state information passed to each invocation of deserialize.


Method Summary
abstract  void clearReferenceMap()
           
abstract  Map getCurrentPrefixToNamespaceMap()
           
abstract  EncodingStyle getEncodingStyle()
           
abstract  TypeMapping getMapping()
           
abstract  Object getObjectFromReference(String ref)
          returns null if no object found for given ref
abstract  SOAPElement getSOAPElement()
           
abstract  SOAPMessage getSOAPMessage()
           
abstract  boolean isStrictValidation()
          strict mode -- for now this means checking facets
abstract  boolean isValidateLocalNameOnly()
          when validating names, do we compare the full xml name passed into deserialze() or do we just compare the local names?
abstract  boolean isValidateNames()
          if set to true, check that the xml name found matches that passed in to the deserialize method.
abstract  Object resolveNullObject(Object obj)
          objects returned from getObjectFromReference should be passed into this method.
abstract  void setCurrentPrefixToNamespaceMap(Map v)
           
abstract  void setEncodingStyle(EncodingStyle v)
           
abstract  void setMapping(TypeMapping v)
           
abstract  void setSOAPElement(SOAPElement element)
           
abstract  void setSOAPMessage(SOAPMessage message)
           
abstract  void setStrictValidation(boolean v)
           
abstract  void setValidateLocalNameOnly(boolean v)
           
abstract  void setValidateNames(boolean v)
           
abstract  void storeObjectWithReference(String ref, Object obj)
          overwrites any previous entry to given ref

 

Method Detail

isStrictValidation

boolean isStrictValidation()
strict mode -- for now this means checking facets

setStrictValidation

void setStrictValidation(boolean v)

getEncodingStyle

EncodingStyle getEncodingStyle()

setEncodingStyle

void setEncodingStyle(EncodingStyle v)

getObjectFromReference

Object getObjectFromReference(String ref)
returns null if no object found for given ref
See Also:
DeserializationContext.resolveNullObject(Object)

resolveNullObject

Object resolveNullObject(Object obj)
objects returned from getObjectFromReference should be passed into this method. If the object passed in was in fact null in the map, then null will be returned, else the non-null object passed in will be returned. all this is to avoid a double hash lookup by doing containsKey() then get().

storeObjectWithReference

void storeObjectWithReference(String ref,
                              Object obj)
overwrites any previous entry to given ref

clearReferenceMap

void clearReferenceMap()

getMapping

TypeMapping getMapping()

setMapping

void setMapping(TypeMapping v)

isValidateNames

boolean isValidateNames()
if set to true, check that the xml name found matches that passed in to the deserialize method.

setValidateNames

void setValidateNames(boolean v)

isValidateLocalNameOnly

boolean isValidateLocalNameOnly()
when validating names, do we compare the full xml name passed into deserialze() or do we just compare the local names?

setValidateLocalNameOnly

void setValidateLocalNameOnly(boolean v)

getSOAPElement

SOAPElement getSOAPElement()

setSOAPElement

void setSOAPElement(SOAPElement element)

getSOAPMessage

SOAPMessage getSOAPMessage()

setSOAPMessage

void setSOAPMessage(SOAPMessage message)

getCurrentPrefixToNamespaceMap

Map getCurrentPrefixToNamespaceMap()

setCurrentPrefixToNamespaceMap

void setCurrentPrefixToNamespaceMap(Map v)

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09