|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.compiler.FileInfo
Constructor Summary | |
FileInfo(IComponent aComponent,
ICartridge aCartridge,
java.lang.String aGeneratedCode,
java.lang.String aFileNameExtension)
|
Method Summary | |
IComponent |
getComponent()
Gets the component for which this file info was created. |
java.io.File |
getDestinationDir(java.io.File aRootDir)
Gets the directory of the file of the generated code. |
java.io.File |
getDestinationFile(java.io.File aRootDir)
Gets the file name for the generated code. |
java.lang.String |
getGeneratedCode()
Gets the generated code. |
boolean |
isUpToDate(java.io.Reader aReader)
Checks if previous code is up to date. |
void |
output(java.io.File aRootDir,
IConstraintViolations aViolations)
|
void |
output(java.lang.String aRootDir,
IConstraintViolations aViolations)
|
boolean |
overwrite()
Determines if any previous code is overwritten. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileInfo(IComponent aComponent, ICartridge aCartridge, java.lang.String aGeneratedCode, java.lang.String aFileNameExtension)
Method Detail |
public IComponent getComponent()
IFileInfo
getComponent
in interface IFileInfo
public java.lang.String getGeneratedCode()
IFileInfo
null
is returned then no file is
be generated.
getGeneratedCode
in interface IFileInfo
public java.io.File getDestinationFile(java.io.File aRootDir)
IFileInfo
getDestinationFile
in interface IFileInfo
aRootDir
- (required).
public java.io.File getDestinationDir(java.io.File aRootDir)
IFileInfo
getDestinationDir
in interface IFileInfo
public final boolean overwrite()
IFileInfo
overwrite
in interface IFileInfo
true
iff previous code is overwritten.public final boolean isUpToDate(java.io.Reader aReader) throws java.lang.Exception
IFileInfo
isUpToDate
in interface IFileInfo
true
iff the previous code is up to date.
java.lang.Exception
public void output(java.lang.String aRootDir, IConstraintViolations aViolations)
output
in interface IFileInfo
public void output(java.io.File aRootDir, IConstraintViolations aViolations)
output
in interface IFileInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |