net.kano.joscar.ssiitem
Class DefaultSsiItemObjFactory

java.lang.Object
  extended byDefaultSsiItemObjFactory
All Implemented Interfaces:
SsiItemObjectFactory

public class DefaultSsiItemObjFactory
extends java.lang.Object
implements SsiItemObjectFactory

Provides a default implementation of an SSI item object factory, converting SSI items to their respective classes provided in this package.


Constructor Summary
DefaultSsiItemObjFactory()
           
 
Method Summary
 SsiItemObj getItemObj(SsiItem item)
          Returns an SSI item object that represents the given SSI item, or null of no appropriate object could be created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSsiItemObjFactory

public DefaultSsiItemObjFactory()
Method Detail

getItemObj

public SsiItemObj getItemObj(SsiItem item)
Description copied from interface: SsiItemObjectFactory
Returns an SSI item object that represents the given SSI item, or null of no appropriate object could be created.

Specified by:
getItemObj in interface SsiItemObjectFactory
Parameters:
item - the SSI item block to "convert"
Returns:
an SSI item object representing the given SSI item block, or null if no appropriate item object could be created (for example, if the item is in an invalid format)