Modifier and Type | Field and Description |
---|---|
static String |
HOLDER_IS_NEEDED
Field HOLDER_IS_NEEDED
|
Constructor and Description |
---|
JavaTypeWriter(Emitter emitter,
TypeEntry type,
SymbolTable symbolTable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
generate()
Write all the service bindnigs: service and testcase.
|
protected JavaWriter |
getBeanHelperWriter(Emitter emitter,
TypeEntry type,
Vector elements,
TypeEntry base,
Vector attributes,
boolean forException)
getHelperWriter
|
protected JavaWriter |
getBeanWriter(Emitter emitter,
TypeEntry type,
TypeEntry base)
getBeanWriter
|
protected JavaWriter |
getEnumTypeWriter(Emitter emitter,
TypeEntry type,
Vector v)
getEnumWriter
|
protected Generator |
getHolderWriter(Emitter emitter,
TypeEntry type)
getHolderWriter
|
String |
toString() |
public static final String HOLDER_IS_NEEDED
public JavaTypeWriter(Emitter emitter, TypeEntry type, SymbolTable symbolTable)
emitter
- type
- symbolTable
- public void generate() throws IOException
generate
in interface Generator
IOException
protected JavaWriter getEnumTypeWriter(Emitter emitter, TypeEntry type, Vector v)
emitter
- type
- v
- protected JavaWriter getBeanWriter(Emitter emitter, TypeEntry type, TypeEntry base)
emitter
- type
- base
- protected JavaWriter getBeanHelperWriter(Emitter emitter, TypeEntry type, Vector elements, TypeEntry base, Vector attributes, boolean forException)
emitter
- type
- elements
- base
- attributes
- protected Generator getHolderWriter(Emitter emitter, TypeEntry type)
emitter
- type
- Copyright © The Apache Software Foundation. All Rights Reserved.