本文整理汇总了Java中net.sf.saxon.value.SequenceType.ANY_SEQUENCE属性的典型用法代码示例。如果您正苦于以下问题:Java SequenceType.ANY_SEQUENCE属性的具体用法?Java SequenceType.ANY_SEQUENCE怎么用?Java SequenceType.ANY_SEQUENCE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类net.sf.saxon.value.SequenceType
的用法示例。
在下文中一共展示了SequenceType.ANY_SEQUENCE属性的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.SINGLE_STRING,
SequenceType.ANY_SEQUENCE,
SequenceType.SINGLE_INTEGER,
SequenceType.SINGLE_INTEGER };
}
示例2: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
// 1/ element(http:request)
final int one = StaticProperty.EXACTLY_ONE;
final int kind = Type.ELEMENT;
final String uri = HttpConstants.HTTP_CLIENT_NS_URI;
final NamePool pool = myConfig.getNamePool();
final ItemType itype = new NameTest(kind, uri, "request", pool);
SequenceType stype1 = SequenceType.makeSequenceType(itype, one); // 2/ xs:string?
SequenceType stype2 = SequenceType.OPTIONAL_STRING; // 3/ item()*
SequenceType stype3 = SequenceType.ANY_SEQUENCE; // 1/, 2/ and 3/
return new SequenceType[] { stype1, stype2, stype3 };
}
示例3: getResultType
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
return SequenceType.ANY_SEQUENCE;
}
示例4: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
SequenceType[] sequenceType = {SequenceType.ANY_SEQUENCE, SequenceType.ANY_SEQUENCE, SequenceType.SINGLE_ANY_URI};
return sequenceType;
}
示例5: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
SequenceType[] sequenceType = {SequenceType.SINGLE_ELEMENT_NODE, SequenceType.ANY_SEQUENCE};
return sequenceType;
}
示例6: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
SequenceType[] sequenceType = {SequenceType.ANY_SEQUENCE};
return sequenceType;
}
示例7: getResultType
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
return SequenceType.ANY_SEQUENCE;
}
示例8: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] { SequenceType.SINGLE_STRING, SequenceType.ANY_SEQUENCE };
}
示例9: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] { SequenceType.ANY_SEQUENCE, SequenceType.OPTIONAL_NODE };
}
示例10: getArgumentTypes
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] { SequenceType.ANY_SEQUENCE };
}
示例11: getResultType
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
return SequenceType.ANY_SEQUENCE;
}
示例12: getArgumentTypes
public SequenceType[] getArgumentTypes() {
return new SequenceType[] { SequenceType.SINGLE_STRING, SequenceType.ANY_SEQUENCE };
}