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


Java SequenceType.ANY_SEQUENCE属性代码示例

本文整理汇总了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 };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:9,代码来源:SetCacheValue.java

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

示例3: getResultType

@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
	return SequenceType.ANY_SEQUENCE;
}
 
开发者ID:dita-semia,项目名称:dita-semia-resolver,代码行数:4,代码来源:GetKeyDefRootByRefStringDef.java

示例4: getArgumentTypes

@Override
	public SequenceType[] getArgumentTypes() {
		SequenceType[] sequenceType = {SequenceType.ANY_SEQUENCE, SequenceType.ANY_SEQUENCE, SequenceType.SINGLE_ANY_URI};
		return sequenceType;
}
 
开发者ID:dita-semia,项目名称:dita-semia-resolver,代码行数:5,代码来源:GetMatchingKeyDefsDef.java

示例5: getArgumentTypes

@Override
public SequenceType[] getArgumentTypes() {
	SequenceType[] sequenceType = {SequenceType.SINGLE_ELEMENT_NODE, SequenceType.ANY_SEQUENCE};
	return sequenceType;
}
 
开发者ID:dita-semia,项目名称:dita-semia-resolver,代码行数:5,代码来源:GetKeyRefDisplaySuffixDef.java

示例6: getArgumentTypes

@Override
public SequenceType[] getArgumentTypes() {
	SequenceType[] sequenceType = {SequenceType.ANY_SEQUENCE};
	return sequenceType;
}
 
开发者ID:dita-semia,项目名称:dita-semia-resolver,代码行数:5,代码来源:GetKeyDefLocationDef.java

示例7: getResultType

@Override
public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
  return SequenceType.ANY_SEQUENCE;
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:4,代码来源:GetAttribute.java

示例8: getArgumentTypes

@Override
public SequenceType[] getArgumentTypes() {
  return new SequenceType[] { SequenceType.SINGLE_STRING, SequenceType.ANY_SEQUENCE };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:4,代码来源:SetAttribute.java

示例9: getArgumentTypes

@Override
public SequenceType[] getArgumentTypes() {
  return new SequenceType[] { SequenceType.ANY_SEQUENCE, SequenceType.OPTIONAL_NODE };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:4,代码来源:Serialize.java

示例10: getArgumentTypes

@Override
public SequenceType[] getArgumentTypes() {
  return new SequenceType[] { SequenceType.ANY_SEQUENCE };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:4,代码来源:SerializeJSON.java

示例11: getResultType

public SequenceType getResultType(SequenceType[] suppliedArgumentTypes) {
  return SequenceType.ANY_SEQUENCE;
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:3,代码来源:GetAttribute.java

示例12: getArgumentTypes

public SequenceType[] getArgumentTypes() {
  return new SequenceType[] { SequenceType.SINGLE_STRING, SequenceType.ANY_SEQUENCE };
}
 
开发者ID:Armatiek,项目名称:xslweb,代码行数:3,代码来源:SetAttribute.java


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