com.bigdata.rdf.inf
Class RdfTypeRdfsResourceFilter

java.lang.Object
  extended by com.bigdata.rdf.spo.SPOFilter
      extended by com.bigdata.rdf.inf.RdfTypeRdfsResourceFilter
All Implemented Interfaces:
IElementFilter<ISPO>, Externalizable, Serializable

public class RdfTypeRdfsResourceFilter
extends SPOFilter
implements Externalizable

Filter matches (x rdf:type rdfs:Resource).

Version:
$Id: RdfTypeRdfsResourceFilter.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
RdfTypeRdfsResourceFilter()
          De-serialization ctor.
RdfTypeRdfsResourceFilter(Vocabulary vocab)
           
 
Method Summary
 boolean accept(ISPO spo)
          True iff the argument is matched by the filter.
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class com.bigdata.rdf.spo.SPOFilter
canAccept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdfTypeRdfsResourceFilter

public RdfTypeRdfsResourceFilter()
De-serialization ctor.


RdfTypeRdfsResourceFilter

public RdfTypeRdfsResourceFilter(Vocabulary vocab)
Parameters:
vocab -
Method Detail

accept

public boolean accept(ISPO spo)
Description copied from interface: IElementFilter
True iff the argument is matched by the filter.

Specified by:
accept in interface IElementFilter<ISPO>
Parameters:
spo - An element.
Returns:
true iff the element is accepted by the filter.

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.