本文整理了Java中org.apache.isis.applib.Identifier.<init>()
方法的一些代码示例,展示了Identifier.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.<init>()
方法的具体详情如下:
包路径:org.apache.isis.applib.Identifier
类名称: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());
内容来源于网络,如有侵权,请联系作者删除!