oracle.forms.util.xmltools
Class SchemaGenerator

java.lang.Object
  extended byoracle.forms.util.xmltools.SchemaGenerator

public class SchemaGenerator
extends java.lang.Object


Field Summary
static java.lang.String FORMSSCHEMA_FILENAME
          Filename for the Forms XMLSchema
static java.lang.String FORMSSCHEMA_URI
          URI for the Forms XMLSchema
static java.lang.String XMLSCHEMA_URI
          URI for XMLSchema
 
Constructor Summary
SchemaGenerator()
          Creates a new SchemaGenerator object ready to generate the Forms XML Schema.
 
Method Summary
 oracle.xml.parser.v2.XMLDocument generateSchema()
          Generates the XML Schema for the Forms model and returns it as an XMLDocument object.
static oracle.xml.parser.schema.XMLSchema getSchemaObject()
          Generates the XML Schema for the Forms model and returns it as an XMLSchema object.
static void main(java.lang.String[] args)
          Generates the XML Schema for the Forms model and writes it to file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMSSCHEMA_FILENAME

public static final java.lang.String FORMSSCHEMA_FILENAME
Filename for the Forms XMLSchema

See Also:
Constant Field Values

XMLSCHEMA_URI

public static final java.lang.String XMLSCHEMA_URI
URI for XMLSchema

See Also:
Constant Field Values

FORMSSCHEMA_URI

public static final java.lang.String FORMSSCHEMA_URI
URI for the Forms XMLSchema

See Also:
Constant Field Values
Constructor Detail

SchemaGenerator

public SchemaGenerator()
Creates a new SchemaGenerator object ready to generate the Forms XML Schema.

Method Detail

generateSchema

public oracle.xml.parser.v2.XMLDocument generateSchema()
Generates the XML Schema for the Forms model and returns it as an XMLDocument object.

Returns:
XMLDocument

getSchemaObject

public static oracle.xml.parser.schema.XMLSchema getSchemaObject()
Generates the XML Schema for the Forms model and returns it as an XMLSchema object. This object can then be set directly on an XML Parser object. This class uses the Oracle XDK Schema Builder (oracle.xml.parser.schema.XSDBuilder) class to build the schema object.

Returns:
the Forms XML Schema Object.

main

public static void main(java.lang.String[] args)
Generates the XML Schema for the Forms model and writes it to file.