org.drools.runtime.help.impl
Class XStreamJSon.BaseConverter

java.lang.Object
  extended by org.drools.runtime.help.impl.XStreamJSon.BaseConverter
Direct Known Subclasses:
XStreamJSon.JSonGetGlobalConverter, XStreamJSon.JSonInsertConverter, XStreamJSon.JSonSetGlobalConverter
Enclosing class:
XStreamJSon

public abstract static class XStreamJSon.BaseConverter
extends Object


Field Summary
protected  com.thoughtworks.xstream.mapper.Mapper mapper
           
protected  com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider
           
 
Constructor Summary
XStreamJSon.BaseConverter(com.thoughtworks.xstream.XStream xstream)
           
 
Method Summary
protected  Object readValue(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context, Object object, Object fieldName)
           
protected  void writeValue(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context, String fieldName, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapper

protected com.thoughtworks.xstream.mapper.Mapper mapper

reflectionProvider

protected com.thoughtworks.xstream.converters.reflection.ReflectionProvider reflectionProvider
Constructor Detail

XStreamJSon.BaseConverter

public XStreamJSon.BaseConverter(com.thoughtworks.xstream.XStream xstream)
Method Detail

writeValue

protected void writeValue(com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                          com.thoughtworks.xstream.converters.MarshallingContext context,
                          String fieldName,
                          Object object)

readValue

protected Object readValue(com.thoughtworks.xstream.io.HierarchicalStreamReader reader,
                           com.thoughtworks.xstream.converters.UnmarshallingContext context,
                           Object object,
                           Object fieldName)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.