Package org.apache.cocoon.xml

Examples of org.apache.cocoon.xml.NamespacesTable


    public DOMBuilder( Node parentNode ) {
        // Set the document as the owner of this node
        this.document = parentNode.getOwnerDocument();
        // Create a namespace table
        this.namespaces = new NamespacesTable();
        // Set the current node
        this.current = parentNode;
        // Go directly to BODY state
        this.state = S_BODY;
    }
View Full Code Here


     */
    public void startDocument()
            throws SAXException {
        if ( state != S_AVAIL ) throw new SAXException( "Invalid state" + location() );
        // Create the namespaces table
        this.namespaces = new NamespacesTable();
        // Create a new Document empty document object
        this.document = this.factory.newDocument();
        // Set the current node
        this.current = this.document;
        // Do a state change
View Full Code Here

        /* Init transformer state */
        if (this.pipe.parallel) {
            this.environment = CocoonComponentManager.getCurrentEnvironment();
            this.processor = CocoonComponentManager.getCurrentProcessor();
        }
        this.namespaces = new NamespacesTable();
        this.resolver = resolver;
        this.validity = null;

        // Set root include pipe as consumer.
        // Won't use setter methods here - they are overridden
View Full Code Here

        /* Init transformer state */
        if (this.pipe.parallel) {
            this.environment = CocoonComponentManager.getCurrentEnvironment();
            this.processor = CocoonComponentManager.getCurrentProcessor();
        }
        this.namespaces = new NamespacesTable();
        this.resolver = resolver;
        this.validity = null;

        // Set root include pipe as consumer.
        // Won't use setter methods here - they are overridden
View Full Code Here

        /* Init transformer state */
        if (this.pipe.parallel) {
            this.environment = CocoonComponentManager.getCurrentEnvironment();
            this.processor = CocoonComponentManager.getCurrentProcessor();
        }
        this.namespaces = new NamespacesTable();
        this.resolver = resolver;
        this.validity = null;

        // Set root include pipe as consumer.
        // Won't use setter methods here - they are overridden
View Full Code Here

    throws ProcessingException, SAXException, IOException {
        // Read parameters
        this.m_parallel = parameters.getParameterAsBoolean("parallel", this.defaultParallel);

        // Init transformer state
        this.m_namespaces = new NamespacesTable();
        this.m_resolver = resolver;
        this.m_validity = null;
        this.x_parameters = null;
        this.x_value = null;
        this.m_buffering = false;
View Full Code Here

        /* Init transformer state */
        if (this.pipe.parallel) {
            this.environment = CocoonComponentManager.getCurrentEnvironment();
            this.processor = CocoonComponentManager.getCurrentProcessor();
        }
        this.namespaces = new NamespacesTable();
        this.resolver = resolver;
        this.validity = null;

        // Set root include pipe as consumer.
        // Won't use setter methods here - they are overridden
View Full Code Here

    }

    public ExpressionContext(ExpressionContext closure) {
        this.closure = closure;
        if (closure == null) {
            this.namespaces = new NamespacesTable();
        } else {
            // Reuse the parent one. Users of the context should correctly enter and leave namespace scopes.
            this.namespaces = closure.namespaces;
        }
    }
View Full Code Here

        /* Init transformer state */
        if (this.pipe.parallel) {
            this.environment = CocoonComponentManager.getCurrentEnvironment();
            this.processor = CocoonComponentManager.getCurrentProcessor();
        }
        this.namespaces = new NamespacesTable();
        this.resolver = resolver;
        this.validity = null;

        // Set root include pipe as consumer.
        // Won't use setter methods here - they are overridden
View Full Code Here

    }

    public ExpressionContext(ExpressionContext closure) {
        this.closure = closure;
        if (closure == null) {
            this.namespaces = new NamespacesTable();
        } else {
            // Reuse the parent one. Users of the context should correctly enter and leave namespace scopes.
            this.namespaces = closure.namespaces;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.cocoon.xml.NamespacesTable

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.