|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.codegen.extend.ListImplementationDecorator
public class ListImplementationDecorator
Code generation decorator which changes the implementation class used for java.util.List
instances.
Field Summary | |
---|---|
private java.lang.String |
m_listClass
List implementation class to be used. |
Constructor Summary | |
---|---|
ListImplementationDecorator()
|
Method Summary | |
---|---|
void |
finish(ElementBase binding,
IClassHolder holder)
Method called after completing code generation for the target class. |
void |
setListClass(java.lang.String name)
Set list class to be used. |
void |
start(IClassHolder holder)
Method called before starting code generation for the target class. |
void |
valueAdded(java.lang.String basename,
boolean collect,
java.lang.String type,
FieldDeclaration field,
MethodDeclaration getmeth,
MethodDeclaration setmeth,
java.lang.String descript,
IClassHolder holder)
Method called after adding each data value to class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String m_listClass
Constructor Detail |
---|
public ListImplementationDecorator()
Method Detail |
---|
public void setListClass(java.lang.String name)
name
- public void finish(ElementBase binding, IClassHolder holder)
finish
in interface ClassDecorator
binding
- holder
- public void start(IClassHolder holder)
start
in interface ClassDecorator
holder
- public void valueAdded(java.lang.String basename, boolean collect, java.lang.String type, FieldDeclaration field, MethodDeclaration getmeth, MethodDeclaration setmeth, java.lang.String descript, IClassHolder holder)
valueAdded
in interface ClassDecorator
basename
- base name used for data valuecollect
- repeated value flagtype
- value type (item value type, in the case of a repeated value)field
- actual fieldgetmeth
- read access methodsetmeth
- write access methoddescript
- value description textholder
-
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |