com.raritech.xml.sax.filter
Class SAXElementReplacer

java.lang.Object
  |
  +--com.raritech.xml.sax.filter.AbstractElementReplacer
        |
        +--com.raritech.xml.sax.filter.SAXElementReplacer
All Implemented Interfaces:
org.xml.sax.ContentHandler, ElementComparator, ElementReplacer

public class SAXElementReplacer
extends AbstractElementReplacer

replaces an element with XML


Constructor Summary
SAXElementReplacer(ElementComparator comp, java.lang.String xmlSource)
           
 
Method Summary
 void elementEnding(org.xml.sax.ContentHandler cHandler)
          Signals that the next endElement call will be the last one handled by this ElementReplacer.
 void elementStarting(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs, org.xml.sax.ContentHandler cHandler)
           
 
Methods inherited from class com.raritech.xml.sax.filter.AbstractElementReplacer
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, matchesData, matchesPath, matchesTag, needsData, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXElementReplacer

public SAXElementReplacer(ElementComparator comp,
                          java.lang.String xmlSource)
Method Detail

elementStarting

public void elementStarting(java.lang.String uri,
                            java.lang.String localName,
                            java.lang.String qName,
                            org.xml.sax.Attributes attrs,
                            org.xml.sax.ContentHandler cHandler)

elementEnding

public void elementEnding(org.xml.sax.ContentHandler cHandler)
Signals that the next endElement call will be the last one handled by this ElementReplacer.