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[]) |
A class for reading XML Schemas
org.exolab.castor.xml.schema.util.XMLInstance2Schema.XMLInstance2Schema | ( | ) |
Creates a new XMLInstance2Schema
Referenced by org.exolab.castor.xml.schema.util.XMLInstance2Schema.main().
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.
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.
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.
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.