public abstract class AbstractObjectWriterHandler extends Object implements IObjectWriterHandler
| Constructor and Description |
|---|
AbstractObjectWriterHandler(boolean gentypetags,
boolean prefertags,
boolean flattening,
Set typeinfos)
Create a new writer handler.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
getObjectType(Object object,
IContext context)
Get the object type
|
WriteObjectInfo |
getObjectWriteInfo(Object object,
TypeInfo typeinfo,
IContext context)
Get write info for an object.
|
IPreProcessor[] |
getPreProcessors(Object object,
Object typeinfo)
Get the pre-processors.
|
TypeInfo |
getTypeInfo(Object object,
QName[] fullpath,
IContext context)
Get the most specific mapping info.
|
TypeInfoTypeManager |
getTypeInfoManager()
Get the titmanager.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTagName, getTagWithPrefixpublic AbstractObjectWriterHandler(boolean gentypetags,
boolean prefertags,
boolean flattening,
Set typeinfos)
public TypeInfo getTypeInfo(Object object, QName[] fullpath, IContext context)
getTypeInfo in interface IObjectWriterHandlertype - The type.fullpath - The full path.public TypeInfoTypeManager getTypeInfoManager()
public abstract Object getObjectType(Object object, IContext context)
object - The object.public WriteObjectInfo getObjectWriteInfo(Object object, TypeInfo typeinfo, IContext context) throws Exception
getObjectWriteInfo in interface IObjectWriterHandlerobject - The object.typeinfo - The Typeinfo.Exceptionpublic IPreProcessor[] getPreProcessors(Object object, Object typeinfo)
getPreProcessors in interface IObjectWriterHandlerCopyright © 2012. All Rights Reserved.