Skip to content
Snippets Groups Projects
Commit 03178643 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added a constructor ignoring schematype

parent 92a5079b
Branches
Tags
No related merge requests found
...@@ -22,11 +22,16 @@ import java.net.URI; ...@@ -22,11 +22,16 @@ import java.net.URI;
public class ValidationSchema { public class ValidationSchema {
public final String nameSpace; public final String nameSpace;
public final ValidationSchemaType schemaType; public final ValidationSchemaType schemaType;
public final URI schemaURI; public URI schemaURI;
public ValidationSchema(String nameSpace, ValidationSchemaType schemaType, URI schemaURI) throws SAXException { public ValidationSchema(String nameSpace, ValidationSchemaType schemaType, URI schemaURI) throws SAXException {
this.nameSpace = nameSpace; this.nameSpace = nameSpace;
this.schemaURI = schemaURI; this.schemaURI = schemaURI;
this.schemaType = schemaType; this.schemaType = schemaType;
} }
public ValidationSchema(String nameSpace, ValidationSchemaType schemaType) throws SAXException {
this.nameSpace = nameSpace;
this.schemaType = schemaType;
//this.schemaURI = new URI("file://localhost/undefined");
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment