public class CustomTypeRegistry extends Object
| Constructor and Description |
|---|
CustomTypeRegistry(ScriptEngine engine,
Wrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
CustomType |
customClassValue(Object jsNode) |
Bindings |
getBindings() |
String |
marshalCustomType(CustomType obj) |
CustomType |
unmarshalCustomType(String jsonData,
Class<? extends CustomType> clz) |
public CustomTypeRegistry(ScriptEngine engine, Wrapper wrapper)
public CustomType customClassValue(Object jsNode)
public CustomType unmarshalCustomType(String jsonData, Class<? extends CustomType> clz) throws JAXBException, PropertyException
JAXBExceptionPropertyExceptionpublic String marshalCustomType(CustomType obj) throws JAXBException, PropertyException
JAXBExceptionPropertyExceptionpublic Bindings getBindings()
Copyright © 2016 RAML. All rights reserved.