tomp.xml.type
Class TypeImpl
java.lang.Object
tomp.xml.type.TypeImpl
- All Implemented Interfaces:
- Type
- public class TypeImpl
- extends java.lang.Object
- implements Type
|
Constructor Summary |
TypeImpl(java.lang.String t,
java.lang.String i)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SHOW_PARENTS
public static final boolean SHOW_PARENTS
- See Also:
- Constant Field Values
UNKNOWN
public static final Type UNKNOWN
identification
protected java.lang.String identification
type
protected java.lang.String type
parents
protected java.util.List parents
typesForContext
protected java.util.Map typesForContext
TypeImpl
public TypeImpl(java.lang.String t,
java.lang.String i)
getIdentification
public java.lang.String getIdentification()
- Specified by:
getIdentification in interface Type
getTypeType
public java.lang.String getTypeType()
- Specified by:
getTypeType in interface Type
addParent
public void addParent(Type p)
- Specified by:
addParent in interface Type
parentIterator
public java.util.Iterator parentIterator()
- Specified by:
parentIterator in interface Type
ancestorIterator
public java.util.Iterator ancestorIterator()
- Specified by:
ancestorIterator in interface Type
addTypeForContext
public void addTypeForContext(TypeContext c,
Type t)
- Specified by:
addTypeForContext in interface Type
getTypeForContext
public Type getTypeForContext(TypeContext c)
- Specified by:
getTypeForContext in interface Type
isDescendantOf
public boolean isDescendantOf(Type t)
- Specified by:
isDescendantOf in interface Type
toString
public java.lang.String toString()