|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odftoolkit.odfvalidator.ODFValidator
public class ODFValidator
Field Summary | |
---|---|
protected Configuration |
m_aConfig
|
protected OdfVersion |
m_aVersion
|
protected boolean |
m_bUseMathDTD
|
protected OdfVersion |
mOdfPackageVersion
|
Constructor Summary | |
---|---|
ODFValidator(Configuration aConfig,
Logger.LogLevel nLogLevel,
boolean logAsHTML,
OdfVersion aVersion,
boolean bUseMathDTD)
Creates a new instance of Validator |
|
ODFValidator(Configuration aConfig,
Logger.LogLevel nLogLevel,
OdfVersion aVersion,
boolean bUseMathDTD)
Creates a new instance of Validator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Configuration m_aConfig
protected OdfVersion m_aVersion
protected OdfVersion mOdfPackageVersion
protected boolean m_bUseMathDTD
Constructor Detail |
---|
public ODFValidator(Configuration aConfig, Logger.LogLevel nLogLevel, OdfVersion aVersion, boolean bUseMathDTD) throws ODFValidatorException
ODFValidatorException
public ODFValidator(Configuration aConfig, Logger.LogLevel nLogLevel, boolean logAsHTML, OdfVersion aVersion, boolean bUseMathDTD) throws ODFValidatorException
ODFValidatorException
Method Detail |
---|
public String getOdfVersion()
public boolean validate(PrintStream aOut, Configuration aConfig, OdfValidatorMode eMode) throws ODFValidatorException
ODFValidatorException
public boolean validate(PrintStream aOut, List<String> aFileNames, String aExcludeRegExp, OdfValidatorMode eMode, boolean bRecursive, String aFilterFileName) throws ODFValidatorException
ODFValidatorException
public boolean validate(PrintStream aOut, InputStream aInputStream, String aBaseURI, OdfValidatorMode eMode, SAXParseExceptionFilter aFilter) throws ODFValidatorException
ODFValidatorException
public boolean validateFile(PrintStream aOut, File aDocFile, OdfValidatorMode eMode, SAXParseExceptionFilter aFilter) throws ODFValidatorException
After validation the getGenerator method can be called to get the generator of the validated file
ODFValidatorException
public boolean validateStream(PrintStream aOut, InputStream aInputStream, String aBaseURI, OdfValidatorMode eMode, SAXParseExceptionFilter aFilter) throws ODFValidatorException
After validation the getGenerator method can be called to get the generator of the validated file
ODFValidatorException
public Validator getManifestValidator(PrintStream aOut, OdfVersion aVersion) throws ODFValidatorException
getManifestValidator
in interface ODFValidatorProvider
ODFValidatorException
public Validator getValidator(PrintStream aOut, OdfVersion aVersion) throws ODFValidatorException
getValidator
in interface ODFValidatorProvider
ODFValidatorException
public Validator getStrictValidator(PrintStream aOut, OdfVersion aVersion) throws ODFValidatorException
getStrictValidator
in interface ODFValidatorProvider
ODFValidatorException
public Validator getMathMLValidator(PrintStream aOut, OdfVersion aVersion) throws ODFValidatorException
getMathMLValidator
in interface ODFValidatorProvider
ODFValidatorException
public String getMathMLDTDSystemId(OdfVersion aVersion) throws ODFValidatorException
getMathMLDTDSystemId
in interface ODFValidatorProvider
ODFValidatorException
public Validator getDSigValidator(PrintStream aOut, OdfVersion aVersion) throws ODFValidatorException
getDSigValidator
in interface ODFValidatorProvider
ODFValidatorException
public void resetValidatorProvider()
resetValidatorProvider
in interface ODFValidatorProvider
public String getGenerator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |