org.netbeans.api.mdr/1 1.4.22

org.netbeans.api.xmi
Class XMIReaderFactory

java.lang.Object
  extended by org.netbeans.api.xmi.XMIReaderFactory

public abstract class XMIReaderFactory
extends Object

Factory class for creating instances of XMI reader objects.


Constructor Summary
XMIReaderFactory()
           
 
Method Summary
abstract  XMIReader createXMIReader()
          Creates new instance of XMIReader.
abstract  XMIReader createXMIReader(XMIInputConfig configuration)
          Creates new instance of XMIReader configured using the passed configuration object.
static XMIReaderFactory getDefault()
          Returns the default instance of XMIReaderFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMIReaderFactory

public XMIReaderFactory()
Method Detail

getDefault

public static XMIReaderFactory getDefault()
Returns the default instance of XMIReaderFactory.

Returns:
Default XMI reader factory.

createXMIReader

public abstract XMIReader createXMIReader()
Creates new instance of XMIReader.

Returns:
New instance of XMIReader.

createXMIReader

public abstract XMIReader createXMIReader(XMIInputConfig configuration)
Creates new instance of XMIReader configured using the passed configuration object. The configuration object should not be used by XMIReader directly (i.e. the real configuration of the returned XMIReader should be a copy of the passed configuraion object).

Parameters:
configuration - Configuration of the XMIReader instance to be created.

org.netbeans.api.mdr/1 1.4.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.