Package org.apache.commons.jxpath.ri.axes

Examples of org.apache.commons.jxpath.ri.axes.InitialContext


        EvalContext rootContext;
        if (isAbsolute()) {
            rootContext = context.getRootContext().getAbsoluteRootContext();
        }
        else {
            rootContext = new InitialContext(context);
        }
        return evalSteps(rootContext);
    }
View Full Code Here


        EvalContext rootContext;
        if (isAbsolute()) {
            rootContext = context.getRootContext().getAbsoluteRootContext();
        }
        else {
            rootContext = new InitialContext(context);
        }
        return getSingleNodePointerForSteps(rootContext);
    }
View Full Code Here

    private synchronized NodePointer getAbsoluteRootPointer() {
        return (NodePointer) rootPointer.clone();
    }

    private EvalContext getEvalContext() {
        return new InitialContext(
            new RootContext(this, (NodePointer) getContextPointer()));
    }
View Full Code Here

        return new InitialContext(
            new RootContext(this, (NodePointer) getContextPointer()));
    }

    public EvalContext getAbsoluteRootContext() {
        return new InitialContext(
            new RootContext(this, getAbsoluteRootPointer()));
    }
View Full Code Here

        EvalContext rootContext;
        if (isAbsolute()) {
            rootContext = context.getRootContext().getAbsoluteRootContext();
        }
        else {
            rootContext = new InitialContext(context);
        }
        return evalSteps(rootContext);
    }
View Full Code Here

        EvalContext rootContext;
        if (isAbsolute()) {
            rootContext = context.getRootContext().getAbsoluteRootContext();
        }
        else {
            rootContext = new InitialContext(context);
        }
        return getSingleNodePointerForSteps(rootContext);
    }
View Full Code Here

    /**
     * Get the evaluation context.
     * @return EvalContext
     */
    private EvalContext getEvalContext() {
        return new InitialContext(new RootContext(this,
                (NodePointer) getContextPointer()));
    }
View Full Code Here

    /**
     * Get the absolute root context.
     * @return EvalContext
     */
    public EvalContext getAbsoluteRootContext() {
        return new InitialContext(new RootContext(this,
                getAbsoluteRootPointer()));
    }
View Full Code Here

    protected EvalContext buildContextChain(
            EvalContext context,
            int stepCount,
            boolean createInitialContext) {
        if (createInitialContext) {
            context = new InitialContext(context);
        }
        if (steps.length == 0) {
            return context;
        }
        for (int i = 0; i < stepCount; i++) {
View Full Code Here

            rootContext = context.getRootContext();
        }
        else {
            rootContext = context;
        }
        return evalSteps(new InitialContext(rootContext));
    }
View Full Code Here

TOP

Related Classes of org.apache.commons.jxpath.ri.axes.InitialContext

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.