gpt4 book ai didi

pl.edu.icm.model.bwmeta.y.YStructure.setHierarchy()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 17:36:40 25 4
gpt4 key购买 nike

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

YStructure.setHierarchy介绍

暂无

代码示例

代码示例来源:origin: pl.edu.icm.yadda/bwmeta-import

public void addEmptyStructureToYElement(YElement yelement) {
  YStructure articleStructure = new YStructure();
  // TODO // czy nie trzeba wiecej nic ustawiac?
  articleStructure.setHierarchy(YConstants.EXT_HIERARCHY_JOURNAL);
  yelement.addStructure(articleStructure);
}

代码示例来源:origin: pl.edu.icm.synat/synat-importer-yadda

yElement.addContent(viedoContnentUrl);
YCurrent currentLevel = new YCurrent().setLevel(VideoConstants.VIDEO_CURRENT_LEVEL);
yElement.addStructure(new YStructure().setHierarchy(HierarchyWithLevelIds.EXT_HIERARCHY_PUBLICATION).setCurrent(currentLevel));
NativeDocument nativeDocument = documentFactory.createDocument(recordId.getUid());
Document document = documentFactory.getDocument(nativeDocument, yElement);

代码示例来源:origin: pl.edu.icm.synat/synat-importer-speech-to-text

private void prepareYElementFromApi(Video video, YElement yElement) throws ParseException {
  yElement.addName(new YName(video.getSnippet().getTitle()));
  yElement.addDescription(new YDescription(YLanguage.Undetermined, video.getSnippet().getDescription()
          , DescriptionTypes.DS_SUMMARY));
  
  prepareDate(video, yElement);
  
  String license = video.getStatus().getLicense();
  if(null != license && license.contains("creativeCommon")) {
    yElement.addTagList(new YTagList().setType(YModelUtils.LICENSE).addValue("cc0"));
  }
  
  prepareContent(video, yElement);
  
  List<String> tags = video.getSnippet().getTags();
  if (CollectionUtils.isNotEmpty(tags)) {
    yElement.addTagList(new YTagList().setType(TagTypes.TG_KEYWORD).setValues(tags));
  }
  
  YCurrent currentLevel = new YCurrent().setLevel(VideoConstants.VIDEO_CURRENT_LEVEL);
  yElement.addStructure(new YStructure()
      .setHierarchy(HierarchyWithLevelIds.EXT_HIERARCHY_PUBLICATION)
      .setCurrent(currentLevel));
  
  prepareAttributes(video, yElement);
}

代码示例来源:origin: pl.edu.icm.bwmeta/bwmeta-2-foreign-transformers

structure.setHierarchy(HierarchyWithLevelIds.EXT_HIERARCHY_JOURNAL);

代码示例来源:origin: pl.edu.icm.bwmeta/bwmeta-2-foreign-transformers

structure.setHierarchy(HierarchyWithLevelIds.EXT_HIERARCHY_JOURNAL);
YCurrent current = new YCurrent();
current.setLevel(HierarchyWithLevelIds.EXT_LEVEL_JOURNAL_YEAR);

代码示例来源:origin: pl.edu.icm.bwmeta/bwmeta-2-foreign-transformers

structure.setHierarchy(HierarchyWithLevelIds.EXT_HIERARCHY_JOURNAL);

代码示例来源:origin: pl.edu.icm.bwmeta/bwmeta-2-foreign-transformers

structure.setHierarchy(HierarchyWithLevelIds.EXT_HIERARCHY_JOURNAL);
YCurrent current = new YCurrent();
current.setLevel(HierarchyWithLevelIds.EXT_LEVEL_JOURNAL_ISSUE);

代码示例来源:origin: pl.edu.icm.bwmeta/bwmeta-2-foreign-transformers

structure.setHierarchy(HierarchyWithLevelIds.EXT_HIERARCHY_JOURNAL);
YCurrent current = new YCurrent();
current.setLevel(HierarchyWithLevelIds.EXT_LEVEL_JOURNAL_ARTICLE);

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