ostore.tapestry.impl
Class NullTag
java.lang.Object
|
+--ostore.tapestry.impl.NullTag
- All Implemented Interfaces:
- QuickSerializable, TapestryTag
- public class NullTag
- extends Object
- implements TapestryTag
NullTag
is the TapestryTag
for objects that otherwise do not have an identifies. This class
replaces setting ttag==null
.
- Version:
- $Id: NullTag.java,v 1.1 2002/10/05 06:21:32 hweather Exp $
- Author:
- Hakim Weatherspoon
- See Also:
NullTagQuery
,
TapestryTag
Method Summary |
boolean |
equals(Object other)
Compares this NullTag with another tag, and returns
true iff they are the same type of tag. |
int |
hashCode()
Calculates a Java hash code for this NullTag object
(by returning its type_code) |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
String |
toString()
Specified by java.lang.Object |
NullTag
public NullTag()
- Constructor:
Creates a new
NullTag
.
NullTag
public NullTag(InputBuffer buffer)
throws QSException
- Constructs a
NullTag
from its
serialized
form.
- Parameters:
buffer
- serialized
form of object.
serialize
public void serialize(OutputBuffer buffer)
- Specified by ostore.util.QuickSerializable
- Specified by:
serialize
in interface QuickSerializable
- Following copied from interface:
ostore.util.QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
equals
public boolean equals(Object other)
- Compares this NullTag with another tag, and returns
true iff they are the same type of tag.
- Overrides:
equals
in class Object
- Parameters:
the
- object with which to compare this NullTag.- Returns:
- true iff this and other are instanceof NullTag.
hashCode
public int hashCode()
- Calculates a Java hash code for this NullTag object
(by returning its type_code)
- Overrides:
hashCode
in class Object
- Returns:
- the Java hash code for this NullTag.
toString
public String toString()
- Specified by java.lang.Object
- Overrides:
toString
in class Object