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

## com.sun.mdm.index.objects.factory
Class SimpleFactory

    java.lang.Object
      com.sun.mdm.index.objects.factory.SimpleFactory

public class SimpleFactory
extends java.lang.Object

Simple object factory implementation

Constructor Summary
`SimpleFactory()` Creates a new instance of SimpleFactory

Method Summary
`static ObjectNode` | `create(java.lang.String tag)` creats a new instance of ObjectNode by its object tag
`static void` | `main(java.lang.String[] args)` The main program for the SimpleFactory class

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleFactory

    public SimpleFactory()

  Creates a new instance of SimpleFactory

Method Detail

### create

    public static ObjectNode create(java.lang.String tag)
                             throws ObjectException

  creats a new instance of ObjectNode by its object tag

  Parameters:
    `tag` - object tag
  Returns:
    ObjectNode
  Throws:
    `ObjectException` - ObjectException

### main

    public static void main(java.lang.String[] args)

  The main program for the SimpleFactory class

  Parameters:
    `args` - The command line arguments

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

Sun Microsystems, Inc.