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

Part Number E41849-02

weblogic.xml.schema.binding
Interface SerializationContext


public interface SerializationContext

The state information passed to each invocation of serialize.


Method Summary
 EncodingStyle getEncodingStyle()
           
 TypeMapping getMapping()
           
 Map getNamespacePrefixMap()
          Set map that is used by getPrefixForUri().
 String getNextRandomPrefix()
          get a "random" prefix for mid-stream use.
 ObjectRefTable getObjectRefTable()
           
 SerializationPhase getPhase()
           
 String getPrefixForUri(String uri)
          give me a prefix for certain predefined namespaces, otherwise return null
 SOAPElement getSOAPElement()
           
 SOAPMessage getSOAPMessage()
           
 boolean isInAttribute()
          Are we inside an attibute? If no, we're in an element
 boolean isIncludeXsiType()
          output xsi:type information with each type?
 boolean isInTopLevelElement()
           
 boolean isMultiRefEmpty()
           
 boolean isQualifyElements()
          output xml elements with namespace prefix?
 boolean isStrictValidation()
          strict mode -- for now this means checking facets
 void setEncodingStyle(EncodingStyle v)
           
 void setInAttribute(boolean v)
          Are we inside an attibute? If no, we're in an element
 void setIncludeXsiType(boolean v)
           
 void setInTopLevelElement(boolean v)
           
 void setMapping(TypeMapping v)
           
 void setNamespacePrefixMap(Map v)
           
 void setPhase(SerializationPhase v)
           
 void setQualifyElements(boolean v)
           
 void setSOAPElement(SOAPElement element)
           
 void setSOAPMessage(SOAPMessage message)
           
 void setStrictValidation(boolean v)
           
 

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)

getObjectRefTable

ObjectRefTable getObjectRefTable()

isMultiRefEmpty

boolean isMultiRefEmpty()

getPhase

SerializationPhase getPhase()

setPhase

void setPhase(SerializationPhase v)

isInTopLevelElement

boolean isInTopLevelElement()

setInTopLevelElement

void setInTopLevelElement(boolean v)

isInAttribute

boolean isInAttribute()
Are we inside an attibute? If no, we're in an element


setInAttribute

void setInAttribute(boolean v)
Are we inside an attibute? If no, we're in an element


getNamespacePrefixMap

Map getNamespacePrefixMap()
Set map that is used by getPrefixForUri(). key is the namespaceUri of type String value is the prefix for that uri of type String


setNamespacePrefixMap

void setNamespacePrefixMap(Map v)

getPrefixForUri

String getPrefixForUri(String uri)
give me a prefix for certain predefined namespaces, otherwise return null


getNextRandomPrefix

String getNextRandomPrefix()
get a "random" prefix for mid-stream use.


getMapping

TypeMapping getMapping()

setMapping

void setMapping(TypeMapping v)

isQualifyElements

boolean isQualifyElements()
output xml elements with namespace prefix?


setQualifyElements

void setQualifyElements(boolean v)

isIncludeXsiType

boolean isIncludeXsiType()
output xsi:type information with each type?


setIncludeXsiType

void setIncludeXsiType(boolean v)

getSOAPElement

SOAPElement getSOAPElement()

setSOAPElement

void setSOAPElement(SOAPElement element)

getSOAPMessage

SOAPMessage getSOAPMessage()

setSOAPMessage

void setSOAPMessage(SOAPMessage message)

Copyright 1996, 2014, 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.1.3)

Part Number E41849-02