gpt4 book ai didi

org.apache.uima.cas.impl.XmiSerializationSharedData.getOutOfTypeSystemElements()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-19 21:34:40 26 4
gpt4 key购买 nike

本文整理了Java中org.apache.uima.cas.impl.XmiSerializationSharedData.getOutOfTypeSystemElements()方法的一些代码示例,展示了XmiSerializationSharedData.getOutOfTypeSystemElements()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmiSerializationSharedData.getOutOfTypeSystemElements()方法的具体详情如下:
包路径:org.apache.uima.cas.impl.XmiSerializationSharedData
类名称:XmiSerializationSharedData
方法名:getOutOfTypeSystemElements

XmiSerializationSharedData.getOutOfTypeSystemElements介绍

[英]Gets a List of org.apache.uima.cas.impl.XmiSerializationSharedData.OotsElementData objects, each of which describes an incoming XMI element that did not correspond to a Type in the TypeSystem.
[中]获取组织的列表。阿帕奇。尤玛。中科院。impl。XMISerialization共享数据。OotsElementData对象,每个对象都描述一个传入的XMI元素,该元素与TypeSystem中的类型不对应。

代码示例

代码示例来源:origin: apache/uima-uimaj

int getElementCountForSharedData() {
 return (sharedData == null) ? 0 : sharedData.getOutOfTypeSystemElements().size();
}

代码示例来源:origin: org.apache.uima/uimaj-json

@Override
protected void initializeNamespaces() {
 if (cds.sharedData != null &&
   (null != cds.sharedData.getOutOfTypeSystemElements() ||
    cds.sharedData.hasOutOfTypeSystemArrayElements())) {
  throw new UnsupportedOperationException("Can't do JSON serialization "
    + "if there are out-of-type-system elements,"
    + " because there's no type information available (needed for _context)");
 }
}

代码示例来源:origin: apache/uima-uimaj

Iterator<OotsElementData> ootsIter = cds.sharedData.getOutOfTypeSystemElements().iterator();
while (ootsIter.hasNext()) {
 OotsElementData oed = ootsIter.next();

代码示例来源:origin: apache/uima-uimaj

if (cds.sharedData == null)
 return;
Iterator<OotsElementData> it = cds.sharedData.getOutOfTypeSystemElements().iterator();
while (it.hasNext()) {
 OotsElementData oed = it.next();

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com