Package jadex.xml
Class TypeInfoTypeManager
- java.lang.Object
-
- jadex.xml.TypeInfoTypeManager
-
public class TypeInfoTypeManager extends java.lang.Object
The type info type manager organizes type infos via their objects types. It allows fetching a type info for a given object type. (E.g. the writer uses it for fetching type infos per object to write).
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map
typeinfos
The type mappings.
-
Constructor Summary
Constructors Constructor Description TypeInfoTypeManager(java.util.Set typeinfos)
Create a type info manager.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTypeInfo(TypeInfo typeinfo)
Add a typeinfo.TypeInfo
findTypeInfo(java.util.Set typeinfos, QName[] fullpath)
Find a type info from a set of possible matching typeinfos.TypeInfo
getTypeInfo(java.lang.Object type, QName[] fullpath)
Get the most specific mapping info.java.util.Set
getTypeInfosByType(java.lang.Object type)
Get the most specific mapping info.
-
-
-
Method Detail
-
addTypeInfo
public void addTypeInfo(TypeInfo typeinfo)
Add a typeinfo.
-
getTypeInfo
public TypeInfo getTypeInfo(java.lang.Object type, QName[] fullpath)
Get the most specific mapping info.- Parameters:
tag
- The tag.fullpath
- The full path.- Returns:
- The most specific mapping info.
-
getTypeInfosByType
public java.util.Set getTypeInfosByType(java.lang.Object type)
Get the most specific mapping info.- Parameters:
tag
- The tag.fullpath
- The full path.- Returns:
- The most specific mapping info.
-
-