|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler
public final class XMLInstance2SchemaHandler
A Utility class which will attempt to create an XML Schema Object Model based on a given XML instance document.
| 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLInstance2SchemaHandler()
public XMLInstance2SchemaHandler(Schema schema)
| Method Detail |
|---|
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 SAXException
characters in interface DocumentHandlerSAXException
public void endDocument()
throws SAXException
endDocument in interface DocumentHandlerSAXException
public void endElement(String name)
throws SAXException
endElement in interface DocumentHandlerSAXException
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface DocumentHandlerSAXException
public void processingInstruction(String target,
String data)
throws SAXException
processingInstruction in interface DocumentHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface DocumentHandler
public void startDocument()
throws SAXException
startDocument in interface DocumentHandlerSAXException
public void startElement(String name,
AttributeList atts)
throws SAXException
startElement in interface DocumentHandlerSAXException
public void error(SAXParseException exception)
throws SAXException
error in interface ErrorHandlerSAXException
public void fatalError(SAXParseException exception)
throws SAXException
fatalError in interface ErrorHandlerSAXException
public void warning(SAXParseException exception)
throws SAXException
warning in interface ErrorHandlerSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||