public class SerializationContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
ALL |
(package private) java.lang.String |
currentPackage |
(package private) OmElementFactory |
eltfac |
(package private) static int |
PRIMITIVES_ONLY |
(package private) int |
recurse |
(package private) java.util.HashMap<java.lang.String,java.lang.Object> |
referentHM |
Constructor and Description |
---|
SerializationContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsReferents() |
void |
addReferent(java.lang.String hcode,
java.lang.Object val) |
ElementFactory |
getElementFactory() |
java.util.HashMap<java.lang.String,java.lang.Object> |
getHashMap() |
boolean |
recurseAll() |
void |
setPrimitivesOnly() |
boolean |
shouldWritePackage(java.lang.String s) |
java.util.HashMap<java.lang.String,java.lang.Object> referentHM
java.lang.String currentPackage
static final int PRIMITIVES_ONLY
static final int ALL
int recurse
OmElementFactory eltfac
public void setPrimitivesOnly()
public ElementFactory getElementFactory()
public boolean acceptsReferents()
public void addReferent(java.lang.String hcode, java.lang.Object val)
public boolean recurseAll()
public java.util.HashMap<java.lang.String,java.lang.Object> getHashMap()
public boolean shouldWritePackage(java.lang.String s)
Copyright © 2013. All Rights Reserved.