istack-commons.src.main.java.com.sun.istack.FragmentContentHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ehcache Show documentation
Show all versions of ehcache Show documentation
Ehcache is an open source, standards-based cache used to boost performance,
offload the database and simplify scalability. Ehcache is robust, proven and full-featured and
this has made it the most widely-used Java-based cache.
package com.sun.istack;
import org.xml.sax.helpers.XMLFilterImpl;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import org.xml.sax.ContentHandler;
/**
* {@link XMLFilterImpl} that masks start/end document SAX events.
* @author Kohsuke Kawaguchi
*/
public class FragmentContentHandler extends XMLFilterImpl {
public FragmentContentHandler() {
}
public FragmentContentHandler(XMLReader parent) {
super(parent);
}
public FragmentContentHandler(ContentHandler handler) {
super();
setContentHandler(handler);
}
public void startDocument() throws SAXException {
// noop
}
public void endDocument() throws SAXException {
// noop
}
}