public abstract class SchemaGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASESCHEMADIR |
static java.lang.String |
MAXOCCURSUNBOUNDED |
static java.lang.String |
ML_SUPPORTED_DOC |
static org.jdom.Namespace |
SCHEMA_NS |
static java.lang.String |
UNIQUE_KEY_DOC |
static java.lang.String |
USEOPTIONAL |
Constructor and Description |
---|
SchemaGenerator() |
SchemaGenerator(java.util.Map<java.lang.String,org.jdom.Element> schemaElements) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateSampleXml(java.lang.String identifier) |
void |
generateSchema() |
org.jdom.Document |
generateSchemaAsDcoument() |
void |
generateSchemaElements() |
org.jdom.Document |
getSchemaDocument() |
java.lang.String |
getSchemaElementFor(java.lang.String identifier) |
java.io.File |
getSchemaFile() |
abstract java.lang.String |
getSchemaFileName() |
abstract java.io.File |
getSchemaFolder() |
abstract java.lang.String |
getSchemaUrl() |
java.lang.String |
getTargetNS() |
boolean |
isSchemaGenerated() |
public static final org.jdom.Namespace SCHEMA_NS
public static final java.lang.String UNIQUE_KEY_DOC
public static final java.lang.String ML_SUPPORTED_DOC
public static final java.lang.String MAXOCCURSUNBOUNDED
public static final java.lang.String BASESCHEMADIR
public static final java.lang.String USEOPTIONAL
public SchemaGenerator()
public SchemaGenerator(java.util.Map<java.lang.String,org.jdom.Element> schemaElements)
public java.lang.String getTargetNS() throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isSchemaGenerated() throws MXException
MXException
public java.io.File getSchemaFile() throws MXException
MXException
public abstract java.io.File getSchemaFolder() throws MXException
MXException
public abstract java.lang.String getSchemaFileName()
public abstract java.lang.String getSchemaUrl() throws MXException
MXException
public java.lang.String getSchemaElementFor(java.lang.String identifier)
public org.jdom.Document getSchemaDocument() throws MXException
MXException
public java.lang.String generateSampleXml(java.lang.String identifier) throws MXException
MXException
public void generateSchemaElements() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void generateSchema() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public org.jdom.Document generateSchemaAsDcoument() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException