本文整理汇总了Java中com.sun.tools.internal.ws.api.TJavaGeneratorExtension类的典型用法代码示例。如果您正苦于以下问题:Java TJavaGeneratorExtension类的具体用法?Java TJavaGeneratorExtension怎么用?Java TJavaGeneratorExtension使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TJavaGeneratorExtension类属于com.sun.tools.internal.ws.api包,在下文中一共展示了TJavaGeneratorExtension类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: init
import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; //导入依赖的package包/类
public void init(Model model, WsimportOptions options, ErrorReceiver receiver, TJavaGeneratorExtension... extensions) {
init(model, options, receiver);
extensionHandlers = new ArrayList<TJavaGeneratorExtension>();
// register handlers for default extensions
// 2.2 Spec requires generation of @Action when wsam:Action is explicitly stated in wsdl
if (options.target.isLaterThan(Options.Target.V2_2)) {
register(new W3CAddressingJavaGeneratorExtension());
}
for (TJavaGeneratorExtension j : extensions) {
register(j);
}
this.extension = new JavaGeneratorExtensionFacade(extensionHandlers.toArray(new TJavaGeneratorExtension[extensionHandlers.size()]));
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:18,代码来源:SeiGenerator.java
示例2: SeiGenerator
import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; //导入依赖的package包/类
private SeiGenerator(Model model, WsimportOptions options, ErrorReceiver receiver, TJavaGeneratorExtension... extensions) {
super(model, options, receiver);
extensionHandlers = new ArrayList<TJavaGeneratorExtension>();
// register handlers for default extensions
// 2.2 Spec requires generation of @Action when wsam:Action is explicitly stated in wsdl
if (options.target.isLaterThan(Options.Target.V2_2)) {
register(new W3CAddressingJavaGeneratorExtension());
}
for (TJavaGeneratorExtension j : extensions)
register(j);
this.extension = new JavaGeneratorExtensionFacade(extensionHandlers.toArray(new TJavaGeneratorExtension[0]));
}
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:17,代码来源:SeiGenerator.java
示例3: generate
import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; //导入依赖的package包/类
public static void generate(Model model, WsimportOptions options, ErrorReceiver receiver, TJavaGeneratorExtension... extensions){
SeiGenerator seiGenerator = new SeiGenerator();
seiGenerator.init(model, options, receiver, extensions);
seiGenerator.doGeneration();
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:SeiGenerator.java
示例4: register
import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; //导入依赖的package包/类
private void register(TJavaGeneratorExtension h) {
extensionHandlers.add(h);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:4,代码来源:SeiGenerator.java
示例5: JavaGeneratorExtensionFacade
import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; //导入依赖的package包/类
JavaGeneratorExtensionFacade(TJavaGeneratorExtension... extensions) {
assert extensions != null;
this.extensions = extensions;
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:5,代码来源:JavaGeneratorExtensionFacade.java
示例6: writeMethodAnnotations
import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; //导入依赖的package包/类
public void writeMethodAnnotations(TWSDLOperation wsdlOperation, JMethod jMethod) {
for (TJavaGeneratorExtension e : extensions) {
e.writeMethodAnnotations(wsdlOperation, jMethod);
}
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:6,代码来源:JavaGeneratorExtensionFacade.java
示例7: generate
import com.sun.tools.internal.ws.api.TJavaGeneratorExtension; //导入依赖的package包/类
public static void generate(Model model, WsimportOptions options, ErrorReceiver receiver, TJavaGeneratorExtension... extensions){
SeiGenerator seiGenerator = new SeiGenerator(model, options, receiver, extensions);
seiGenerator.doGeneration();
}
开发者ID:alexkasko,项目名称:openjdk-icedtea7,代码行数:5,代码来源:SeiGenerator.java
注:本文中的com.sun.tools.internal.ws.api.TJavaGeneratorExtension类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论