本文整理汇总了Java中com.sun.xml.internal.txw2.annotation.XmlElement类的典型用法代码示例。如果您正苦于以下问题:Java XmlElement类的具体用法?Java XmlElement怎么用?Java XmlElement使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XmlElement类属于com.sun.xml.internal.txw2.annotation包,在下文中一共展示了XmlElement类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: invoke
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
if(method.getDeclaringClass()==TypedXmlWriter.class || method.getDeclaringClass()==Object.class) {
// forward to myself
try {
return method.invoke(this,args);
} catch (InvocationTargetException e) {
throw e.getTargetException();
}
}
XmlAttribute xa = method.getAnnotation(XmlAttribute.class);
XmlValue xv = method.getAnnotation(XmlValue.class);
XmlElement xe = method.getAnnotation(XmlElement.class);
if(xa!=null) {
if(xv!=null || xe!=null)
throw new IllegalAnnotationException(method.toString());
addAttribute(xa,method,args);
return proxy; // allow method chaining
}
if(xv!=null) {
if(xe!=null)
throw new IllegalAnnotationException(method.toString());
_pcdata(args);
return proxy; // allow method chaining
}
return addElement(xe,method,args);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:33,代码来源:ContainerElement.java
示例2: soapOperation
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement(value="operation",ns="http://schemas.xmlsoap.org/wsdl/soap/")
public SOAPOperation soapOperation();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:BindingOperationType.java
示例3:
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement(value="operation",ns="http://schemas.xmlsoap.org/wsdl/soap12/")
public com.sun.xml.internal.ws.wsdl.writer.document.soap12.SOAPOperation soap12Operation();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:BindingOperationType.java
示例4: fault
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Fault fault();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:BindingOperationType.java
示例5: output
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public StartWithExtensionsType output();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:BindingOperationType.java
示例6: input
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public StartWithExtensionsType input();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:BindingOperationType.java
示例7: schema
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement(value="schema",ns="http://www.w3.org/2001/XMLSchema")
public Schema schema();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Types.java
示例8: operation
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Operation operation();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:PortType.java
示例9: port
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Port port();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Service.java
示例10: attribute
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public LocalAttribute attribute();
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:3,代码来源:AttrDecls.java
示例11: part
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Part part();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Message.java
示例12: input
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public ParamType input();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Operation.java
示例13: output
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public ParamType output();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Operation.java
示例14: sequence
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
ExplicitGroup sequence();
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:3,代码来源:ContentModelContainer.java
示例15: service
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Service service();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Definitions.java
示例16: binding
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Binding binding();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Definitions.java
示例17: any
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
Any any();
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:3,代码来源:ContentModelContainer.java
示例18: message
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Message message();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Definitions.java
示例19: types
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement
public Types types();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Definitions.java
示例20: _import
import com.sun.xml.internal.txw2.annotation.XmlElement; //导入依赖的package包/类
@XmlElement("import")
public Import _import();
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:3,代码来源:Definitions.java
注:本文中的com.sun.xml.internal.txw2.annotation.XmlElement类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论