|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.gui.DTDGenerator
This class implements the DTD generator. It's used to generate de DTD of the selected entities
Fields inherited from interface com.ibm.dse.tools.workbench.base.TableNames |
ALLOWED_VALUES,
ATTRIBUTES,
DOMAINS,
ENTITIES,
ENTITIES_ENTITIES,
GROUPS,
GROUPS_ENTITIES,
GROUPS_GROUPS,
GROUPS_INSTANCES,
INSTANCE_ERRORS,
INSTANCES,
PROPERTIES,
USERS |
Constructor Summary | |
DTDGenerator()
This method creates a DTD generator object. |
Method Summary | |
java.lang.String |
externalize(TableRow row)
This method generate the DTD of an entity |
void |
externalize(TableRow[] rows)
This method generates the DTD of a row vector of entities to several files, one for each entity, one for each different basegroup, and another one for all the basegroups. |
java.lang.String |
getFormat()
This method returns the output format acronym. |
java.lang.String |
getName()
This method returns the name of the externalizer. |
java.io.Reader |
getTemplateReader(java.lang.String location)
This method returns the template reader if the template location exists and can be read. |
void |
invokeSetup()
This method shows, if available, the setup or options view to configure the externalizer. |
void |
invokeWizard(Repository repository)
This method invokes the externalizer wizard, if available, to guide the user in the externalization process. |
void |
setProperties(java.util.Properties properties)
This method sets the properties for the externalizer, instead of using invokeSetup method. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DTDGenerator()
Method Detail |
public void externalize(TableRow[] rows)
rows
- com.ibm.dse.tools.workbench.base.TableRow[] The entitiespublic java.lang.String externalize(TableRow row) throws WorkbenchException
row
- com.ibm.dse.tools.workbench.base.TableRow The entity to be externalizedpublic java.lang.String getFormat()
public java.lang.String getName()
public java.io.Reader getTemplateReader(java.lang.String location) throws WBInputOutputException
location
- java.lang.Stringpublic void invokeSetup()
public void invokeWizard(Repository repository)
repository
- com.ibm.dse.tools.workbench.base.Repositorypublic void setProperties(java.util.Properties properties)
properties
- java.util.Properties
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |