public class OmElementizer extends java.lang.Object implements Elementizer
Modifier and Type | Field and Description |
---|---|
(package private) SerializationContext |
ctxt |
Constructor and Description |
---|
OmElementizer() |
OmElementizer(SerializationContext sc) |
Modifier and Type | Method and Description |
---|---|
Element |
elementize(java.lang.Object obj) |
SerializationContext |
getContext() |
Element |
getElement(java.lang.Object obj) |
Element |
getFlatElement(java.lang.Object obj) |
private Element |
makeArrayElement(java.lang.Object arr) |
private Element |
makeDoubleArrayElement(double[] da) |
Element |
makeElement(java.lang.Object objin) |
private Element |
makeIntArrayElement(int[] ia) |
private Element |
makeListElement(java.util.List list) |
private Element |
makeObjectElement(java.lang.Object obj) |
private Element |
makeStringElement(java.lang.String s) |
SerializationContext ctxt
public OmElementizer()
public OmElementizer(SerializationContext sc)
public SerializationContext getContext()
public Element getElement(java.lang.Object obj)
public Element getFlatElement(java.lang.Object obj)
public Element makeElement(java.lang.Object objin)
private Element makeStringElement(java.lang.String s)
private Element makeIntArrayElement(int[] ia)
private Element makeDoubleArrayElement(double[] da)
private Element makeListElement(java.util.List list)
private Element makeArrayElement(java.lang.Object arr)
private Element makeObjectElement(java.lang.Object obj)
public Element elementize(java.lang.Object obj)
elementize
in interface Elementizer
Copyright © 2013. All Rights Reserved.