com.simonstl.namespace.attributes
Class AttribReplRulesLoader
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--com.simonstl.namespace.attributes.AttribReplRulesLoader
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- public class AttribReplRulesLoader
- extends org.xml.sax.helpers.DefaultHandler
This class loads the information stored in a rules document for use in namespace replacement. It's based on Ethan Cerami's Xerces Quickstart, available at:
http://ecerami.com/xerces/
Version 0.01 is based on the ElementRulesLoader
class.
- Version:
- 0.01 28 July 2001
- Author:
- Simon St.Laurent
Method Summary |
void |
startElement(java.lang.String uri,
java.lang.String local,
java.lang.String qName,
org.xml.sax.Attributes atts)
|
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rules
public ReplaceNamespaceRules rules
AttribReplRulesLoader
public AttribReplRulesLoader(java.lang.String xmlFile,
org.xml.sax.XMLReader parser)
startElement
public void startElement(java.lang.String uri,
java.lang.String local,
java.lang.String qName,
org.xml.sax.Attributes atts)
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler