当前位置: 首页>>代码示例>>Java>>正文


Java SequenceType.makeSequenceType方法代码示例

本文整理汇总了Java中net.sf.saxon.value.SequenceType.makeSequenceType方法的典型用法代码示例。如果您正苦于以下问题:Java SequenceType.makeSequenceType方法的具体用法?Java SequenceType.makeSequenceType怎么用?Java SequenceType.makeSequenceType使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在net.sf.saxon.value.SequenceType的用法示例。


在下文中一共展示了SequenceType.makeSequenceType方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: 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 
  };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:8,代码来源:ExecuteQuery.java

示例2: 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 };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:8,代码来源:Log.java

示例3: getArgumentTypes

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@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 };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:14,代码来源:SendRequestFunction.java

示例4: 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 };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:8,代码来源:WriteTextLines.java

示例5: 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.SINGLE_NODE };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:8,代码来源:Append.java

示例6: 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);
}
 
开发者ID:HydAu,项目名称:Camel,代码行数:6,代码来源:MyExtensionFunction2.java

示例7: 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);
}
 
开发者ID:HydAu,项目名称:Camel,代码行数:6,代码来源:MyExtensionFunction1.java

示例8: getResultType

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
  return SequenceType.makeSequenceType(new JavaExternalObjectType(Connection.class), StaticProperty.ALLOWS_ONE);
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:5,代码来源:GetConnection.java

示例9: getArgumentTypes

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
  return new SequenceType[]{SequenceType.makeSequenceType(AnyItemType.getInstance(), StaticProperty.ALLOWS_ZERO_OR_ONE)};
}
 
开发者ID:Fivium,项目名称:FOXopen,代码行数:5,代码来源:PluginURIFunction.java

示例10: getArgumentTypes

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {
  return new SequenceType[] { 
      SequenceType.makeSequenceType(new JavaExternalObjectType(AutoCloseable.class), StaticProperty.ALLOWS_ONE) 
  };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:7,代码来源:Close.java

示例11: getArgumentTypes

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {    
  return new SequenceType[] { SequenceType.SINGLE_STRING, 
      SequenceType.makeSequenceType(BuiltInAtomicType.DATE_TIME, StaticProperty.ALLOWS_ONE) };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:6,代码来源:AddDateHeader.java

示例12: getArgumentTypes

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType[] getArgumentTypes() {    
  return new SequenceType[] { 
      SequenceType.SINGLE_STRING, 
      SequenceType.makeSequenceType(BuiltInAtomicType.BASE64_BINARY, StaticProperty.EXACTLY_ONE) };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:7,代码来源:WriteBinary.java

示例13: getResultType

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {    
  return SequenceType.makeSequenceType(BuiltInAtomicType.STRING, StaticProperty.ALLOWS_ZERO_OR_MORE);
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:5,代码来源:ReadTextLines.java

示例14: getResultType

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
  return SequenceType.makeSequenceType(NodeKindTest.DOCUMENT, StaticProperty.EXACTLY_ONE);    
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:5,代码来源:Parse.java

示例15: getResultType

import net.sf.saxon.value.SequenceType; //导入方法依赖的package包/类
@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {    
  return SequenceType.makeSequenceType(BuiltInAtomicType.DATE_TIME, StaticProperty.EXACTLY_ONE);
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:5,代码来源:LastModified.java


注:本文中的net.sf.saxon.value.SequenceType.makeSequenceType方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。