|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.abra.j2xb.beans.xmlModel.MoXmlDefaultSchemaLocationGenerator
public class MoXmlDefaultSchemaLocationGenerator
Constructor Summary | |
---|---|
MoXmlDefaultSchemaLocationGenerator(java.io.File schemasOutputDirectory)
constructs the default filename generator for schemas |
Method Summary | |
---|---|
java.io.File |
getSchemaFilename(MoXmlSchema schema)
callback method to generate a filename for a certain XML Schema, where the schema is saved as part of the schema generation process. |
java.net.URL |
getSchemaLocation(MoXmlSchema schema)
callback method to generate a schemaLocation attribute for an included schema. |
boolean |
includeSchemaLocation(MoXmlSchema schema)
Defines if to include the schemaLocation attribute for an included XML Schema |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoXmlDefaultSchemaLocationGenerator(java.io.File schemasOutputDirectory)
schemasOutputDirectory
- - the output location of the generated schemas.Method Detail |
---|
public java.io.File getSchemaFilename(MoXmlSchema schema) throws MoXmlSchemaGenerationException
MoXmlSchemaLocationGenerator
getSchemaFilename
in interface MoXmlSchemaLocationGenerator
schema
- - the schema
MoXmlSchemaGenerationException
- exception to throw in
case of error in the callback itself.public java.net.URL getSchemaLocation(MoXmlSchema schema) throws MoXmlSchemaGenerationException
MoXmlSchemaLocationGenerator
getSchemaLocation
in interface MoXmlSchemaLocationGenerator
schema
- - the schema
MoXmlSchemaGenerationException
- exception to throw in
case of error in the callback itself.public boolean includeSchemaLocation(MoXmlSchema schema) throws MoXmlSchemaGenerationException
MoXmlSchemaLocationGenerator
includeSchemaLocation
in interface MoXmlSchemaLocationGenerator
schema
- - the schema
MoXmlSchemaGenerationException
- exception to throw in
case of error in the callback itself.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |