|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
IBinding |
createBuiltInBinding(IComponent aComponent)
|
IFileInfo |
generate(IComponent aComponent)
Generates code for the specified component. |
int |
getCartridgeNo()
|
IMessage |
getEditHint(java.io.File aFile,
IComponent aComponent)
Gets a message that is output if a file generated by this cartridge must be edited manually. |
java.lang.String |
getNameForPackage(IComponent aComponent,
java.lang.String aPackage)
Gets the name of a component when referenced from a specified package. |
java.lang.String |
getNamePrefix(IComponent aComponent)
Gets the name prefix. |
java.lang.String |
getNameSuffix(IComponent aComponent)
Gets the name suffix. |
java.lang.String |
getSubPackage()
Gets the sub package. |
java.lang.String |
getUsableFqName(IComponent aComponent)
|
void |
initCartridge(ICartridgeMgr aManager)
|
boolean |
isUpToDate(java.io.Reader aReader,
IFileInfo aFileInfo)
Checks if the previous code is up to date. |
boolean |
overwrite()
Determines if any previous code is overwritten. |
void |
setCartridgeNo(int aNumber)
|
Method Detail |
public java.lang.String getSubPackage()
public java.lang.String getNamePrefix(IComponent aComponent)
public java.lang.String getNameSuffix(IComponent aComponent)
public int getCartridgeNo()
public void setCartridgeNo(int aNumber)
public void initCartridge(ICartridgeMgr aManager)
public IFileInfo generate(IComponent aComponent) throws XmlException
aComponent
- (required).
XmlException
public boolean overwrite()
true
iff previous code is overwritten.public boolean isUpToDate(java.io.Reader aReader, IFileInfo aFileInfo) throws java.lang.Exception
aReader
- (required). Reads the previous code.aFileInfo
- (required). The file info returned from the generate
method.
true
iff the previous code is up to date.
java.lang.Exception
public IMessage getEditHint(java.io.File aFile, IComponent aComponent)
overwrite
returns false
.
aFile
- (required).aComponent
- (required).
public java.lang.String getUsableFqName(IComponent aComponent)
public java.lang.String getNameForPackage(IComponent aComponent, java.lang.String aPackage)
aComponent
- (required).aPackage
- (required).
public IBinding createBuiltInBinding(IComponent aComponent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |