Package net.sf.saxon.instruct

Examples of net.sf.saxon.instruct.ValueOf


                } else {
                    separator = new StringLiteral(StringValue.SINGLE_SPACE);
                }
            }
        }
        ValueOf inst = new ValueOf(select, disable, false);
        compileContent(exec, inst, separator);
        return inst;
    }
View Full Code Here


                                        numberer,
                                        hasVariablesInPatterns,
                                        backwardsCompatibleModeIsEnabled());
        int loc = getStaticContext().getLocationMap().allocateLocationId(getSystemId(), getLineNumber());
        expr.setLocationId(loc);
        ValueOf inst = new ValueOf(expr, false, false);
        inst.setLocationId(allocateLocationId(getSystemId(), getLineNumber()));
        inst.setIsNumberingInstruction();
        return inst;
    }
View Full Code Here

                                        lang,
                                        formatter,
                                        numberer,
                                        hasVariablesInPatterns );
        ExpressionTool.makeParentReferences(expr);
        ValueOf inst = new ValueOf(expr, false);
        ExpressionTool.makeParentReferences(inst);
        // TODO: set instruction name for diagnostics
        return inst;
    }
View Full Code Here

                } else {
                    separator = new StringValue(" ");
                }
            }
        }
        ValueOf inst = new ValueOf(select, disable);
        compileContent(exec, inst);
        inst.setSeparator(separator);
        ExpressionTool.makeParentReferences(inst);
        return inst;
    }
View Full Code Here

        //checkWithinTemplate();
        checkEmpty();
    }

    public Expression compile(Executable exec) throws XPathException {
        ValueOf text = new ValueOf(new StringLiteral('&' + nameAttribute + ';'), true, false);
//        try {
//            text.setSelect(new StringValue('&' + nameAttribute + ';'));
//        } catch (StaticError err) {
//            compileError(err);
//        }
View Full Code Here

                                        numberer,
                                        hasVariablesInPatterns,
                                        backwardsCompatibleModeIsEnabled());
        int loc = getStaticContext().getLocationMap().allocateLocationId(getSystemId(), getLineNumber());
        expr.setLocationId(loc);
        ValueOf inst = new ValueOf(expr, false, false);
        inst.setLocationId(allocateLocationId(getSystemId(), getLineNumber()));
        inst.setIsNumberingInstruction();
        return inst;
    }
View Full Code Here

    protected String getErrorCodeForSelectPlusContent() {
        return null;     // not applicable
    }

    public Expression compile(Executable exec) throws XPathException {
        return new ValueOf(Literal.makeLiteral(value), disable, false);
    }
View Full Code Here

                } else {
                    separator = new StringLiteral(StringValue.SINGLE_SPACE);
                }
            }
        }
        ValueOf inst = new ValueOf(select, disable, false);
        compileContent(exec, inst, separator);
        return inst;
    }
View Full Code Here

TOP

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

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.