- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelLocator
类的一些代码示例,展示了ZenModelLocator
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZenModelLocator
类的具体详情如下:
包路径:com.reprezen.genflow.api.zenmodel.ZenModelLocator
类名称:ZenModelLocator
暂无
代码示例来源:origin: com.reprezen.genflow/genflow-api
@Override
public ILocator<ZenModel> getLocator(ZenModel model) {
return new ZenModelLocator(model);
}
代码示例来源:origin: com.reprezen.genflow/rapidml-jaxrs
protected void initZenElement2ClassName(final ZenModel model, final Resource resource) {
try {
final GenTemplateTrace trace = this.context.getPrerequisiteTrace(JaxRsGenTemplate.JAXB_DEPENDENCY);
final Collection<GenTemplateTraceItem> jaxbClassItems = GenTemplateTraceUtils.getTraceItemsOfType(trace, "jaxbClass");
final ZenModelLocator zenModelLocator = new ZenModelLocator(model);
for (final GenTemplateTraceItem item : jaxbClassItems) {
{
final String jaxbClassName = item.getProperties().get("jaxbClassName");
final String jaxbPackageName = item.getProperties().get("jaxbPackageName");
final Collection<GenTemplateTraceSourceItem> sourceItems = Collections2.<GenTemplateTraceSourceItem>filter(item.getSources(),
GenTemplateTraceUtils.hasSourceRole("sourceData"));
final GenTemplateTraceSourceItem sourceItem = Iterables.<GenTemplateTraceSourceItem>getFirst(sourceItems, null);
if ((sourceItem != null)) {
final String locator = sourceItem.getLocator();
final EObject zenElement = zenModelLocator.dereferenceEObject(locator);
this.zenElement2ClassQName.put(zenElement, "jaxbClassName", jaxbClassName);
this.zenElement2ClassQName.put(zenElement, "jaxbPackageName", jaxbPackageName);
}
}
}
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
代码示例来源:origin: com.reprezen.genflow/rapidml-wadl
public TraceHelper(final IGenTemplateContext context, final ZenModel model) {
try {
this.context = context;
ZenModelLocator _zenModelLocator = new ZenModelLocator(model);
this.locator = _zenModelLocator;
this.xsdTrace = context.getPrerequisiteTrace("xsdGenerator");
List<GenTemplateTraceItem> _traceItemsOfType = GenTemplateTraceUtils.getTraceItemsOfType(this.xsdTrace, "namesInSchema");
for (final GenTemplateTraceItem item : _traceItemsOfType) {
this.namesItems.put(item.getLocator(), item);
}
EList<ResourceAPI> _resourceAPIs = model.getResourceAPIs();
for (final ResourceAPI api : _resourceAPIs) {
this.apiItems.put(api, GenTemplateTraceUtils.getTraceItem(this.xsdTrace, "resourceAPI", "sourceData", this.locator.<ResourceAPI>locate(api)));
}
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}
}
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelLocator类的一些代码示例,展示了ZenModelLocator类的具体用法。这些代码示例主
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelOutputItem类的一些代码示例,展示了ZenModelOutputItem类的具体用法。这
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelLocator.()方法的一些代码示例,展示了ZenModelLocator.()的具体用法。这
本文整理了Java中com.reprezen.genflow.api.zenmodel.ZenModelOutputItem.init()方法的一些代码示例,展示了ZenModelOutputItem
我是一名优秀的程序员,十分优秀!