org.exist.validation
Class ValidationContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.exist.validation.ValidationContentHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class ValidationContentHandler
- extends DefaultHandler
Simple contenthandler to determine the NamespaceUri of
the document root node.
- Author:
- Dannes Wessels
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
ValidationContentHandler
public ValidationContentHandler()
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class DefaultHandler
- Throws:
SAXException
- See Also:
DefaultHandler.startElement(String,String,String,Attributes)
getNamespaceUri
public String getNamespaceUri()
Copyright (C) Wolfgang Meier. All rights reserved.