Package jadex.xml.reader
Interface IObjectReaderHandler
- 
- All Superinterfaces:
- IBulkObjectLinker,- IObjectLinker
 - All Known Implementing Classes:
- BeanObjectReaderHandler,- OAVObjectReaderHandler
 
 public interface IObjectReaderHandler extends IObjectLinker, IBulkObjectLinker Interface for object reader handler. Is called when a tag start is found and an object could be created. Is called when an end tag is found and an object could be linked to its parent.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectconvertContentObject(java.lang.String object, QName tag, AReadContext context)Convert a content string object to another type of object.java.lang.ObjectcreateObject(java.lang.Object typeinfo, boolean root, AReadContext context, java.util.Map<java.lang.String,java.lang.String> rawattributes)Create an object for the current tag.IPostProcessor[]getPostProcessors(java.lang.Object object, java.lang.Object typeinfo)Get the post-processor.TypeInfogetTypeInfo(java.lang.Object type, QName[] fullpath, AReadContext context)Get the most specific mapping info.voidhandleAttributeValue(java.lang.Object object, QName xmlattrname, java.util.List<QName> attrpath, java.lang.String attrval, java.lang.Object attrinfo, AReadContext context)Handle the attribute of an object.- 
Methods inherited from interface jadex.xml.reader.IBulkObjectLinkerbulkLinkObjects
 - 
Methods inherited from interface jadex.xml.reader.IObjectLinkerlinkObject
 
- 
 
- 
- 
- 
Method Detail- 
createObjectjava.lang.Object createObject(java.lang.Object typeinfo, boolean root, AReadContext context, java.util.Map<java.lang.String,java.lang.String> rawattributes) throws java.lang.ExceptionCreate an object for the current tag.- Parameters:
- type- The object type to create.
- root- Flag, if object should be root object.
- context- The context.
- Returns:
- The created object (or null for none).
- Throws:
- java.lang.Exception
 
 - 
convertContentObjectjava.lang.Object convertContentObject(java.lang.String object, QName tag, AReadContext context) throws java.lang.ExceptionConvert a content string object to another type of object.- Throws:
- java.lang.Exception
 
 - 
handleAttributeValuevoid handleAttributeValue(java.lang.Object object, QName xmlattrname, java.util.List<QName> attrpath, java.lang.String attrval, java.lang.Object attrinfo, AReadContext context) throws java.lang.ExceptionHandle the attribute of an object.- Parameters:
- object- The object.
- xmlattrname- The attribute name.
- attrval- The attribute value.
- attrinfo- The attribute info.
- context- The context.
- Throws:
- java.lang.Exception
 
 - 
getTypeInfoTypeInfo getTypeInfo(java.lang.Object type, QName[] fullpath, AReadContext context) Get the most specific mapping info.- Parameters:
- tag- The tag.
- fullpath- The full path.
- Returns:
- The most specific mapping info.
 
 - 
getPostProcessorsIPostProcessor[] getPostProcessors(java.lang.Object object, java.lang.Object typeinfo) Get the post-processor.- Returns:
- The post-processor
 
 
- 
 
-