Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.bytecode.Type
gnu.bytecode.ObjectType
gnu.kawa.xml.NodeType
gnu.kawa.xml.ElementType
Field Summary | |
static String | |
static Symbol | |
static ElementType | |
static ClassType |
Fields inherited from class gnu.kawa.xml.NodeType | |
ATTRIBUTE_OK , COMMENT_OK , DOCUMENT_OK , ELEMENT_OK , PI_OK , TEXT_OK , anyNodeTest , commentNodeTest , documentNodeTest , nodeType , textNodeTest , typeKNode , typeNodeType |
Fields inherited from class gnu.bytecode.ObjectType | |
flags |
Fields inherited from class gnu.bytecode.Type | |
booleanValue_method , boolean_ctype , boolean_type , byte_type , char_type , clone_method , doubleValue_method , double_type , floatValue_method , float_type , intValue_method , int_type , java_lang_Class_type , longValue_method , long_type , neverReturnsType , nullType , number_type , pointer_type , reflectClass , short_type , string_type , throwable_type , toString_method , tostring_type , typeArray0 , void_type |
Constructor Summary | |
| |
|
Method Summary | |
static KElement |
|
Object |
|
static KElement |
|
void |
|
protected void |
|
Procedure | |
Type | |
String | |
NamespaceBinding | |
String | |
boolean |
|
boolean |
|
boolean |
|
static ElementType |
|
static ElementType | |
void |
|
void |
|
String |
|
void |
|
Methods inherited from class gnu.kawa.xml.NodeType | |
coerceForce , coerceFromObject , coerceOrNull , compare , emitCoerceFromObject , emitCoerceOrNullMethod , emitIsInstance , emitTestIf , getConstructor , getImplementationType , isInstance , isInstance , isInstancePos , readExternal , toString , writeExternal |
Methods inherited from class gnu.bytecode.ObjectType | |
coerceFromObject , compare , emitCoerceFromObject , getContextClass , getImplementationType , getInternalName , getMethods , getReflectClass , isExisting , isInstance , promote , setExisting |
public Object coerceFromObject(Object obj)
- Overrides:
- coerceFromObject in interface NodeType
public void emitCoerceFromObject(CodeAttr code)
- Overrides:
- emitCoerceFromObject in interface NodeType
protected void emitCoerceOrNullMethod(Variable incoming, Compilation comp)
- Overrides:
- emitCoerceOrNullMethod in interface NodeType
public Procedure getConstructor()
- Specified by:
- getConstructor in interface TypeValue
- Overrides:
- getConstructor in interface NodeType
public Type getImplementationType()
- Specified by:
- getImplementationType in interface TypeValue
- Overrides:
- getImplementationType in interface NodeType
public final String getLocalName()
public final String getNamespaceURI()
public boolean isInstance(AbstractSequence seq, int ipos, Object elementType)
- Specified by:
- isInstance in interface ElementPredicate
public boolean isInstancePos(AbstractSequence seq, int ipos)
- Specified by:
- isInstancePos in interface ItemPredicate
- Overrides:
- isInstancePos in interface NodeType
public static ElementType make(String namespaceURI, String localName)
An element type for match by name.
- Parameters:
namespaceURI
- full name of namespace, or null for any namespace.localName
- if null matches any local name; otherwise must be intered, and matches by identity.
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Overrides:
- readExternal in interface NodeType
public void writeExternal(ObjectOutput out) throws IOException
- Overrides:
- writeExternal in interface NodeType