Constructor and Description |
---|
AttributeNode(NodeDelegate pDel,
NameNodeDelegate pNameDel,
ValNodeDelegate pValDel)
Creating an attribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getDataKey()
Delegate method for getNodeKey.
|
com.google.common.hash.Funnel<IData> |
getFunnel()
Getting a Funnel for computing guava-based hashes.
|
long |
getHash()
Delegate method for getHash.
|
int |
getKind()
Gets the kind of the item (atomic value, element node, attribute
node....).
|
int |
getNameKey()
Delegate method for getNameKey.
|
long |
getParentKey()
Delegate method for getParentKey.
|
byte[] |
getRawValue()
Delegate method for getRawValue.
|
int |
getTypeKey()
Delegate method for getTypeKey.
|
int |
getURIKey()
Delegate method for getURIKey.
|
int |
hashCode() |
boolean |
hasParent()
Delegate method for hasParent.
|
void |
serialize(DataOutput pOutput)
Serializing to given dataput
|
void |
setHash(long pHash)
Delegate method for setHash.
|
void |
setNameKey(int pNameKey)
Delegate method for setNameKey.
|
void |
setParentKey(long pParentKey)
Delegate method for setParentKey.
|
void |
setTypeKey(int pTypeKey)
Delegate method for setTypeKey.
|
void |
setURIKey(int pUriKey)
Delegate method for setURIKey.
|
void |
setValue(byte[] pVal)
Delegate method for setValue.
|
String |
toString() |
public AttributeNode(NodeDelegate pDel, NameNodeDelegate pNameDel, ValNodeDelegate pValDel)
pDel
- NodeDelegate
to be setpNameDel
- StructNodeDelegate
to be setpValDel
- ValNodeDelegate
to be setpublic int getKind()
public long getDataKey()
getDataKey
in interface IData
NodeDelegate.getDataKey()
public long getParentKey()
getParentKey
in interface INode
NodeDelegate.getParentKey()
public void setParentKey(long pParentKey)
setParentKey
in interface INode
pParentKey
- NodeDelegate.setParentKey(long)
public long getHash()
getHash
in interface INode
NodeDelegate.getHash()
public void setHash(long pHash)
setHash
in interface INode
pHash
- NodeDelegate.setHash(long)
public int getTypeKey()
getTypeKey
in interface INode
NodeDelegate.getTypeKey()
public void setTypeKey(int pTypeKey)
setTypeKey
in interface INode
pTypeKey
- NodeDelegate.setTypeKey(int)
public boolean hasParent()
hasParent
in interface INode
NodeDelegate.hasParent()
public int getNameKey()
getNameKey
in interface INameNode
NameNodeDelegate.getNameKey()
public int getURIKey()
getURIKey
in interface INameNode
NameNodeDelegate.getURIKey()
public void setNameKey(int pNameKey)
setNameKey
in interface INameNode
pNameKey
- NameNodeDelegate.setNameKey(int)
public void setURIKey(int pUriKey)
setURIKey
in interface INameNode
pUriKey
- NameNodeDelegate.setURIKey(int)
public byte[] getRawValue()
getRawValue
in interface IValNode
ValNodeDelegate.getRawValue()
public void setValue(byte[] pVal)
setValue
in interface IValNode
pVal
- ValNodeDelegate.setValue(byte[])
public void serialize(DataOutput pOutput) throws TTIOException
serialize
in interface IData
pOutput
- to serialize toTTIOException
public com.google.common.hash.Funnel<IData> getFunnel()
IData
Copyright © 2013. All Rights Reserved.