org.xml.sax.DocumentHandler
, org.xml.sax.ErrorHandler
public final class XMLInstance2SchemaHandler
extends java.lang.Object
implements org.xml.sax.DocumentHandler, org.xml.sax.ErrorHandler
Modifier and Type | Class | Description |
---|---|---|
(package private) class |
XMLInstance2SchemaHandler.StateInfo |
Inner-class to hold state
|
Constructor | Description |
---|---|
XMLInstance2SchemaHandler() |
Creates a new XMLInstance2SchemaHandler
|
XMLInstance2SchemaHandler(Schema schema) |
Creates a new XMLInstance2SchemaHandler
|
Modifier and Type | Method | Description |
---|---|---|
void |
characters(char[] ch,
int start,
int length) |
|
void |
endDocument() |
|
void |
endElement(java.lang.String name) |
|
void |
error(org.xml.sax.SAXParseException exception) |
|
void |
fatalError(org.xml.sax.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(java.lang.String target,
java.lang.String data) |
|
protected void |
setDefaultGroupOrder(Order order) |
This method is used to set the default group type.
|
void |
setDocumentLocator(org.xml.sax.Locator locator) |
|
void |
startDocument() |
|
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList atts) |
|
void |
warning(org.xml.sax.SAXParseException exception) |
public XMLInstance2SchemaHandler()
public XMLInstance2SchemaHandler(Schema schema)
public Schema getSchema()
protected void setDefaultGroupOrder(Order order)
order
- the default group order to use.public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.DocumentHandler
org.xml.sax.SAXException
public void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.DocumentHandler
org.xml.sax.SAXException
public void endElement(java.lang.String name) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.DocumentHandler
org.xml.sax.SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ignorableWhitespace
in interface org.xml.sax.DocumentHandler
org.xml.sax.SAXException
public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
processingInstruction
in interface org.xml.sax.DocumentHandler
org.xml.sax.SAXException
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.DocumentHandler
public void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.DocumentHandler
org.xml.sax.SAXException
public void startElement(java.lang.String name, org.xml.sax.AttributeList atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.DocumentHandler
org.xml.sax.SAXException
public void error(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void fatalError(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
public void warning(org.xml.sax.SAXParseException exception) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com