public class JavaHolderWriter extends JavaClassWriter
className, namespaces, packageName
emitter, LINE_LENGTH
Modifier | Constructor and Description |
---|---|
protected |
JavaHolderWriter(Emitter emitter,
TypeEntry type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
generate()
Generate a java source file for the holder class.
|
protected String |
getClassModifiers()
Return "public final ".
|
protected String |
getImplementsText()
Return "implements javax.xml.rpc.holders.Holder ".
|
protected void |
writeFileBody(PrintWriter pw)
Generate the holder for the given complex type.
|
getClassName, getClassText, getExtendsText, getFileName, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
closePrintWriter, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
protected String getClassModifiers()
getClassModifiers
in class JavaClassWriter
protected String getImplementsText()
getImplementsText
in class JavaClassWriter
protected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class JavaWriter
pw
- IOException
public void generate() throws IOException
generate
in interface Generator
generate
in class JavaWriter
IOException
Copyright © The Apache Software Foundation. All Rights Reserved.