Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlbeans
Interface ObjectFactory

    public interface ObjectFactory

generic interface to abstract creation of an object

Method Summary
`java.lang.Object` | `createObject(java.lang.Class type)` Given the type, create an object of that type.

Method Detail

### createObject

    java.lang.Object createObject(java.lang.Class type)

  Given the type, create an object of that type. Note that the return object might be a subclass of type, but should always be an instanceof type.

  Parameters:
    `type` - type of object to create
  Returns:
    instance

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD