com.raritech.xml.sax.filter
Class ReaderElementReplacer
java.lang.Object
|
+--com.raritech.xml.sax.filter.AbstractElementReplacer
|
+--com.raritech.xml.sax.filter.ReaderElementReplacer
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, ElementComparator, ElementReplacer
- public class ReaderElementReplacer
- extends AbstractElementReplacer
replaces an element with data extracted from a java.io.Reader ( will be character data).
|
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 |
ReaderElementReplacer
public ReaderElementReplacer(ElementComparator comp,
java.io.Reader data)
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)
- Description copied from interface:
ElementReplacer
- Signals that the next endElement call will be the last one handled by this
ElementReplacer.