|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.XmlSchemaGenerator
public class XmlSchemaGenerator
Name: XmlSchemaGenerator
Description: Provides command line access to the static method generateXmlSchema
at class DocumentTagFactory .
Constructor Summary | |
---|---|
XmlSchemaGenerator(DocumentTagFactory tagFactory)
Constructs a XmlSchemaGenerator instance with specific attributes. |
Method Summary | |
---|---|
protected static String |
attributeTypeToSchemaType(int attributeType)
Gets the schema type name for the given type ID. |
void |
generateXmlSchema(Writer out)
Generates the XML schema 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 XmlSchemaGenerator(DocumentTagFactory tagFactory)
tagFactory
- The tag factory to use.Method Detail |
---|
public void generateXmlSchema(Writer out) throws IOException
out
- The writer, needed for output.
IOException
- In case the writing of the DTD has been failed.protected static String attributeTypeToSchemaType(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 |