org.apache.isis.applib.Identifier.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(2.9k)|赞(0)|评价(0)|浏览(159)

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

Identifier.<init>介绍

暂无

代码示例

代码示例来源:origin: org.apache.isis.core/isis-core-applib

public static Identifier propertyOrCollectionIdentifier(final String declaringClassName, final String propertyOrCollectionName) {
  return new Identifier(declaringClassName, propertyOrCollectionName, EMPTY_LIST_OF_STRINGS, Type.PROPERTY_OR_COLLECTION);
}

代码示例来源:origin: org.apache.isis/applib

public static Identifier classIdentifier(final String className) {
  return new Identifier(className, "", EMPTY_LIST_OF_STRINGS, Type.CLASS);
}

代码示例来源:origin: org.apache.isis.core/isis-core-applib

public static Identifier actionIdentifier(final String declaringClassName, final String actionName, final List<String> parameterClassNames) {
  return new Identifier(declaringClassName, actionName, parameterClassNames, Type.ACTION);
}

代码示例来源:origin: org.apache.isis/applib

public static Identifier actionIdentifier(final String declaringClassName, final String actionName, final List<String> parameterClassNames) {
  return new Identifier(declaringClassName, actionName, parameterClassNames, Type.ACTION);
}

代码示例来源:origin: org.apache.isis.core/isis-core-applib

public static Identifier classIdentifier(final String className) {
  return new Identifier(className, "", EMPTY_LIST_OF_STRINGS, Type.CLASS);
}

代码示例来源:origin: org.apache.isis/applib

public static Identifier propertyOrCollectionIdentifier(final String declaringClassName, final String propertyOrCollectionName) {
  return new Identifier(declaringClassName, propertyOrCollectionName, EMPTY_LIST_OF_STRINGS, Type.PROPERTY_OR_COLLECTION);
}

代码示例来源:origin: stackoverflow.com

if (resourceElement != null) {
   titleElement = (Element)resourceElement.getElementsByTagName("title").item(0);  
   resource.setTitle( titleElement == null ? "unknown" : titleElement.getTextContent() );
   descriptionElement = (Element)resourceElement.getElementsByTagName("description").item(0);
   resource.setDescription( descriptionElement == null ? "unknown" : descriptionElement.getTextContent() );
   identifierElement = (Element)resourceElement.getElementsByTagName("identifier").item(0);
   if (identifierElement != null) {
     Identifier identifier = new Identifier();
     urlElement = (Element)identifierElement.getElementsByTagName("url").item(0);
     identifier.setURL( urlElement == null ? "unknown" : urlElement.getTextContent() );
     // ADDED THIS LINE HERE
     resource.setIdentifier(identifier);
     subjectElement = (Element)resourceElement.getElementsByTagName("subjects").item(0);
     if (subjectElement != null) {
       subjectList =     subjectElement.getElementsByTagName("subject");
     ....

代码示例来源:origin: stackoverflow.com

return new Identifier(addUnderscores(name.getText()), name.isQuoted());
return new Identifier(addUnderscores(name.getText()), name.isQuoted());

相关文章