net.sf.fikin.sql.core
Class MultipleXmlFiles.FileUrlParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
net.sf.fikin.sql.core.SimpleXmlFile.SimpleSAXParser
net.sf.fikin.sql.core.MultipleXmlFiles.FileUrlParser
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- Enclosing class:
- MultipleXmlFiles
public class MultipleXmlFiles.FileUrlParser
- extends SimpleXmlFile.SimpleSAXParser
recognizes only SimpleXmlFile.getTag()
or
MultipleXmlFiles.getUrlTag()
tag and extract
its characters if any
nested tags would cause SAXException
created on Dec 17, 2006
- Since:
- Version:
- $Revision: 1.7 $
- Author:
- fiykov
Method Summary |
protected void |
execute(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String cmd)
execute the given command via SQLPipeElement#execute(String) |
protected boolean |
matchTag(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
match any of two tags |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleXmlFiles.FileUrlParser
public MultipleXmlFiles.FileUrlParser()
matchTag
protected boolean matchTag(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
- match any of two tags
- Overrides:
matchTag
in class SimpleXmlFile.SimpleSAXParser
execute
protected void execute(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
java.lang.String cmd)
throws java.sql.SQLException,
org.xml.sax.SAXException
- execute the given command via
SQLPipeElement#execute(String)
- Overrides:
execute
in class SimpleXmlFile.SimpleSAXParser
- Parameters:
cmd
-
- Throws:
java.sql.SQLException
org.xml.sax.SAXException
Copyright © 2003-2007 Nikolay Fiykov. All Rights Reserved.