| java.lang.Object org.apache.xml.dtm.ref.ExtendedType
ExtendedType | final public class ExtendedType (Code) | | The class ExtendedType represents an extended type object used by
ExpandedNameTable.
|
Constructor Summary | |
public | ExtendedType(int nodetype, String namespace, String localName) Create an ExtendedType object from node type, namespace and local name. | 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. |
Method Summary | |
public boolean | equals(ExtendedType other) Test if this ExtendedType object is equal to the given ExtendedType. | public String | getLocalName() | public String | getNamespace() | public int | getNodeType() | public int | hashCode() | protected void | redefine(int nodetype, String namespace, String localName) Redefine this ExtendedType object to represent a different extended type.
This is intended to be used ONLY on the hashET object. | protected void | redefine(int nodetype, String namespace, String localName, int hash) Redefine this ExtendedType object to represent a different extended type.
This is intended to be used ONLY on the hashET object. |
ExtendedType | public ExtendedType(int nodetype, String namespace, String localName)(Code) | | Create an ExtendedType object from node type, namespace and local name.
The hash code is calculated from the node type, namespace and local name.
Parameters: nodetype - Type of the node Parameters: namespace - Namespace of the node Parameters: localName - Local name of the node |
ExtendedType | public ExtendedType(int nodetype, String namespace, String localName, int hash)(Code) | | Create an ExtendedType object from node type, namespace, local name
and a given hash code.
Parameters: nodetype - Type of the node Parameters: namespace - Namespace of the node Parameters: localName - Local name of the node Parameters: hash - The given hash code |
equals | public boolean equals(ExtendedType other)(Code) | | Test if this ExtendedType object is equal to the given ExtendedType.
Parameters: other - The other ExtendedType object to test for equality true if the two ExtendedType objects are equal. |
getLocalName | public String getLocalName()(Code) | | Return the local name
|
getNamespace | public String getNamespace()(Code) | | Return the namespace
|
getNodeType | public int getNodeType()(Code) | | Return the node type
|
hashCode | public int hashCode()(Code) | | Override the hashCode() method in the Object class
|
redefine | protected void redefine(int nodetype, String namespace, String localName)(Code) | | Redefine this ExtendedType object to represent a different extended type.
This is intended to be used ONLY on the hashET object. Using it elsewhere
will mess up existing hashtable entries!
|
redefine | protected void redefine(int nodetype, String namespace, String localName, int hash)(Code) | | Redefine this ExtendedType object to represent a different extended type.
This is intended to be used ONLY on the hashET object. Using it elsewhere
will mess up existing hashtable entries!
|
|
|