org.apache.xml.dtm.ref
Class ExtendedType
public final class ExtendedType
The class ExtendedType represents an extended type object used by
ExpandedNameTable.
ExtendedType(int nodetype, String namespace, String localName) - Create an ExtendedType object from node type, namespace and local name.
|
ExtendedType(int nodetype, String namespace, String localName, int hash) - Create an ExtendedType object from node type, namespace, local name
and a given hash code.
|
ExtendedType
public ExtendedType(int nodetype,
String namespace,
String localName)
Create an ExtendedType object from node type, namespace and local name.
The hash code is calculated from the node type, namespace and local name.
nodetype
- Type of the nodenamespace
- Namespace of the nodelocalName
- Local name of the node
ExtendedType
public ExtendedType(int nodetype,
String namespace,
String localName,
int hash)
Create an ExtendedType object from node type, namespace, local name
and a given hash code.
nodetype
- Type of the nodenamespace
- Namespace of the nodelocalName
- Local name of the nodehash
- The given hash code
equals
public boolean equals(ExtendedType other)
Test if this ExtendedType object is equal to the given ExtendedType.
other
- The other ExtendedType object to test for equality
- true if the two ExtendedType objects are equal.
getLocalName
public String getLocalName()
Return the local name
getNamespace
public String getNamespace()
Return the namespace
getNodeType
public int getNodeType()
Return the node type
hashCode
public int hashCode()
Override the hashCode() method in the Object class
Copyright B) 2004 Apache XML Project. All Rights Reserved.