|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration
org.codehaus.enunciate.contract.jaxws.WebFault
public class WebFault
A fault that is declared potentially thrown in some web service call.
| Nested Class Summary | |
|---|---|
static class |
WebFault.FaultBeanChildElement
|
| 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.declaration.DecoratedDeclaration |
|---|
delegate, javaDoc |
| Constructor Summary | |
|---|---|
WebFault(com.sun.mirror.declaration.ClassDeclaration delegate)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
calculateNamespaceURI()
Calculates a namespace URI for a given package. |
ElementDeclaration |
findExplicitFaultBean()
A web fault has an explicit fault bean if all three of the following are present: A getFaultInfo method that returns the bean instance of a class type. |
protected java.util.Collection<net.sf.jelly.apt.decorations.declaration.PropertyDeclaration> |
getAllFaultProperties(net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration declaration)
Gets all properties, including properties from the superclass. |
java.util.Collection<ImplicitChildElement> |
getChildElements()
If this is an implicit fault bean, return the child elements. |
java.lang.String |
getClientSimpleName()
The simple name for client-side code generation. |
java.lang.String |
getElementDocs()
The comments on the fault itself. |
java.lang.String |
getElementName()
The element name of the implicit web fault bean, or null if this isn't an implicit web fault. |
com.sun.mirror.type.ClassType |
getExplicitFaultBeanType()
A web fault has an explicit fault bean if all three of the following are present: A getFaultInfo method that returns the bean instance of a class type. |
java.lang.String |
getImplicitFaultBeanQualifiedName()
The qualified name of the implicit fault bean of this web fault, or null if this web fault does not define an implicit faul bean. |
java.lang.String |
getMessageDocs()
The message documentation for a fault is the documentation for its type. |
java.lang.String |
getMessageName()
The message name of this fault. |
java.lang.String |
getPartDocs()
The documentation for this web message part. |
javax.xml.namespace.QName |
getParticleQName()
The qname reference to the fault info. |
WebMessagePart.ParticleType |
getParticleType()
The particle type for this part. |
java.lang.String |
getPartName()
The part name of this web fault as it would appear in wsdl. |
java.util.Collection<WebMessagePart> |
getParts()
There's only one part to a web fault. |
java.lang.String |
getTargetNamespace()
Gets the target namespace of the implicit fault bean, or null if this web fault defines an explicit fault info bean. |
javax.xml.namespace.QName |
getTypeQName()
If there is an explicit fault bean, it will be a root schema element referencing its own type. |
WebMethod |
getWebMethod()
The web method associated with this part. |
boolean |
isFault()
Whether this message is a web fault. |
boolean |
isHeader()
Whether this message is a header parameter. |
boolean |
isImplicitSchemaElement()
This web fault defines an implicit schema element if it does not have an explicit fault bean. |
boolean |
isInput()
Whether this is an input message. |
boolean |
isOutput()
Whether this is an output message. |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration |
|---|
accept, getAnnotation, getConstructors, getMethods, getSuperclass, isClass |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration |
|---|
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getProperties, getQualifiedName, getSuperinterfaces, isAnnotatedType, isEnum, isInterface, isPaired |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration |
|---|
getDeclaringType |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
|---|
constructJavaDoc, equals, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getDocValue, getJavaDoc, getModifiers, getPosition, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.enunciate.contract.jaxb.ImplicitSchemaElement |
|---|
getPosition |
| Methods inherited from interface com.sun.mirror.declaration.TypeDeclaration |
|---|
getFields, getFormalTypeParameters, getNestedTypes, getPackage, getQualifiedName, getSuperinterfaces |
| Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration |
|---|
getDeclaringType |
| Methods inherited from interface com.sun.mirror.declaration.Declaration |
|---|
equals, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
| Constructor Detail |
|---|
public WebFault(com.sun.mirror.declaration.ClassDeclaration delegate)
| Method Detail |
|---|
public java.lang.String getMessageName()
getMessageName in interface WebMessagepublic java.lang.String getMessageDocs()
getMessageDocs in interface WebMessagepublic java.lang.String getElementName()
getElementName in interface ImplicitSchemaElementpublic java.lang.String getClientSimpleName()
public java.lang.String getElementDocs()
getElementDocs in interface ImplicitSchemaElementpublic java.lang.String getPartName()
getPartName in interface WebMessagePartpublic java.lang.String getPartDocs()
WebMessagePart
getPartDocs in interface WebMessagePartpublic java.lang.String getImplicitFaultBeanQualifiedName()
public com.sun.mirror.type.ClassType getExplicitFaultBeanType()
public ElementDeclaration findExplicitFaultBean()
public WebMessagePart.ParticleType getParticleType()
WebMessagePart
getParticleType in interface WebMessagePartWebMessagePart.ParticleType.ELEMENTpublic javax.xml.namespace.QName getParticleQName()
getParticleQName in interface WebMessagePartpublic java.lang.String getTargetNamespace()
getTargetNamespace in interface ImplicitSchemaElementprotected java.lang.String calculateNamespaceURI()
public javax.xml.namespace.QName getTypeQName()
getTypeQName in interface ImplicitSchemaElementpublic boolean isImplicitSchemaElement()
isImplicitSchemaElement in interface WebMessagePartpublic java.util.Collection<ImplicitChildElement> getChildElements()
getChildElements in interface ImplicitRootElementprotected java.util.Collection<net.sf.jelly.apt.decorations.declaration.PropertyDeclaration> getAllFaultProperties(net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration declaration)
declaration - The declaration from which to get all properties.
public java.util.Collection<WebMessagePart> getParts()
getParts 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 WebMethod getWebMethod()
WebMessagePart
getWebMethod in interface WebMessagePart
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||