use of org.eclipse.wst.xml.xpath2.processor.internal.SeqType in project webtools.sourceediting by eclipse.
the class FnNilled method expected_args.
/**
* Obtain a list of expected arguments.
*
* @return Result of operation.
*/
public static synchronized Collection expected_args() {
if (_expected_args == null) {
_expected_args = new ArrayList();
_expected_args.add(new SeqType(SeqType.OCC_QMARK));
}
return _expected_args;
}
use of org.eclipse.wst.xml.xpath2.processor.internal.SeqType in project webtools.sourceediting by eclipse.
the class FnStringJoin method expected_args.
/**
* Calculate the expected arguments.
*
* @return The expected arguments.
*/
public static synchronized Collection expected_args() {
if (_expected_args == null) {
_expected_args = new ArrayList();
_expected_args.add(new SeqType(new XSString(), SeqType.OCC_STAR));
_expected_args.add(new SeqType(new XSString(), SeqType.OCC_NONE));
}
return _expected_args;
}
use of org.eclipse.wst.xml.xpath2.processor.internal.SeqType in project webtools.sourceediting by eclipse.
the class FnSubstring method expected_args.
/**
* Calculate the expected arguments.
*
* @return The expected arguments.
*/
public static Collection expected_args(Collection actualArgs) {
Collection _expected_args = new ArrayList();
_expected_args.add(new SeqType(new XSString(), SeqType.OCC_QMARK));
_expected_args.add(new SeqType(new XSDouble(), SeqType.OCC_NONE));
// for arity 3
if (actualArgs.size() == 3) {
_expected_args.add(new SeqType(new XSDouble(), SeqType.OCC_NONE));
}
return _expected_args;
}
use of org.eclipse.wst.xml.xpath2.processor.internal.SeqType in project webtools.sourceediting by eclipse.
the class FnTimezoneFromTime method expected_args.
/**
* Obtain a list of expected arguments.
*
* @return Result of operation.
*/
public static synchronized Collection expected_args() {
if (_expected_args == null) {
_expected_args = new ArrayList();
_expected_args.add(new SeqType(new XSTime(), SeqType.OCC_QMARK));
}
return _expected_args;
}
use of org.eclipse.wst.xml.xpath2.processor.internal.SeqType in project webtools.sourceediting by eclipse.
the class FnUpperCase method expected_args.
/**
* Calculate the expected arguments.
*
* @return The expected arguments.
*/
public static synchronized Collection expected_args() {
if (_expected_args == null) {
_expected_args = new ArrayList();
_expected_args.add(new SeqType(new XSString(), SeqType.OCC_QMARK));
}
return _expected_args;
}
Aggregations