org.apache.bval.jsr303.xml
Class ValidationParser
java.lang.Object
org.apache.bval.jsr303.xml.ValidationParser
public class ValidationParser
- extends Object
Description: uses jaxb to parse validation.xml
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validationXmlFile
protected final String validationXmlFile
ValidationParser
public ValidationParser(String file)
- Create a new ValidationParser instance.
- Parameters:
file
-
processValidationConfig
public void processValidationConfig(ConfigurationImpl targetConfig)
- Process the validation configuration into
targetConfig
.
- Parameters:
targetConfig
-
getInputStream
protected InputStream getInputStream(String path)
throws IOException
- Throws:
IOException
getSchema
static Schema getSchema(String xsd)
- Get a Schema object from the specified resource name.
- Parameters:
xsd
-
- Returns:
Schema
Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.