All Downloads are FREE. Search and download functionalities are using the official Maven repository.

istack-commons.src.main.java.com.sun.istack.FragmentContentHandler Maven / Gradle / Ivy

Go to download

Old JAXB Runtime module. Contains sources required for runtime processing.

There is a newer version: 4.0.5
Show newest version
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
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy