| Package | Description |
|---|---|
| org.geotools.appschema.resolver.xml | |
| org.geotools.xml.resolver |
| Modifier and Type | Method and Description |
|---|---|
static AppSchemaValidator |
AppSchemaValidator.buildValidator(SchemaCatalog catalog)
Construct an
AppSchemaValidator that performs schema validation against schemas found
using an SchemaResolver with a SchemaCatalog. |
static void |
AppSchemaValidator.validate(InputStream input,
SchemaCatalog catalog)
Perform schema validation of an XML instance document read from an input stream against
schemas found on the classpath using the convention described in
SchemaResolver.getSimpleHttpResourcePath(java.net.URI). |
static void |
AppSchemaValidator.validate(String xml,
SchemaCatalog catalog)
Perform schema validation of an XML instance document in a string against schemas found on
the classpath using the convention described in
SchemaResolver.getSimpleHttpResourcePath(java.net.URI). |
static void |
AppSchemaValidator.validateResource(String name,
SchemaCatalog catalog)
Perform schema validation of an XML instance document read from a classpath resource against
schemas found on the classpath using the convention described in
SchemaResolver.getSimpleHttpResourcePath(java.net.URI). |
| Modifier and Type | Method and Description |
|---|---|
static SchemaCatalog |
SchemaCatalog.build(URL catalogLocation)
Build an catalog using the given OASIS Catalog file URL.
|
| Constructor and Description |
|---|
SchemaResolver(SchemaCatalog catalog)
Convenience constructor for a resolver with no cache.
|
SchemaResolver(SchemaCatalog catalog,
boolean classpath,
SchemaCache cache)
Constructor.
|
SchemaResolver(SchemaCatalog catalog,
SchemaCache cache)
Constructor.
|
Copyright © 1996–2019 Geotools. All rights reserved.