com.tibco.rta.model
Class RtaSchemaModelFactory

java.lang.Object
  extended by com.tibco.rta.model.RtaSchemaModelFactory

public class RtaSchemaModelFactory
extends java.lang.Object

A factory for creating RtaSchema model objects.


Method Summary
 RtaSchema createSchema(java.io.File file)
          Create an RtaSchema instance from the provided file
 RtaSchema createSchema(org.xml.sax.InputSource inputSource)
          Create an RtaSchema instance from the provided input source.
static RtaSchemaModelFactory getInstance()
           
 MutableRtaSchema newSchema(java.lang.String name)
          Returns a new schema instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RtaSchemaModelFactory getInstance()

newSchema

public MutableRtaSchema newSchema(java.lang.String name)
Returns a new schema instance.

Parameters:
name - the name

createSchema

public RtaSchema createSchema(org.xml.sax.InputSource inputSource)
                       throws java.lang.Exception
Create an RtaSchema instance from the provided input source.

Parameters:
inputSource - input source to use to create the schema
Returns:
the schema
Throws:
java.lang.Exception

createSchema

public RtaSchema createSchema(java.io.File file)
                       throws java.lang.Exception
Create an RtaSchema instance from the provided file

Parameters:
file - Should be the XML representation of the RtaSchema
Returns:
the schema
Throws:
java.lang.Exception


Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.