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 SerializationContext


public interface SerializationContext

The state information passed to each invocation of serialize.


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

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