public interface IObjectReaderHandler extends IObjectLinker, IBulkObjectLinker
Modifier and Type | Method and Description |
---|---|
Object |
convertContentObject(String object,
QName tag,
AReadContext context)
Convert a content string object to another type of object.
|
Object |
createObject(Object typeinfo,
boolean root,
AReadContext context,
Map rawattributes)
Create an object for the current tag.
|
IPostProcessor[] |
getPostProcessors(Object object,
Object typeinfo)
Get the post-processor.
|
TypeInfo |
getTypeInfo(Object type,
QName[] fullpath,
AReadContext context)
Get the most specific mapping info.
|
void |
handleAttributeValue(Object object,
QName xmlattrname,
List attrpath,
String attrval,
Object attrinfo,
AReadContext context)
Handle the attribute of an object.
|
linkObject
bulkLinkObjects
Object createObject(Object typeinfo, boolean root, AReadContext context, Map rawattributes) throws Exception
type
- The object type to create.root
- Flag, if object should be root object.context
- The context.Exception
Object convertContentObject(String object, QName tag, AReadContext context) throws Exception
Exception
void handleAttributeValue(Object object, QName xmlattrname, List attrpath, String attrval, Object attrinfo, AReadContext context) throws Exception
object
- The object.xmlattrname
- The attribute name.attrval
- The attribute value.attrinfo
- The attribute info.context
- The context.Exception
TypeInfo getTypeInfo(Object type, QName[] fullpath, AReadContext context)
tag
- The tag.fullpath
- The full path.IPostProcessor[] getPostProcessors(Object object, Object typeinfo)
Copyright © 2013. All Rights Reserved.