Examples of OmitElementTransformer


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
Copyright © 2018 www.massapi.com. 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.