Package org.apache.cocoon.stax.stress.src

Examples of org.apache.cocoon.stax.stress.src.OmitElementTransformer


     */
    @Test
    public void testHugeInSmallOut() throws Exception {
        Pipeline<StAXPipelineComponent> pipe = new NonCachingPipeline<StAXPipelineComponent>();
        pipe.addComponent(new GeneratingStarter("root", "element", this.TEST_SIZE));
        pipe.addComponent(new OmitElementTransformer("element", new ArrayList<Attribute>()));
        pipe.addComponent(new XMLSerializer());

        ByteArrayOutputStream out = new ByteArrayOutputStream();
        pipe.setup(out);
        pipe.execute();
View Full Code Here

TOP

Related Classes of org.apache.cocoon.stax.stress.src.OmitElementTransformer

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.