Public Member Functions | Static Public Member Functions

org.exolab.castor.xml.schema.util.XMLInstance2Schema Class Reference

List of all members.

Public Member Functions

 XMLInstance2Schema ()
Schema createSchema (String filename) throws IOException
Schema createSchema (Reader reader) throws IOException
Schema createSchema (InputSource source) throws IOException
void setDefaultGroupingAsAll ()

Static Public Member Functions

static void main (String args[])

Detailed Description

A class for reading XML Schemas

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:45

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.util.XMLInstance2Schema.XMLInstance2Schema (  ) 

Member Function Documentation

Schema org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema ( String  filename  )  throws IOException

Creates an XML Schema using the given XML instance filename. The XML Schema created will be based on the specific XML instance document.

Parameters:
filename the filename for the XML document

Referenced by org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema(), and org.exolab.castor.xml.schema.util.XMLInstance2Schema.main().

Schema org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema ( Reader  reader  )  throws IOException

Creates an XML Schema using the given Reader. The reader must be for an XML instance document. The XML Schema created will be based on the specific XML instance document.

Parameters:
reader the Reader for the XML document

References org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema().

Schema org.exolab.castor.xml.schema.util.XMLInstance2Schema.createSchema ( InputSource  source  )  throws IOException

Creates an XML Schema using the given InputSource. The InputSource must be for an XML instance document. The XML Schema created will be based on the specific XML instance document.

Parameters:
source the InputSource for the XML document

References org.exolab.castor.util.Configuration.getParser(), org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.getSchema(), and org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.setDefaultGroupOrder().

static void org.exolab.castor.xml.schema.util.XMLInstance2Schema.main ( String  args[]  )  [static]
void org.exolab.castor.xml.schema.util.XMLInstance2Schema.setDefaultGroupingAsAll (  ) 

Sets the default grouping as "all". By default groups will be treated as "sequence".

References org.exolab.castor.xml.schema.Order.all.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties