|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.dtm.ref.ExtendedType
public final class ExtendedType
The class ExtendedType represents an extended type object used by ExpandedNameTable.
Field Summary | |
---|---|
private int |
hash
|
private java.lang.String |
localName
|
private java.lang.String |
namespace
|
private int |
nodetype
|
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
protected void |
redefine(int nodetype,
java.lang.String namespace,
java.lang.String localName)
Redefine this ExtendedType object to represent a different extended type. |
protected void |
redefine(int nodetype,
java.lang.String namespace,
java.lang.String localName,
int hash)
Redefine this ExtendedType object to represent a different extended type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int nodetype
private java.lang.String namespace
private java.lang.String localName
private int hash
Constructor Detail |
---|
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 codeMethod Detail |
---|
protected void redefine(int nodetype, java.lang.String namespace, java.lang.String localName)
protected void redefine(int nodetype, java.lang.String namespace, java.lang.String localName, int hash)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(ExtendedType other)
other
- The other ExtendedType object to test for equality
public int getNodeType()
public java.lang.String getLocalName()
public java.lang.String getNamespace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |