|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.generator.ConfigurableImpl de.ispsoft.jaxme.generator.SourceWriterImpl de.ispsoft.jaxme.generator.XsdSchemaWriter
Saves the schema into an XML Schema file. Mainly useful for conversion from another schema (for example a DTD) to XML schema.
Field Summary |
Fields inherited from class de.ispsoft.jaxme.generator.SourceWriterImpl |
directory, generator, javaPackage |
Constructor Summary | |
XsdSchemaWriter()
Creates a new instance of XsdSchemaWriter |
Method Summary | |
void |
write(java.util.Map pGeneratedElements,
org.xml.sax.ContentHandler pHandler,
NamespaceSupport pNss,
java.util.List pContext,
SchemaElement pElement)
Called for writing a schema element. |
void |
write(Schema pSchema)
Called for writing a complete schema. |
void |
write(SchemaElement pElement)
Called for writing a single schema element. |
void |
write(Schema pSchema,
java.io.Writer pWriter)
Called for writing a complete schema into the given Writer. |
void |
writeComplexElement(java.util.Map pGeneratedElements,
org.xml.sax.ContentHandler pHandler,
NamespaceSupport pNss,
java.util.List pContext,
SchemaElement pElement)
Called for writing a complex schema element. |
void |
writeSimpleElement(java.util.Map pGeneratedElements,
org.xml.sax.ContentHandler pHandler,
NamespaceSupport pNss,
java.util.List pContext,
SchemaAbstractSimpleElement pElement)
Called for writing a simple schema element. |
void |
writeSimpleElement(java.util.Map pGeneratedElements,
org.xml.sax.ContentHandler pHandler,
NamespaceSupport pNss,
java.util.List pContext,
SchemaElement pElement)
Called for writing a complex schema element. |
Methods inherited from class de.ispsoft.jaxme.generator.SourceWriterImpl |
getDirectory, getGenerator, getJavaPackage, getOption, getSchemaDate, newJavaSource, setDirectory, setGenerator, setJavaPackage, setSchemaDate, writeFile, writeJavaSourceFile |
Methods inherited from class de.ispsoft.jaxme.generator.ConfigurableImpl |
getOption, getOptions, getOptionValue, setOption |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.ispsoft.jaxme.generator.Configurable |
getOption, getOptions, getOptionValue, setOption |
Constructor Detail |
public XsdSchemaWriter()
Method Detail |
public void write(SchemaElement pElement) throws java.lang.Exception
Called for writing a single schema element. Concrete subclasses must implement this method.
write
in interface SourceWriter
write
in class SourceWriterImpl
java.lang.Exception
public void write(java.util.Map pGeneratedElements, org.xml.sax.ContentHandler pHandler, NamespaceSupport pNss, java.util.List pContext, SchemaElement pElement) throws java.lang.Exception
Called for writing a schema element.
java.lang.Exception
public void writeSimpleElement(java.util.Map pGeneratedElements, org.xml.sax.ContentHandler pHandler, NamespaceSupport pNss, java.util.List pContext, SchemaElement pElement) throws java.lang.Exception
Called for writing a complex schema element.
java.lang.Exception
public void writeSimpleElement(java.util.Map pGeneratedElements, org.xml.sax.ContentHandler pHandler, NamespaceSupport pNss, java.util.List pContext, SchemaAbstractSimpleElement pElement) throws java.lang.Exception
Called for writing a simple schema element.
java.lang.Exception
public void writeComplexElement(java.util.Map pGeneratedElements, org.xml.sax.ContentHandler pHandler, NamespaceSupport pNss, java.util.List pContext, SchemaElement pElement) throws java.lang.Exception
Called for writing a complex schema element.
java.lang.Exception
public void write(Schema pSchema) throws java.lang.Exception
Called for writing a complete schema.
write
in interface SourceWriter
write
in class SourceWriterImpl
java.lang.Exception
public void write(Schema pSchema, java.io.Writer pWriter) throws java.lang.Exception
Called for writing a complete schema into the given Writer.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |