| java.lang.Object gnu.bytecode.Type gnu.bytecode.ObjectType gnu.kawa.xml.NodeType
All known Subclasses: gnu.kawa.xml.AttributeType, gnu.kawa.xml.ElementType, gnu.kawa.xml.ProcessingInstructionType,
NodeType | public class NodeType extends ObjectType implements TypeValue,NodePredicate,Externalizable(Code) | | A SeqPosition used to represent a node in (usually) a TreeList.
This is special in that the represented node is the current position
of the SeqPosition - but when passed to a method it is only valid
during that method. After the method returns, the caller is free to
change the position, so if the node is saved in a data structure it
must be copied.
|
Method Summary | |
public static KNode | coerceForce(Object obj, int kinds) | public Object | coerceFromObject(Object obj) | public static KNode | coerceOrNull(Object obj, int kinds) | public int | compare(Type other) | public void | emitCoerceFromObject(CodeAttr code) | protected void | emitCoerceOrNullMethod(Variable incoming, Compilation comp) | public void | emitIsInstance(Variable incoming, Compilation comp, Target target) | public void | emitTestIf(Variable incoming, Declaration decl, Compilation comp) | public Procedure | getConstructor() | public Type | getImplementationType() | public boolean | isInstance(Object obj) | public static boolean | isInstance(AbstractSequence seq, int ipos, int kinds) | public boolean | isInstancePos(AbstractSequence seq, int ipos) | public void | readExternal(ObjectInput in) | public String | toString() | public void | writeExternal(ObjectOutput out) |
ATTRIBUTE_OK | final public static int ATTRIBUTE_OK(Code) | | |
COMMENT_OK | final public static int COMMENT_OK(Code) | | |
DOCUMENT_OK | final public static int DOCUMENT_OK(Code) | | |
ELEMENT_OK | final public static int ELEMENT_OK(Code) | | |
PI_OK | final public static int PI_OK(Code) | | |
TEXT_OK | final public static int TEXT_OK(Code) | | |
coerceOrNullMethod | final static Method coerceOrNullMethod(Code) | | |
emitCoerceFromObject | public void emitCoerceFromObject(CodeAttr code)(Code) | | |
getImplementationType | public Type getImplementationType()(Code) | | |
|
|