tomp.xml.type
Class TypeContextImpl

java.lang.Object
  extended bytomp.xml.type.TypeContextImpl
All Implemented Interfaces:
TypeContext

public class TypeContextImpl
extends java.lang.Object
implements TypeContext


Field Summary
protected  java.lang.String context
           
static TypeContextImpl ROOT
           
 
Constructor Summary
TypeContextImpl(java.lang.String s)
           
TypeContextImpl(TypeContextImpl parent, java.lang.String s)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 TypeContext getParent()
           
 int hashCode()
           
 boolean matches(TypeContext c)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ROOT

public static final TypeContextImpl ROOT

context

protected final java.lang.String context
Constructor Detail

TypeContextImpl

public TypeContextImpl(java.lang.String s)

TypeContextImpl

public TypeContextImpl(TypeContextImpl parent,
                       java.lang.String s)
Method Detail

matches

public boolean matches(TypeContext c)
Specified by:
matches in interface TypeContext

toString

public java.lang.String toString()

getParent

public TypeContext getParent()
Specified by:
getParent in interface TypeContext

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)