public class OdfHelper extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
OdfHelper(String domResourceRoot,
String odf12SchemaFile,
String odf11SchemaFile,
String pkgResourceRoot,
String odf12SignatureSchemaFile,
String odf12ManifestSchemaFile,
String targetRoot,
String configFile) |
Modifier and Type | Method and Description |
---|---|
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() |
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
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
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.