Package client.net.sf.saxon.ce.expr.instruct

Examples of client.net.sf.saxon.ce.expr.instruct.Executable


     * @param visitor an ExpressionVisitor
     */

    public void refineVariableType(
            ItemType type, int cardinality, Value constantValue, int properties, ExpressionVisitor visitor) {
        Executable exec = visitor.getExecutable();
        if (exec == null) {
            // happens during use-when evaluation
            return;
        }
        TypeHierarchy th = exec.getConfiguration().getTypeHierarchy();
        ItemType oldItemType = getItemType(th);
        ItemType newItemType = oldItemType;
        if (th.isSubType(type, oldItemType)) {
            newItemType = type;
        }
View Full Code Here


        try {

            PreparedStylesheet pss = getPreparedStylesheet();
            //Configuration config = pss.getConfiguration();
            Executable exec = pss.getExecutable();

            // Register template rules with the rule manager

            for (int i = 0; i < topLevel.size(); i++) {
                Declaration decl = topLevel.get(i);
View Full Code Here

     * rules defined in xsl:strip-space are managed in the same way as template rules,
     * hence the use of a special Mode object
     */

    protected StripSpaceRules getStripperRules() {
        Executable exec = getPreparedStylesheet().getExecutable();
        if (exec.getStripperRules() == null) {
            exec.setStripperRules(new StripSpaceRules());
        }
        return exec.getStripperRules();
    }
View Full Code Here

        FunctionLibraryList lib = new FunctionLibraryList();
        lib.addFunctionLibrary(SystemFunctionLibrary.getSystemFunctionLibrary(
                StandardFunction.CORE|StandardFunction.USE_WHEN));
        lib.addFunctionLibrary(ConstructorFunctionLibrary.getInstance());
        functionLibrary = lib;
        executable = new Executable(config);
    }
View Full Code Here

TOP

Related Classes of client.net.sf.saxon.ce.expr.instruct.Executable

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.