org.biojava.dasobert.das.validation
Class RegistryRelaxNG
java.lang.Object
org.biojava.dasobert.das.validation.RegistryRelaxNG
public class RegistryRelaxNG
- extends Object
* BioJava development code
This code may be freely distributed and modified under the
terms of the GNU Lesser General Public Licence. This should
be distributed with the code. If you do not have a copy,
see:
http://www.gnu.org/copyleft/lesser.html
Copyright for this code is held jointly by the individual
authors. These should be listed in @author doc comments.
For more information on the BioJava project and its aims,
or to join the biojava-l mailing list, visit the home page
at:
http://www.biojava.org/
- Author:
- JWarren
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSG_DTDVALIDATION
public static final String MSG_DTDVALIDATION
- See Also:
- Constant Field Values
MSG_PARSER
public static final String MSG_PARSER
- See Also:
- Constant Field Values
MSG_USAGE
public static final String MSG_USAGE
- See Also:
- Constant Field Values
MSG_UNRECOGNIZED_OPTION
public static final String MSG_UNRECOGNIZED_OPTION
- See Also:
- Constant Field Values
MSG_START_PARSING_GRAMMAR
public static final String MSG_START_PARSING_GRAMMAR
- See Also:
- Constant Field Values
MSG_PARSING_TIME
public static final String MSG_PARSING_TIME
- See Also:
- Constant Field Values
MSG_VALIDATING
public static final String MSG_VALIDATING
- See Also:
- Constant Field Values
MSG_VALIDATION_TIME
public static final String MSG_VALIDATION_TIME
- See Also:
- Constant Field Values
MSG_VALID
public static final String MSG_VALID
- See Also:
- Constant Field Values
MSG_INVALID
public static final String MSG_INVALID
- See Also:
- Constant Field Values
ERR_LOAD_GRAMMAR
public static final String ERR_LOAD_GRAMMAR
- See Also:
- Constant Field Values
MSG_BAILOUT
public static final String MSG_BAILOUT
- See Also:
- Constant Field Values
MSG_FAILED_TO_IGNORE_EXTERNAL_DTD
public static final String MSG_FAILED_TO_IGNORE_EXTERNAL_DTD
- See Also:
- Constant Field Values
MSG_WARNING_FOUND
public static final String MSG_WARNING_FOUND
- See Also:
- Constant Field Values
RegistryRelaxNG
public RegistryRelaxNG()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
validate
public int validate(String grammarName,
String instName)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException,
MalformedURLException,
IOException,
FactoryConfigurationError,
ParserConfigurationException,
Exception,
SAXException
- Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException
MalformedURLException
IOException
FactoryConfigurationError
ParserConfigurationException
Exception
SAXException
localize
public static String localize(String propertyName,
Object[] args)
localize
public static String localize(String prop)
localize
public static String localize(String prop,
Object arg1)
localize
public static String localize(String prop,
Object arg1,
Object arg2)
getRegMessage
public String getRegMessage()
validateCatchingExceptions
public int validateCatchingExceptions(String rng,
String input)