Package org.apache.cocoon.sax

Examples of org.apache.cocoon.sax.AbstractSAXSerializer


    @Test
    public void execSAXBufferGenerator() throws Exception {
        Pipeline<SAXPipelineComponent> pipeline = new NonCachingPipeline<SAXPipelineComponent>();
        pipeline.addComponent(new XMLGenerator(VALID_XML_STRING));
        final SAXBuffer saxBuffer = new SAXBuffer();
        pipeline.addComponent(new AbstractSAXSerializer() {

            @Override
            public void setup(Map<String, Object> inputParameters) {
                super.setup(inputParameters);
                this.contentHandler = saxBuffer;
View Full Code Here

TOP

Related Classes of org.apache.cocoon.sax.AbstractSAXSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.