public class TypeInfoTypeManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
typeinfos
The type mappings.
|
Constructor and Description |
---|
TypeInfoTypeManager(java.util.Set typeinfos)
Create a type info manager.
|
Modifier and Type | Method and 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.
|
public TypeInfoTypeManager(java.util.Set typeinfos)
public void addTypeInfo(TypeInfo typeinfo)
public TypeInfo getTypeInfo(java.lang.Object type, QName[] fullpath)
tag
- The tag.fullpath
- The full path.public java.util.Set getTypeInfosByType(java.lang.Object type)
tag
- The tag.fullpath
- The full path.