本文整理汇总了Java中net.sf.saxon.value.SequenceType类的典型用法代码示例。如果您正苦于以下问题:Java SequenceType类的具体用法?Java SequenceType怎么用?Java SequenceType使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
SequenceType类属于net.sf.saxon.value包,在下文中一共展示了SequenceType类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.makeSequenceType(AnyItemType.getInstance(), StaticProperty.ALLOWS_ZERO_OR_MORE),
SequenceType.OPTIONAL_NODE };
}
示例2: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[]{
SequenceType.SINGLE_STRING,
SequenceType.OPTIONAL_ITEM,
SequenceType.OPTIONAL_INTEGER,
SequenceType.OPTIONAL_STRING,
};
}
示例3: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.makeSequenceType(BuiltInAtomicType.STRING, StaticProperty.ALLOWS_ZERO_OR_MORE),
SequenceType.SINGLE_STRING };
}
示例4: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.makeSequenceType(new JavaExternalObjectType(Connection.class), StaticProperty.ALLOWS_ONE),
SequenceType.SINGLE_STRING
};
}
示例5: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.SINGLE_STRING,
SequenceType.SINGLE_STRING };
}
示例6: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.SINGLE_STRING,
SequenceType.SINGLE_STRING };
}
示例7: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
// commandline, (args), watchdog, async
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.makeSequenceType(BuiltInAtomicType.STRING, StaticProperty.ALLOWS_ZERO_OR_MORE),
SequenceType.OPTIONAL_INTEGER,
SequenceType.SINGLE_BOOLEAN};
}
示例8: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.SINGLE_STRING,
SequenceType.ANY_SEQUENCE,
SequenceType.SINGLE_INTEGER,
SequenceType.SINGLE_INTEGER };
}
示例9: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[] {
SequenceType.SINGLE_STRING,
SequenceType.SINGLE_STRING,
SequenceType.ATOMIC_SEQUENCE,
SequenceType.ATOMIC_SEQUENCE,
SequenceType.ATOMIC_SEQUENCE,
SequenceType.ATOMIC_SEQUENCE,
SequenceType.ATOMIC_SEQUENCE,
SequenceType.ATOMIC_SEQUENCE,
SequenceType.ATOMIC_SEQUENCE,
SequenceType.ATOMIC_SEQUENCE};
}
示例10: getFunctionSignature
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
public SequenceType[] getFunctionSignature(StructuredQName functionName, int arity) {
return myLibrary.getFunctionSignature(functionName, arity);
}
示例11: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[]{SequenceType.SINGLE_STRING, SequenceType.OPTIONAL_STRING};
}
示例12: getResultType
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
int resultCardinality = 1;
return SequenceType.makeSequenceType(SequenceType.SINGLE_STRING.getPrimaryType(), resultCardinality);
}
示例13: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[]{SequenceType.SINGLE_INTEGER, SequenceType.SINGLE_INTEGER};
}
示例14: getResultType
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
int resultCardinality = 1;
return SequenceType.makeSequenceType(SequenceType.SINGLE_INTEGER.getPrimaryType(), resultCardinality);
}
示例15: getArgumentTypes
import net.sf.saxon.value.SequenceType; //导入依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
return new SequenceType[]{SequenceType.SINGLE_STRING};
}