ch.interlis.iox_j
Class GenericIoxFactory

java.lang.Object
  extended by ch.interlis.iox_j.GenericIoxFactory
All Implemented Interfaces:
IoxFactory

public class GenericIoxFactory
extends java.lang.Object
implements IoxFactory

Generic implementation of a IoxFactory. This factory class creates for every type an instance of ch.interlis.iom_j.Iom_jObject.

Author:
ceis

Constructor Summary
GenericIoxFactory()
           
 
Method Summary
 IomObject createIomObject(java.lang.String type, java.lang.String oid)
          creates a IomObject with the given type and oid.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericIoxFactory

public GenericIoxFactory()
Method Detail

createIomObject

public IomObject createIomObject(java.lang.String type,
                                 java.lang.String oid)
                          throws IoxException
Description copied from interface: IoxFactory
creates a IomObject with the given type and oid.

Specified by:
createIomObject in interface IoxFactory
Parameters:
type - of object to create
oid - may be null
Returns:
null if factory don't know how to create object for given type.
Throws:
IoxException