org.exolab.castor.xml.schema.util
public final class XMLInstance2SchemaHandler extends Object implements DocumentHandler, ErrorHandler
Version: $Revision: 5961 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
Nested Class Summary | |
---|---|
class | XMLInstance2SchemaHandler.StateInfo
Inner-class to hold state
|
Constructor Summary | |
---|---|
XMLInstance2SchemaHandler()
Creates a new XMLInstance2SchemaHandler
| |
XMLInstance2SchemaHandler(Schema schema)
Creates a new XMLInstance2SchemaHandler
|
Method Summary | |
---|---|
void | characters(char[] ch, int start, int length) |
void | endDocument() |
void | endElement(String name) |
void | error(SAXParseException exception) |
void | fatalError(SAXParseException exception) |
Schema | getSchema()
Returns the XML Schema object that is being used by this handler
|
void | ignorableWhitespace(char[] ch, int start, int length) |
void | processingInstruction(String target, String data) |
protected void | setDefaultGroupOrder(Order order)
This method is used to set the default group type. |
void | setDocumentLocator(Locator locator) |
void | startDocument() |
void | startElement(String name, AttributeList atts) |
void | warning(SAXParseException exception) |
Returns: the XML Schema object that is being used by this handler
Parameters: order the default group order to use.