public final class ExtendedType
extends java.lang.Object
Constructor and Description |
---|
ExtendedType(int nodetype,
java.lang.String namespace,
java.lang.String localName)
Create an ExtendedType object from node type, namespace and local name.
|
ExtendedType(int nodetype,
java.lang.String namespace,
java.lang.String localName,
int hash)
Create an ExtendedType object from node type, namespace, local name
and a given hash code.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ExtendedType other)
Test if this ExtendedType object is equal to the given ExtendedType.
|
java.lang.String |
getLocalName()
Return the local name
|
java.lang.String |
getNamespace()
Return the namespace
|
int |
getNodeType()
Return the node type
|
int |
hashCode()
Override the hashCode() method in the Object class
|
public ExtendedType(int nodetype, java.lang.String namespace, java.lang.String localName)
nodetype
- Type of the nodenamespace
- Namespace of the nodelocalName
- Local name of the nodepublic ExtendedType(int nodetype, java.lang.String namespace, java.lang.String localName, int hash)
nodetype
- Type of the nodenamespace
- Namespace of the nodelocalName
- Local name of the nodehash
- The given hash codepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(ExtendedType other)
other
- The other ExtendedType object to test for equalitypublic int getNodeType()
public java.lang.String getLocalName()
public java.lang.String getNamespace()
Copyright ? 2006 Apache XML Project. All Rights Reserved.