- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中pl.edu.icm.model.bwmeta.y.YDescription.getRichText()
方法的一些代码示例,展示了YDescription.getRichText()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YDescription.getRichText()
方法的具体详情如下:
包路径:pl.edu.icm.model.bwmeta.y.YDescription
类名称:YDescription
方法名:getRichText
暂无
代码示例来源:origin: pl.edu.icm.synat/synat-business-services-api
public static String getDefaultDescriptionString(AbstractNDA<?> element, YLanguage language) {
final YDescription defaultDescription = getDefaultDescription(element, language);
if (defaultDescription != null) {
return yRichTextToString(defaultDescription.getRichText());
} else {
return "";
}
}
代码示例来源:origin: pl.edu.icm.synat/synat-portal-core
/**
* Method for preparation of Abstracts list, and additional flag if
* generated abstract was shortened for displaying, with specified language
*
* @param yElement
* Ymodel element
* @param language
* language to display
* @return List of Abstracts in yElement
*/
private FilteredString prepareAbstract(YElement yElement, final YLanguage language) {
final YDescription defaultDescription = YModelUtils.getDefaultDescription(yElement, language);
if (defaultDescription == null) {
return null;
}
YRichText descriptionText = defaultDescription.getRichText();
return buildFilteredString(descriptionText);
}
代码示例来源:origin: pl.edu.icm.yadda/bwmeta-import
private static YElement correctDescriptionsByScRemoval(YElement yelement) {
for(YDescription yd : yelement.getDescriptions()){
removeGivenTag("sc", yd.getRichText().toParts());
}
return yelement;
}
代码示例来源:origin: pl.edu.icm.yadda/yadda-analysis-impl
private static YElement correctDescriptionsByScRemoval(YElement yelement) {
for(YDescription yd : yelement.getDescriptions()){
removeGivenTag("sc", yd.getRichText().toParts());
}
return yelement;
}
代码示例来源:origin: pl.edu.icm.yadda/yaddaweb-lite-core
protected List<LocalizedString> getDescription(YInstitution element,
IFilteringContext filteringContext, String type) {
List<LocalizedString> result = new ArrayList<LocalizedString>();
for (YDescription description : element.getDescriptions()) {
if (type.equals(description.getType())) {
result.add(new LocalizedString(languageDictionary.getShortDescription(
description.getLanguage().getShortCode()),
detailsFilter.filter(YRTHelper.toXmlFragment(description.getRichText()), InputType.RICH_TEXT,
filteringContext)));
}
}
return result;
}
代码示例来源:origin: pl.edu.icm.yadda/yaddaweb-lite-core
protected List<LocalizedString> getDescription(YElement element,
IFilteringContext filteringContext, String type) {
List<LocalizedString> result = new ArrayList<LocalizedString>();
for (YDescription description : element.getDescriptions()) {
if (type.equals(description.getType())) {
result.add(new LocalizedString(languageDictionary.getShortDescription(
description.getLanguage().getShortCode()),
detailsFilter.filter(YRTHelper.toXmlFragment(description.getRichText()), InputType.RICH_TEXT,
filteringContext)));
}
}
return result;
}
代码示例来源:origin: pl.edu.icm.yadda.repowebeditor/repository-web-editor-core
private LocalizedString convertIntoLocalizedStringFrom(YDescription description){
return new LocalizedString(getLangCodeFor(description.getLanguage()), YRTHelper.toXmlFragmentWithoutNamespaces(description.getRichText()));
}
代码示例来源:origin: pl.edu.icm.yadda/yaddaweb-lite-core
YRichText yRichText = description.getRichText();
if(isSimple(yRichText)){
page.setContent(description.getText());
代码示例来源:origin: pl.edu.icm.synat/synat-portal-core
result.addDescription(new LanguageData(description.getLanguage()), YModelUtils.yRichTextToString(description.getRichText()));
本文整理了Java中pl.edu.icm.model.bwmeta.y.YDescription.getRichText()方法的一些代码示例,展示了YDescription.getRichText(
本文整理了Java中pl.edu.icm.model.bwmeta.y.YName.getRichText()方法的一些代码示例,展示了YName.getRichText()的具体用法。这些代码示例主
我是一名优秀的程序员,十分优秀!