use of org.eclipse.wst.xml.xpath2.processor.internal.types.SimpleAtomicItemTypeImpl in project webtools.sourceediting by eclipse.
the class AbstractPsychoPathTest method setVariable.
protected void setVariable(String name, ResultSequence values) {
if (useNewApi) {
staticContextBuilder.withVariable(new javax.xml.namespace.QName(name), new SimpleAtomicItemTypeImpl(BuiltinTypeLibrary.XS_ANYATOMICTYPE, ItemType.OCCURRENCE_NONE_OR_MANY));
dynamicContextBuilder.withVariable(new javax.xml.namespace.QName(name), values);
} else {
dynamicContext.set_variable(new QName(name), values);
}
}
Aggregations