public class TypeInfo extends AbstractInfo
AbstractInfo.SpecificityComparator
Constructor and Description |
---|
TypeInfo(XMLInfo xmlinfo,
ObjectInfo objectinfo)
Create a new type info.
|
TypeInfo(XMLInfo xmlinfo,
ObjectInfo objectinfo,
MappingInfo mapinfo)
Create a new type info.
|
TypeInfo(XMLInfo xmlinfo,
ObjectInfo objectinfo,
MappingInfo mapinfo,
LinkingInfo linkinfo)
Create a new type info.
|
TypeInfo(XMLInfo xmlinfo,
ObjectInfo objectinfo,
MappingInfo mapinfo,
LinkingInfo linkinfo,
IObjectReaderHandler readerhandler)
Create a new type info.
|
Modifier and Type | Method and Description |
---|---|
Object |
getAttributeInfo(QName xmlname)
Get the attribute info.
|
Collection |
getAttributeInfos()
Get the attribute infos.
|
Object |
getCommentInfo()
Get the comment info.
|
Object |
getContentInfo()
Get the content info.
|
AttributeInfo[] |
getDeclaredAttributeInfos()
Get the declared attribute infos.
|
SubobjectInfo[] |
getDeclaredSubobjectInfos()
Get the declared subobject infos.
|
Object |
getLinker()
Get the linker.
|
LinkingInfo |
getLinkInfo()
Get the linkinfo.
|
MappingInfo |
getMappingInfo()
Get the mapping info.
|
ObjectInfo |
getObjectInfo()
Get the objectinfo.
|
IPostProcessor |
getPostProcessor()
Get the post-processor.
|
IPreProcessor |
getPreProcessor()
Get the pre-processor.
|
IObjectReaderHandler |
getReaderHandler()
Get the reader handler associated to the object type (if any).
|
SubobjectInfo |
getSubobjectInfoRead(QName tag,
QName[] fullpath,
Map rawattributes)
Get the most specific subobject info.
|
Collection |
getSubobjectInfos()
Get the subobject infos.
|
SubobjectInfo |
getSubobjectInfoWrite(Object attr)
Get the subobject infos.
|
TypeInfo |
getSupertype()
Get the supertype.
|
Object |
getTypeInfo()
Get the type info.
|
Set |
getXMLAttributeNames()
Get the xml attribute names.
|
boolean |
isBulkLink()
Test if the object should be bulk linked.
|
boolean |
isCreateFromTag()
Test if object should be created from tag name.
|
boolean |
isIncludeFields()
Get the includefields.
|
boolean |
isIncludeMethods()
Get the includemethods.
|
void |
setReaderHandler(IObjectReaderHandler readerhandler)
Set the reader handler associated to the object type (if any).
|
getFilter, getId, getXMLInfo, getXMLPath, getXMLPathDepth, getXMLPathElements, getXMLPathElementsWithoutElement, getXMLTag, toString
public TypeInfo(XMLInfo xmlinfo, ObjectInfo objectinfo)
public TypeInfo(XMLInfo xmlinfo, ObjectInfo objectinfo, MappingInfo mapinfo)
public TypeInfo(XMLInfo xmlinfo, ObjectInfo objectinfo, MappingInfo mapinfo, LinkingInfo linkinfo)
public TypeInfo(XMLInfo xmlinfo, ObjectInfo objectinfo, MappingInfo mapinfo, LinkingInfo linkinfo, IObjectReaderHandler readerhandler)
public Object getTypeInfo()
public ObjectInfo getObjectInfo()
public MappingInfo getMappingInfo()
public LinkingInfo getLinkInfo()
public TypeInfo getSupertype()
public Object getCommentInfo()
public Object getContentInfo()
public boolean isIncludeFields()
public boolean isIncludeMethods()
public Object getAttributeInfo(QName xmlname)
xmlname
- The xml name of the attribute.public Set getXMLAttributeNames()
public Collection getAttributeInfos()
public AttributeInfo[] getDeclaredAttributeInfos()
public SubobjectInfo[] getDeclaredSubobjectInfos()
public IPostProcessor getPostProcessor()
public IPreProcessor getPreProcessor()
public Collection getSubobjectInfos()
public SubobjectInfo getSubobjectInfoWrite(Object attr)
public SubobjectInfo getSubobjectInfoRead(QName tag, QName[] fullpath, Map rawattributes)
tag
- The tag.fullpath
- The full path.public boolean isCreateFromTag()
public Object getLinker()
public boolean isBulkLink()
public void setReaderHandler(IObjectReaderHandler readerhandler)
public IObjectReaderHandler getReaderHandler()
Copyright © 2012. All Rights Reserved.