|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sdo.codegen.JavaInterfaceGenerator
public class JavaInterfaceGenerator
Implementation of a generator that will output the source code for a Java interface that corresponds to the SDO Type's static properties.
Constructor Summary | |
---|---|
JavaInterfaceGenerator(PrintWriter writer)
Constructor providing the Writer to output the source to. |
Method Summary | |
---|---|
void |
visitEnd()
Visit after all properties. |
void |
visitProperty(Property property)
Visit a property definition. |
void |
visitType(Type type)
Visit a type definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaInterfaceGenerator(PrintWriter writer)
writer
- where the generated source code will be written toMethod Detail |
---|
public void visitType(Type type)
SDOTypeVisitor
visitType
in interface SDOTypeVisitor
type
- the type to visitpublic void visitProperty(Property property)
SDOTypeVisitor
visitProperty
in interface SDOTypeVisitor
property
- the property to visitpublic void visitEnd()
SDOTypeVisitor
visitEnd
in interface SDOTypeVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |