Package jadex.xml
Class TypeInfoPathManager
- java.lang.Object
- 
- jadex.xml.TypeInfoPathManager
 
- 
 public class TypeInfoPathManager extends java.lang.ObjectType path info manager. This manager organizes type infos via their paths. This allows for searching for a type info via a specific tag or subpath of tags. (Used e.g. by the reader to determine which type to use for a tag).
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.MaptypeinfosThe type mappings.
 - 
Constructor SummaryConstructors Constructor Description TypeInfoPathManager(java.util.Set typeinfos)Create a new manager.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTypeInfo(TypeInfo typeinfo)Add a type info.protected TypeInfofindTypeInfo(java.util.Set typeinfos, QName[] fullpath, java.util.Map rawattributes)Find type find in the set of type infos.TypeInfogetTypeInfo(QName tag, QName[] fullpath, java.util.Map<java.lang.String,java.lang.String> rawattributes)Get the most specific mapping info.
 
- 
- 
- 
Method Detail- 
getTypeInfopublic TypeInfo getTypeInfo(QName tag, QName[] fullpath, java.util.Map<java.lang.String,java.lang.String> rawattributes) Get the most specific mapping info.- Parameters:
- tag- The tag.
- fullpath- The full path.
- Returns:
- The most specific mapping info.
 
 - 
addTypeInfopublic void addTypeInfo(TypeInfo typeinfo) Add a type info.- Parameters:
- typeinfo- The type info.
 
 
- 
 
-