|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.knowgate.dataxslt.SAXValidate
public class SAXValidate
SAXValidate Class. XML Document Parser Validator.
| Constructor Summary | |
|---|---|
SAXValidate(boolean validateschema)
Construye una instancia de la clase handler |
|
| Method Summary | |
|---|---|
void |
error(org.xml.sax.SAXParseException exception)
|
static void |
main(java.lang.String[] args)
Rutina principal para probar la utilidad SAXValidate. |
void |
runTest(java.io.Reader xml,
java.lang.String parserName)
Ejecuta el test |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ErrorHandler |
|---|
fatalError, warning |
| Constructor Detail |
|---|
public SAXValidate(boolean validateschema)
| Method Detail |
|---|
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
error in interface org.xml.sax.ErrorHandlererror in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic static void main(java.lang.String[] args)
public void runTest(java.io.Reader xml,
java.lang.String parserName)
throws java.io.IOException,
java.lang.ClassNotFoundException
xml - stream xml que se quiere parsearparserName - nombre de una clase parser "SAX2 compliant"
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||