|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectschema2template.example.odf.OdfHelper
public class OdfHelper
Three ODF examples in one: 1) Create an ODF Reference in HTMLl 2) Create Source Code 3) Create simple ODF Python source
Field Summary | |
---|---|
static Boolean |
DEBUG
|
static String |
INPUT_ROOT
|
static String |
ODF10_RNG_FILE_NAME
|
static int |
ODF11_ATTRIBUTE_NUMBER
Expresses the amount of attributes in ODF 1.1. |
static int |
ODF11_ELEMENT_NUMBER
Expresses the amount of elements in ODF 1.1. |
static String |
ODF11_RNG_FILE_NAME
|
static int |
ODF12_ATTRIBUTE_NUMBER
|
static int |
ODF12_ELEMENT_NUMBER
|
static String |
ODF12_MANIFEST_RNG_FILE_NAME
|
static String |
ODF12_RNG_FILE_NAME
|
static String |
ODF12_SIGNATURE_RNG_FILE_NAME
|
static String |
TEST_INPUT_ROOT
|
static String |
TEST_REFERENCE_DIR
|
Constructor Summary | |
---|---|
OdfHelper(String domResourceRoot,
String odf12SchemaFile,
String odf11SchemaFile,
String pkgResourceRoot,
String odf12SignatureSchemaFile,
String odf12ManifestSchemaFile,
String targetRoot,
String configFile)
|
Method Summary | |
---|---|
static com.sun.msv.grammar.Expression |
loadSchema(File rngFile)
Load and parse a Schema from File. |
static com.sun.msv.grammar.Expression |
loadSchemaODF10()
Load and parse the ODF 1.0 Schema. |
static com.sun.msv.grammar.Expression |
loadSchemaODF11()
Load and parse the ODF 1.1 Schema. |
static com.sun.msv.grammar.Expression |
loadSchemaODF12()
Load and parse the ODF 1.2 Schema. |
static void |
main(String[] args)
|
static void |
processFileList(org.apache.velocity.app.VelocityEngine ve,
com.sun.msv.grammar.Expression root,
String outputRuleFile)
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Boolean DEBUG
public static final int ODF11_ELEMENT_NUMBER
public static final int ODF12_ELEMENT_NUMBER
public static final int ODF11_ATTRIBUTE_NUMBER
public static final int ODF12_ATTRIBUTE_NUMBER
public static final String INPUT_ROOT
public static final String TEST_REFERENCE_DIR
public static final String TEST_INPUT_ROOT
public static final String ODF10_RNG_FILE_NAME
public static final String ODF11_RNG_FILE_NAME
public static final String ODF12_RNG_FILE_NAME
public static final String ODF12_SIGNATURE_RNG_FILE_NAME
public static final String ODF12_MANIFEST_RNG_FILE_NAME
Constructor Detail |
---|
public OdfHelper(String domResourceRoot, String odf12SchemaFile, String odf11SchemaFile, String pkgResourceRoot, String odf12SignatureSchemaFile, String odf12ManifestSchemaFile, String targetRoot, String configFile)
Method Detail |
---|
public void start() throws Exception
Exception
public static void main(String[] args) throws Exception
Exception
public static com.sun.msv.grammar.Expression loadSchemaODF10() throws Exception
Exception
public static com.sun.msv.grammar.Expression loadSchemaODF11() throws Exception
Exception
public static com.sun.msv.grammar.Expression loadSchemaODF12() throws Exception
Exception
public static com.sun.msv.grammar.Expression loadSchema(File rngFile) throws Exception
rngFile
-
Exception
public static void processFileList(org.apache.velocity.app.VelocityEngine ve, com.sun.msv.grammar.Expression root, String outputRuleFile) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |