|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.DtdGenerator
public class DtdGenerator
Title: DtdGenerator
Description: Provides command line access to the static method generateDtd.
at class DocumentTagFactory .
Constructor Summary | |
---|---|
DtdGenerator(DocumentTagFactory tagFactory)
Constructs a DtdGenerator instance with specific attributes. |
Method Summary | |
---|---|
protected static String |
attributeTypeToDtdType(int attributeType)
Gets the DTD type name for the given type ID. |
void |
generateDtd(Writer out)
Generates the DTD according to the meta informations, provided by the registered items. |
static void |
main(String[] args)
The main method for command line access. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DtdGenerator(DocumentTagFactory tagFactory)
tagFactory
- The tag factory to use.Method Detail |
---|
public void generateDtd(Writer out) throws IOException
out
- The writer, needed for output.
IOException
- In case the writing of the DTD has been failed.protected static String attributeTypeToDtdType(int attributeType)
attributeType
- The type ID.
public static void main(String[] args)
args
- The command line attributes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |