|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jelly.apt.decorations.type.DecoratedTypeMirror
org.codehaus.enunciate.contract.jaxws.WebResult
public class WebResult
A decorated type mirror that is a web result.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.codehaus.enunciate.contract.jaxws.WebMessagePart |
|---|
WebMessagePart.ParticleType |
| Field Summary |
|---|
| Fields inherited from class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror |
|---|
delegate |
| Constructor Summary | |
|---|---|
protected |
WebResult(com.sun.mirror.type.TypeMirror delegate,
WebMethod method)
|
| Method Summary | |
|---|---|
void |
accept(com.sun.mirror.util.TypeVisitor typeVisitor)
|
AdapterType |
getAdapterType()
The class type of the adaptor. |
java.lang.String |
getElementDocs()
The element docs. |
java.lang.String |
getElementName()
The element name. |
java.lang.String |
getMaxOccurs()
The max occurs of the web result. |
java.lang.String |
getMessageDocs()
There is only message documentation if this web result is BARE. |
java.lang.String |
getMessageName()
The message name in the case of a document/bare service. |
java.lang.String |
getMimeType()
The mime type for this child element (for binary data), or null if not applicable. |
int |
getMinOccurs()
The min occurs of a web result. |
javax.jws.WebParam.Mode |
getMode()
The mode of this web result. |
java.lang.String |
getName()
The name of the web result. |
java.lang.String |
getPartDocs()
If this web result is a part, the comments for the result. |
javax.xml.namespace.QName |
getParticleQName()
The qname of the particle for this web result. |
WebMessagePart.ParticleType |
getParticleType()
If the web method style is RPC, the particle type is TYPE. |
java.lang.String |
getPartName()
The part name. |
java.util.Collection<WebMessagePart> |
getParts()
The parts of this complex input/output. |
com.sun.mirror.util.SourcePosition |
getPosition()
The source position for this element, or null if none. |
java.lang.String |
getTargetNamespace()
The namespace of the web result. |
com.sun.mirror.type.TypeMirror |
getType()
Used when treating this as a parameter. |
javax.xml.namespace.QName |
getTypeQName()
The qname of the type of this result as an implicit schema element. |
WebMethod |
getWebMethod()
The web method. |
XmlType |
getXmlType()
Gets the xml type of this result. |
boolean |
isAdapted()
Whether this element is adapted according to the JAXB spec. |
boolean |
isBare()
Whether this is a bare web result. |
boolean |
isFault()
Whether this message is a web fault. |
boolean |
isHeader()
Whether this message is a header parameter. |
boolean |
isImplicitSchemaElement()
This web result defines an implicit schema element if it is of DOCUMENT binding style and it is either BARE or a header. |
boolean |
isInput()
Whether this is an input message. |
boolean |
isOutput()
Whether this is an output message. |
boolean |
isSwaRef()
Whether this child element is an attachment ref. |
boolean |
isVoid()
|
| Methods inherited from class net.sf.jelly.apt.decorations.type.DecoratedTypeMirror |
|---|
equals, getDelegate, getDocComment, getDocValue, isAnnotation, isArray, isClass, isCollection, isDeclared, isEnum, isInstanceOf, isInterface, isPrimitive, isReferenceType, isTypeVariable, isWildcard, setDocComment, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected WebResult(com.sun.mirror.type.TypeMirror delegate,
WebMethod method)
| Method Detail |
|---|
public void accept(com.sun.mirror.util.TypeVisitor typeVisitor)
accept in interface com.sun.mirror.type.TypeMirroraccept in class net.sf.jelly.apt.decorations.type.DecoratedTypeMirrorpublic java.lang.String getName()
public java.lang.String getTargetNamespace()
getTargetNamespace in interface ImplicitSchemaElementpublic java.lang.String getPartName()
getPartName in interface WebMessagePartpublic WebMethod getWebMethod()
getWebMethod in interface WebMessagePartpublic boolean isBare()
public javax.jws.WebParam.Mode getMode()
public java.lang.String getMessageName()
getMessageName in interface WebMessagepublic java.lang.String getMessageDocs()
getMessageDocs in interface WebMessagepublic boolean isInput()
WebMessage
isInput in interface WebMessagepublic boolean isOutput()
WebMessage
isOutput in interface WebMessagepublic boolean isHeader()
WebMessage
isHeader in interface WebMessagepublic boolean isFault()
WebMessage
isFault in interface WebMessagepublic java.lang.String getPartDocs()
getPartDocs in interface WebMessagePartpublic WebMessagePart.ParticleType getParticleType()
getParticleType in interface WebMessagePartpublic javax.xml.namespace.QName getParticleQName()
particle type is
TYPE then it's the qname of the xml type. Otherwise, it's the qname of the implicit schema
element.
getParticleQName in interface WebMessagePartpublic boolean isImplicitSchemaElement()
isImplicitSchemaElement in interface WebMessagePartpublic java.util.Collection<WebMessagePart> getParts()
WebMessage
getParts in interface WebMessagepublic javax.xml.namespace.QName getTypeQName()
getTypeQName in interface ImplicitChildElementgetTypeQName in interface ImplicitSchemaElementValidationException - If the type is anonymous or otherwise problematic.public XmlType getXmlType()
getXmlType in interface ImplicitChildElementpublic java.lang.String getMimeType()
ImplicitChildElement
getMimeType in interface ImplicitChildElementpublic boolean isSwaRef()
ImplicitChildElement
isSwaRef in interface ImplicitChildElementpublic int getMinOccurs()
getMinOccurs in interface ImplicitChildElementpublic java.lang.String getMaxOccurs()
getMaxOccurs in interface ImplicitChildElementpublic java.lang.String getElementName()
getElementName in interface ImplicitSchemaElementpublic java.lang.String getElementDocs()
getElementDocs in interface ImplicitSchemaElementpublic com.sun.mirror.type.TypeMirror getType()
getType in interface ImplicitChildElementpublic boolean isAdapted()
Adaptable
isAdapted in interface Adaptablepublic AdapterType getAdapterType()
Adaptable
getAdapterType in interface Adaptablepublic boolean isVoid()
isVoid in class net.sf.jelly.apt.decorations.type.DecoratedTypeMirrorpublic com.sun.mirror.util.SourcePosition getPosition()
ImplicitSchemaElement
getPosition in interface ImplicitSchemaElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||