BEA Systems, Inc.

com.beasys.commerce.util.dom
Class DOMCheck

java.lang.Object
  |
  +--org.xml.sax.HandlerBase
        |
        +--com.beasys.commerce.util.dom.DOMCheck

public class DOMCheck
extends org.xml.sax.HandlerBase

Test utility to verify that an XML parser works against a URI.

Usage: java com.beasys.commerce.util.domDOMCheck uri [sax xml parser]
If the parser isn't specified, it will use the IBM XML4J parser bundled with WLS.


Constructor Summary
DOMCheck()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException ex)
          SAX error handler method.
 void fatalError(org.xml.sax.SAXParseException ex)
          SAX error handler method.
static void main(java.lang.String[] argv)
          Command-line entry point.
 void warning(org.xml.sax.SAXParseException ex)
          SAX error handler method.
 
Methods inherited from class org.xml.sax.HandlerBase
characters, endDocument, endElement, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, startElement, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMCheck

public DOMCheck()
Method Detail

main

public static void main(java.lang.String[] argv)
Command-line entry point.

error

public void error(org.xml.sax.SAXParseException ex)
           throws org.xml.sax.SAXException
SAX error handler method.
Overrides:
error in class org.xml.sax.HandlerBase

fatalError

public void fatalError(org.xml.sax.SAXParseException ex)
                throws org.xml.sax.SAXException
SAX error handler method.
Overrides:
fatalError in class org.xml.sax.HandlerBase

warning

public void warning(org.xml.sax.SAXParseException ex)
SAX error handler method.
Overrides:
warning in class org.xml.sax.HandlerBase

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved