net.obsearch.example.ted
Class OBTedFactory

java.lang.Object
  extended by net.obsearch.example.ted.OBTedFactory
All Implemented Interfaces:
OBFactory<OBTed>

public class OBTedFactory
extends java.lang.Object
implements OBFactory<OBTed>


Field Summary
static int maxSliceSize
           
 
Constructor Summary
OBTedFactory()
           
 
Method Summary
 OBTed create(java.lang.String x)
          Creates a new object from the given String.
 boolean shouldProcess(OBTed obj)
          Returns true if we should process (add / search) the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxSliceSize

public static int maxSliceSize
Constructor Detail

OBTedFactory

public OBTedFactory()
Method Detail

create

public OBTed create(java.lang.String x)
             throws OBException
Description copied from interface: OBFactory
Creates a new object from the given String.

Specified by:
create in interface OBFactory<OBTed>
Parameters:
x - The string to use to instantiate the obj.
Returns:
The object.
Throws:
OBException

shouldProcess

public boolean shouldProcess(OBTed obj)
                      throws OBException
Description copied from interface: OBFactory
Returns true if we should process (add / search) the given object.

Specified by:
shouldProcess in interface OBFactory<OBTed>
Returns:
true if we should process (add / search) the given object.
Throws:
OBException


Copyright © 2007-2008 Arnoldo Jose Muller Molina. All Rights Reserved.