public class BeanObjectWriterHandler extends AbstractObjectWriterHandler
| Constructor and Description |
|---|
BeanObjectWriterHandler(Set typeinfos)
Create a new writer (gentypetags=false, prefertags=true, flattening=true).
|
BeanObjectWriterHandler(Set typeinfos,
boolean gentypetags)
Create a new writer (prefertags=true, flattening=true).
|
BeanObjectWriterHandler(Set typeinfos,
boolean gentypetags,
boolean prefertags)
Create a new writer (flattening=true).
|
BeanObjectWriterHandler(Set typeinfos,
boolean gentypetags,
boolean prefertags,
boolean flattening)
Create a new writer.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getObjectType(Object object,
IContext context)
Get the object type
|
QName |
getTagName(Object object,
IContext context)
Get the tag name for an object.
|
QName |
getTagWithPrefix(QName tag,
IContext context)
Get the tag with namespace.
|
TypeInfo |
getTypeInfo(Object object,
QName[] fullpath,
IContext context)
Get the most specific mapping info.
|
getObjectWriteInfo, getTypeInfoManagerpublic BeanObjectWriterHandler(Set typeinfos)
public BeanObjectWriterHandler(Set typeinfos, boolean gentypetags)
public BeanObjectWriterHandler(Set typeinfos, boolean gentypetags, boolean prefertags)
public BeanObjectWriterHandler(Set typeinfos, boolean gentypetags, boolean prefertags, boolean flattening)
public TypeInfo getTypeInfo(Object object, QName[] fullpath, IContext context)
getTypeInfo in interface IObjectWriterHandlergetTypeInfo in class AbstractObjectWriterHandlertag - The tag.fullpath - The full path.public Object getObjectType(Object object, IContext context)
getObjectType in class AbstractObjectWriterHandlerobject - The object.Copyright © 2012. All Rights Reserved.