public class JavaBeanFaultWriter extends JavaBeanWriter
Modifier and Type | Field and Description |
---|---|
static Set |
RESERVED_PROPERTY_NAMES
All server specific exception classes have
Throwable as an
indirect superclass. |
enableDefaultConstructor, enableEquals, enableFullConstructor, enableGetters, enableHashCode, enableMemberFields, enableSetters, enableSimpleConstructors, enableToString, enumerationTypes, helper, isAny, isMixed, names, parentIsAny, parentIsMixed, pw, simpleValueTypes
className, namespaces, packageName
emitter, LINE_LENGTH
Modifier | Constructor and Description |
---|---|
protected |
JavaBeanFaultWriter(Emitter emitter,
TypeEntry type,
Vector elements,
TypeEntry extendType,
Vector attributes,
JavaWriter helper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getExtendsText()
Returns the appropriate extends text
|
protected void |
writeFileFooter(PrintWriter pw)
Write the Exception serialization code
NOTE: This function is written in JavaFaultWriter.java also.
|
generate, getBinaryTypeEncoderName, getClassModifiers, getElementDecl, getImplementsText, preprocess, writeAccessMethods, writeDefaultConstructor, writeEqualsMethod, writeFileBody, writeFileHeader, writeFullConstructor, writeHashCodeMethod, writeMemberFields, writeMinimalConstructor, writeSimpleConstructors, writeSimpleTypeGetter, writeSimpleTypeSetter, writeToStringMethod
getClassName, getClassText, getFileName, getPackage, registerFile, writeHeaderComments, writePackage
closePrintWriter, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
public static final Set RESERVED_PROPERTY_NAMES
Throwable
as an
indirect superclass. Throwable
defines a set of properties
that may potentially conflict with those that would be generated by
this class for an XSD complex type used as a fault. The following
immutable object contains all property names that must be excluded
when generating a service specific exception. Note:
BeanSerializer
always excludes
Throwable
's and AxisFault
's properties
when marshalling a service Java exception.protected JavaBeanFaultWriter(Emitter emitter, TypeEntry type, Vector elements, TypeEntry extendType, Vector attributes, JavaWriter helper)
emitter
- type
- The type representing this classelements
- Vector containing the Type and name of each propertyextendType
- The type representing the extended class (or null)attributes
- Vector containing the attribute types and nameshelper
- Helper class writerprotected String getExtendsText()
getExtendsText
in class JavaBeanWriter
protected void writeFileFooter(PrintWriter pw) throws IOException
writeFileFooter
in class JavaClassWriter
pw
- IOException
Copyright © The Apache Software Foundation. All Rights Reserved.