Package net.sf.saxon.instruct

Examples of net.sf.saxon.instruct.SimpleContentConstructor


                if (env.isInBackwardsCompatibleMode()) {
                    components.add(makeFirstItem(exp, env));
                } else {
                    components.add(visitor.simplify(
                            new SimpleContentConstructor(exp, new StringLiteral(StringValue.SINGLE_SPACE))));
                }

            } else {
                throw new IllegalStateException("Internal error parsing AVT");
            }
View Full Code Here


                if (env.isInBackwardsCompatibleMode()) {
                    components.add(makeFirstItem(exp, env));
                } else {
                    components.add(visitor.simplify(
                            new SimpleContentConstructor(exp, new StringLiteral(StringValue.SINGLE_SPACE))));
                }

            } else {
                throw new IllegalStateException("Internal error parsing AVT");
            }
View Full Code Here

            separator = new StringLiteral(StringValue.SINGLE_SPACE);
        }
        try {
            if (select != null) {
                inst.setSelect(
                        makeExpressionVisitor().simplify(new SimpleContentConstructor(select, separator)),
                        exec.getConfiguration());
            } else {
                Expression content = compileSequenceConstructor(exec, iterateAxis(Axis.CHILD), true);
                inst.setSelect(
                        makeExpressionVisitor().simplify(new SimpleContentConstructor(content, separator)),
                        exec.getConfiguration());
            }
        } catch (XPathException err) {
            compileError(err);
        }
View Full Code Here

TOP

Related Classes of net.sf.saxon.instruct.SimpleContentConstructor

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.