Class NewSchema
- java.lang.Object
-
- org.hibernate.validator.internal.util.privilegedactions.NewSchema
-
- All Implemented Interfaces:
PrivilegedExceptionAction<Schema>
public final class NewSchema extends Object implements PrivilegedExceptionAction<Schema>
Loads a given XML schema.- Author:
- Gunnar Morling
-
-
Constructor Summary
Constructors Constructor Description NewSchema(SchemaFactory schemaFactory, URL url)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NewSchemaaction(SchemaFactory schemaFactory, URL url)Schemarun()
-
-
-
Constructor Detail
-
NewSchema
public NewSchema(SchemaFactory schemaFactory, URL url)
-
-
Method Detail
-
action
public static NewSchema action(SchemaFactory schemaFactory, URL url)
-
run
public Schema run() throws SAXException
- Specified by:
runin interfacePrivilegedExceptionAction<Schema>- Throws:
SAXException
-
-