public class SOAPSerializationContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set |
activeObjects |
protected String |
curEncodingStyle |
protected Stack |
encodingStyleContext |
protected LinkedList |
list |
protected HashMap |
map |
protected SOAPMessage |
message |
protected long |
next |
protected String |
prefix |
protected Map |
properties |
| Constructor and Description |
|---|
SOAPSerializationContext() |
SOAPSerializationContext(String prefix) |
SOAPSerializationContext(String prefix,
SOAPVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginFragment() |
void |
beginSerializing(Object obj) |
void |
doneSerializing(Object obj) |
void |
endFragment() |
String |
getEncodingStyle() |
SOAPMessage |
getMessage() |
Object |
getProperty(String key) |
SOAPVersion |
getSOAPVersion() |
boolean |
isRegistered(Object obj) |
SOAPSerializationState |
lookupObject(Object obj) |
String |
nextID() |
void |
popEncodingStyle() |
boolean |
pushEncodingStyle(String newEncodingStyle,
XMLWriter writer) |
SOAPSerializationState |
registerObject(Object obj,
ReferenceableSerializer serializer) |
void |
removeProperty(String key) |
void |
serializeMultiRefObjects(XMLWriter writer) |
boolean |
setImplicitEncodingStyle(String newEncodingStyle) |
void |
setMessage(SOAPMessage m) |
void |
setProperty(String key,
Object value) |
protected HashMap map
protected Map properties
protected LinkedList list
protected String prefix
protected long next
protected Stack encodingStyleContext
protected String curEncodingStyle
protected Set activeObjects
protected SOAPMessage message
public SOAPSerializationContext()
public SOAPSerializationContext(String prefix)
public SOAPSerializationContext(String prefix, SOAPVersion ver)
public SOAPSerializationState registerObject(Object obj, ReferenceableSerializer serializer)
public boolean isRegistered(Object obj)
public SOAPSerializationState lookupObject(Object obj)
public void serializeMultiRefObjects(XMLWriter writer)
public String nextID()
public boolean setImplicitEncodingStyle(String newEncodingStyle)
public boolean pushEncodingStyle(String newEncodingStyle, XMLWriter writer) throws Exception
Exceptionpublic void popEncodingStyle()
public String getEncodingStyle()
public void removeProperty(String key)
public void beginFragment()
public void beginSerializing(Object obj) throws SerializationException
SerializationExceptionpublic void doneSerializing(Object obj) throws SerializationException
SerializationExceptionpublic void endFragment()
public void setMessage(SOAPMessage m)
public SOAPMessage getMessage()
public SOAPVersion getSOAPVersion()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.