public final class ExtendedType extends Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ExtendedType other)
Test if this ExtendedType object is equal to the given ExtendedType.
|
String |
getLocalName()
Return the local name
|
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,
String namespace,
String localName)
Redefine this ExtendedType object to represent a different extended type.
|
protected void |
redefine(int nodetype,
String namespace,
String localName,
int hash)
Redefine this ExtendedType object to represent a different extended type.
|
public ExtendedType(int nodetype, String namespace, String localName)
nodetype
- Type of the nodenamespace
- Namespace of the nodelocalName
- Local name of the nodepublic ExtendedType(int nodetype, String namespace, String localName, int hash)
nodetype
- Type of the nodenamespace
- Namespace of the nodelocalName
- Local name of the nodehash
- The given hash codeprotected void redefine(int nodetype, String namespace, String localName)
protected void redefine(int nodetype, String namespace, String localName, int hash)
public int hashCode()
public boolean equals(ExtendedType other)
other
- The other ExtendedType object to test for equalitypublic int getNodeType()
public String getLocalName()
public String getNamespace()
Copyright © 2018 JBoss by Red Hat. All rights reserved.