Package jadex.xml.writer
Interface IObjectWriterHandler
-
- All Known Implementing Classes:
AbstractObjectWriterHandler
,BeanObjectWriterHandler
public interface IObjectWriterHandler
Interface for an object writer handler. Has the task to generate write information for an object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WriteObjectInfo
getObjectWriteInfo(java.lang.Object object, TypeInfo typeinfo, IContext context)
Get all subobjects of an object.IPreProcessor[]
getPreProcessors(java.lang.Object object, java.lang.Object typeinfo)
Get the pre-processor.QName
getTagName(java.lang.Object object, IContext context)
Get the tag name for an object.QName
getTagWithPrefix(QName tag, IContext context)
Get the tag with namespace.TypeInfo
getTypeInfo(java.lang.Object object, QName[] fullpath, IContext context)
Get the most specific mapping info.
-
-
-
Method Detail
-
getTypeInfo
TypeInfo getTypeInfo(java.lang.Object object, QName[] fullpath, IContext context)
Get the most specific mapping info.- Parameters:
tag
- The tag.fullpath
- The full path.- Returns:
- The most specific mapping info.
-
getTagName
QName getTagName(java.lang.Object object, IContext context)
Get the tag name for an object.
-
getObjectWriteInfo
WriteObjectInfo getObjectWriteInfo(java.lang.Object object, TypeInfo typeinfo, IContext context) throws java.lang.Exception
Get all subobjects of an object.- Parameters:
object
- The object.typeinfo
- The Typeinfo.- Throws:
java.lang.Exception
-
getPreProcessors
IPreProcessor[] getPreProcessors(java.lang.Object object, java.lang.Object typeinfo)
Get the pre-processor.- Returns:
- The pre-processor
-
-