|
|||||||||
| Home >> All >> org >> vrspace >> server >> [ filter overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.vrspace.server.filter
Class SubclassFilter

java.lang.Objectorg.vrspace.server.filter.VRObjectFilter
org.vrspace.server.filter.SubclassFilter
- All Implemented Interfaces:
- org.vrspace.attributes.ObjectFilter
- public class SubclassFilter
- extends VRObjectFilter
Filtering by class name
Filters out instances of this class.
| Field Summary | |
(package private) java.lang.Class |
cl
|
| Constructor Summary | |
SubclassFilter(java.lang.String className)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Two ClassFilters equal if filter out the same className |
boolean |
testVRObject(org.vrspace.server.VRObject o,
org.vrspace.server.Client c)
Return true if this client should see the object |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class org.vrspace.server.filter.VRObjectFilter |
process, test |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
cl
java.lang.Class cl
| Constructor Detail |
SubclassFilter
public SubclassFilter(java.lang.String className) throws java.lang.ClassNotFoundException
| Method Detail |
testVRObject
public boolean testVRObject(org.vrspace.server.VRObject o, org.vrspace.server.Client c)
- Description copied from class:
VRObjectFilter - Return true if this client should see the object
- Specified by:
testVRObjectin classVRObjectFilter
equals
public boolean equals(java.lang.Object o)
- Two ClassFilters equal if filter out the same className
- Specified by:
equalsin classVRObjectFilter
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).- Overrides:
toStringin classVRObjectFilter
|
|||||||||
| Home >> All >> org >> vrspace >> server >> [ filter overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC