Classes | Public Member Functions | Protected Member Functions

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

Inherits org::xml::sax::DocumentHandler.

List of all members.

Classes

class  StateInfo

Public Member Functions

 XMLInstance2SchemaHandler ()
 XMLInstance2SchemaHandler (Schema schema)
Schema getSchema ()
void characters (char[] ch, int start, int length) throws org.xml.sax.SAXException
void endDocument () throws org.xml.sax.SAXException
void endElement (String name) throws org.xml.sax.SAXException
void ignorableWhitespace (char[] ch, int start, int length) throws org.xml.sax.SAXException
void processingInstruction (String target, String data) throws org.xml.sax.SAXException
void setDocumentLocator (Locator locator)
void startDocument () throws org.xml.sax.SAXException
void startElement (String name, AttributeList atts) throws org.xml.sax.SAXException
void error (SAXParseException exception) throws org.xml.sax.SAXException
void fatalError (SAXParseException exception) throws org.xml.sax.SAXException
void warning (SAXParseException exception) throws org.xml.sax.SAXException

Protected Member Functions

void setDefaultGroupOrder (Order order)

Detailed Description

A Utility class which will attempt to create an XML Schema Object Model based on a given XML instance document.

Author:
Keith Visco
Version:
Revision:
1.4
Date:
2004/10/01 13:25:27

Constructor & Destructor Documentation

org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.XMLInstance2SchemaHandler (  ) 
org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.XMLInstance2SchemaHandler ( Schema  schema  ) 

Member Function Documentation

void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.characters ( char[]  ch,
int  start,
int  length 
) throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.endDocument (  )  throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.endElement ( String  name  )  throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.error ( SAXParseException  exception  )  throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.fatalError ( SAXParseException  exception  )  throws org.xml.sax.SAXException
Schema org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.getSchema (  ) 

Returns the XML Schema object that is being used by this handler

Returns:
the XML Schema object that is being used by this handler

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

void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.ignorableWhitespace ( char[]  ch,
int  start,
int  length 
) throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.processingInstruction ( String  target,
String  data 
) throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.setDefaultGroupOrder ( Order  order  )  [protected]

This method is used to set the default group type. Either "sequence" or "all". The default is "sequence".

Parameters:
order the default group order to use.

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

void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.setDocumentLocator ( Locator  locator  ) 
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.startDocument (  )  throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.startElement ( String  name,
AttributeList  atts 
) throws org.xml.sax.SAXException
void org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler.warning ( SAXParseException  exception  )  throws org.xml.sax.SAXException

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