|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hyper9.simdk.codegen.impls.MetaTypeImpl
com.hyper9.simdk.codegen.impls.VimServiceTypeImpl
public class VimServiceTypeImpl
Constructor Summary | |
---|---|
protected |
VimServiceTypeImpl(Class<?> inType,
String inTypeSourceFilePath)
Creates a new instance of the VimServiceTypeImpl class. |
Method Summary | |
---|---|
void |
build()
Builds the type to be written. |
String |
getCompilationType()
Gets a string that represents the compilation type (class, interface, enum) of this meta type. |
void |
writeCompilationTypeContent(Writer out)
This method is called by the writeToFile method after the beginning of the compilation type is written and before the end of the compilation type is written. |
void |
writeToFile(String path)
Writes the meta type to a file. |
Methods inherited from class com.hyper9.simdk.codegen.impls.MetaTypeImpl |
---|
addOutImportType, addXmlTypeName, getAnnotations, getInType, getInTypeSourceFilePath, getMethods, getOutImports, getOutType, getPathToOutFile, getProperties, isTypeObject, upCaseFirstChar |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.hyper9.simdk.codegen.types.MetaType |
---|
getAnnotations, getInType, getInTypeSourceFilePath, getMethods, getOutImports, getOutType, getProperties |
Constructor Detail |
---|
protected VimServiceTypeImpl(Class<?> inType, String inTypeSourceFilePath)
inType
- The VMware type the MetaType is based on.inTypeSourceFilePath
- The full path to the In type's source file.Method Detail |
---|
public void writeToFile(String path) throws Exception
MetaType
writeToFile
in interface MetaType
writeToFile
in class MetaTypeImpl
path
- The path of the root directory to write the file.
Exception
- When an error occurs.public void writeCompilationTypeContent(Writer out) throws Exception
MetaType
writeCompilationTypeContent
in interface MetaType
out
- The writer.
Exception
public String getCompilationType()
MetaType
getCompilationType
in interface MetaType
public void build() throws Exception
MetaType
build
in interface MetaType
build
in class MetaTypeImpl
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |