org.apache.bval.jsr303.xml
Class ValidationParser

java.lang.Object
  extended by org.apache.bval.jsr303.xml.ValidationParser

public class ValidationParser
extends Object

Description: uses jaxb to parse validation.xml


Constructor Summary
ValidationParser(String file)
          Create a new ValidationParser instance.
 
Method Summary
(package private) static Schema getSchema(String xsd)
          Get a Schema object from the specified resource name.
 void processValidationConfig(ConfigurationImpl targetConfig)
          Process the validation configuration into targetConfig.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationParser

public ValidationParser(String file)
Create a new ValidationParser instance.

Parameters:
file -
Method Detail

processValidationConfig

public void processValidationConfig(ConfigurationImpl targetConfig)
Process the validation configuration into targetConfig.

Parameters:
targetConfig -

getSchema

static Schema getSchema(String xsd)
Get a Schema object from the specified resource name.

Parameters:
xsd -
Returns:
Schema


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.