A B C D F G H I L M N P R S T U V W X

A

allowMissing() - Method in class net.sf.bvalid.BValid.Options
 
available() - Method in class net.sf.bvalid.util.HttpInputStream
 

B

BValid - Class in net.sf.bvalid
Command-line utility for validating instance documents.
BValid(String[]) - Constructor for class net.sf.bvalid.BValid
 
BValid.ArgException - Exception in net.sf.bvalid
 
BValid.ArgException(String) - Constructor for exception net.sf.bvalid.BValid.ArgException
 
BValid.Options - Class in net.sf.bvalid
 
BValid.Options(String[]) - Constructor for class net.sf.bvalid.BValid.Options
 

C

CACHE_PARSED_GRAMMARS - Static variable in class net.sf.bvalid.ValidatorOption
Whether the validator should cache parsed grammars in memory after they have been successfully used to validate an instance document.
cacheFiles() - Method in class net.sf.bvalid.BValid.Options
 
cacheObjects() - Method in class net.sf.bvalid.BValid.Options
 
CachingSchemaLocator - Class in net.sf.bvalid.locator
A SchemaLocator that automatically caches successfully-used schemas to an underlying catalog.
CachingSchemaLocator(SchemaCatalog, SchemaCatalog, SchemaLocator) - Constructor for class net.sf.bvalid.locator.CachingSchemaLocator
 
CatalogSchemaLocator - Class in net.sf.bvalid.locator
A SchemaLocator that uses a Catalog as its sole data source.
CatalogSchemaLocator(SchemaCatalog) - Constructor for class net.sf.bvalid.locator.CatalogSchemaLocator
 
ChainingSchemaLocator - Class in net.sf.bvalid.locator
A SchemaLocator that uses multiple locators, in order, to resolve schema files.
ChainingSchemaLocator(List) - Constructor for class net.sf.bvalid.locator.ChainingSchemaLocator
 
close() - Method in class net.sf.bvalid.util.HttpInputStream
Release the underlying http connection and close the InputStream.
contains(String) - Method in class net.sf.bvalid.catalog.DiskSchemaCatalog
 
contains(String) - Method in class net.sf.bvalid.catalog.MemorySchemaCatalog
 
contains(String) - Method in interface net.sf.bvalid.catalog.SchemaCatalog
 

D

DEFAULT_REFRESH_SECONDS - Static variable in class net.sf.bvalid.catalog.FileSchemaIndex
 
DiskSchemaCatalog - Class in net.sf.bvalid.catalog
A SchemaCatalog that uses a given SchemaIndex in conjunction with files on disk.
DiskSchemaCatalog(SchemaIndex, File) - Constructor for class net.sf.bvalid.catalog.DiskSchemaCatalog
 

F

FAIL_ON_MISSING_REFERENCED - Static variable in class net.sf.bvalid.ValidatorOption
Whether validation should fail when a schema referenced within the instance document cannot be found.
FileSchemaIndex - Class in net.sf.bvalid.catalog
A file-backed SchemaIndex implementation.
FileSchemaIndex(File) - Constructor for class net.sf.bvalid.catalog.FileSchemaIndex
 
FileSchemaIndex(File, int) - Constructor for class net.sf.bvalid.catalog.FileSchemaIndex
 
finalize() - Method in class net.sf.bvalid.util.HttpInputStream
Automatically close on garbage collection.
FOLLOW_REDIRECTS - Variable in class net.sf.bvalid.util.WebClient
Whether to automatically follow HTTP redirects.
forName(String) - Static method in class net.sf.bvalid.SchemaLanguage
Return the schema language with the given name.

G

get(String) - Method in class net.sf.bvalid.catalog.DiskSchemaCatalog
 
get(String) - Method in class net.sf.bvalid.catalog.MemorySchemaCatalog
 
get(String) - Method in interface net.sf.bvalid.catalog.SchemaCatalog
Get the schema InputStream if in the catalog, else return null.
get(String, boolean) - Method in class net.sf.bvalid.locator.CachingSchemaLocator
 
get(String, boolean) - Method in class net.sf.bvalid.locator.CatalogSchemaLocator
 
get(String, boolean) - Method in class net.sf.bvalid.locator.ChainingSchemaLocator
 
get(String, boolean) - Method in interface net.sf.bvalid.locator.SchemaLocator
Get the content of the indicated schema.
get(String, boolean) - Method in class net.sf.bvalid.locator.URLSchemaLocator
 
get(String, boolean) - Method in class net.sf.bvalid.util.WebClient
 
get(String, boolean, String, String) - Method in class net.sf.bvalid.util.WebClient
 
get(String, boolean, UsernamePasswordCredentials) - Method in class net.sf.bvalid.util.WebClient
Get an HTTP resource with the response as an InputStream, given a URL.
getDefaultValue() - Method in class net.sf.bvalid.ValidatorOption
Get the default value for this option.
getDescription() - Method in class net.sf.bvalid.ValidatorOption
Get the description of the option.
getFilename(String) - Method in class net.sf.bvalid.catalog.FileSchemaIndex
 
getFilename(String) - Method in interface net.sf.bvalid.catalog.SchemaIndex
 
getHttpClient() - Method in class net.sf.bvalid.util.WebClient
 
getHttpClient(String, UsernamePasswordCredentials) - Method in class net.sf.bvalid.util.WebClient
 
getIndexFile() - Method in class net.sf.bvalid.catalog.FileSchemaIndex
 
getLang() - Method in class net.sf.bvalid.BValid.Options
 
getMethodName() - Method in class net.sf.bvalid.util.HttpInputStream
Get the http method name (GET or POST).
getName() - Method in class net.sf.bvalid.SchemaLanguage
The name of the language.
getName() - Method in class net.sf.bvalid.ValidatorOption
Get the name of the option.
getRepeat() - Method in class net.sf.bvalid.BValid.Options
 
getResponseAsString(String, boolean) - Method in class net.sf.bvalid.util.WebClient
 
getResponseAsString(String, boolean, UsernamePasswordCredentials) - Method in class net.sf.bvalid.util.WebClient
 
getResponseHeader(String) - Method in class net.sf.bvalid.util.HttpInputStream
Get a specific response header.
getResponseHeaders() - Method in class net.sf.bvalid.util.HttpInputStream
Get all response headers.
getResponseHeaderValue(String, String) - Method in class net.sf.bvalid.util.HttpInputStream
Get a response header value string, or defaultValue if the header is undefined or empty.
getSchema() - Method in class net.sf.bvalid.BValid.Options
 
getStatusCode() - Method in class net.sf.bvalid.util.HttpInputStream
Get the http status code.
getStatusText() - Method in class net.sf.bvalid.util.HttpInputStream
Get the "reason phrase" associated with the status code.
getSupportedList() - Static method in class net.sf.bvalid.SchemaLanguage
Return all supported schema languages.
getURI() - Method in class net.sf.bvalid.SchemaLanguage
The URI of the language.
getURISet() - Method in class net.sf.bvalid.catalog.FileSchemaIndex
 
getURISet() - Method in interface net.sf.bvalid.catalog.SchemaIndex
 
getURL() - Method in class net.sf.bvalid.util.HttpInputStream
Get the original URL of the http request this InputStream is based on.
getValidator(SchemaLanguage, Map) - Static method in class net.sf.bvalid.ValidatorFactory
Get a validator without any schema file caching.
getValidator(SchemaLanguage, File, Map) - Static method in class net.sf.bvalid.ValidatorFactory
Get a validator with automatic schema file caching.
getValidator(SchemaLanguage, SchemaLocator, Map) - Static method in class net.sf.bvalid.ValidatorFactory
Get a validator that uses the provided SchemaLocator.
getValidValues() - Method in class net.sf.bvalid.ValidatorOption
Get the set of valid values for this option.
getXMLFile() - Method in class net.sf.bvalid.BValid.Options
 

H

HttpInputStream - Class in net.sf.bvalid.util
An InputStream from an HttpMethod.
HttpInputStream(HttpClient, HttpMethod, String) - Constructor for class net.sf.bvalid.util.HttpInputStream
 

I

isValidValue(String) - Method in class net.sf.bvalid.ValidatorOption
Tell whether the given value is valid for this option.

L

listURIs() - Method in class net.sf.bvalid.catalog.DiskSchemaCatalog
 
listURIs() - Method in class net.sf.bvalid.catalog.MemorySchemaCatalog
 
listURIs() - Method in interface net.sf.bvalid.catalog.SchemaCatalog
 
loadIndex(File) - Static method in class net.sf.bvalid.catalog.FileSchemaIndex
 

M

main(String[]) - Static method in class net.sf.bvalid.BValid
 
mark(int) - Method in class net.sf.bvalid.util.HttpInputStream
 
markSupported() - Method in class net.sf.bvalid.util.HttpInputStream
 
MAX_CONNECTIONS_PER_HOST - Variable in class net.sf.bvalid.util.WebClient
Maxiumum http connections per host
MAX_REDIRECTS - Variable in class net.sf.bvalid.util.WebClient
Maximum number of redirects to follow per request if FOLLOW_REDIRECTS is true.
MAX_TOTAL_CONNECTIONS - Variable in class net.sf.bvalid.util.WebClient
Maxiumum total http connections
MemorySchemaCatalog - Class in net.sf.bvalid.catalog
A SchemaCatalog based entirely in memory.
MemorySchemaCatalog() - Constructor for class net.sf.bvalid.catalog.MemorySchemaCatalog
 

N

net.sf.bvalid - package net.sf.bvalid
Main package of the BValid API.
net.sf.bvalid.catalog - package net.sf.bvalid.catalog
SchemaCatalog interface and implementations.
net.sf.bvalid.locator - package net.sf.bvalid.locator
SchemaLocator interface and implementations.
net.sf.bvalid.util - package net.sf.bvalid.util
Miscellaneous utility classes.

P

put(String, InputStream) - Method in class net.sf.bvalid.catalog.DiskSchemaCatalog
 
put(String, InputStream) - Method in class net.sf.bvalid.catalog.MemorySchemaCatalog
 
put(String, InputStream) - Method in interface net.sf.bvalid.catalog.SchemaCatalog
 
putFilename(String, String) - Method in class net.sf.bvalid.catalog.FileSchemaIndex
 
putFilename(String, String) - Method in interface net.sf.bvalid.catalog.SchemaIndex
 

R

read() - Method in class net.sf.bvalid.util.HttpInputStream
 
read(byte[]) - Method in class net.sf.bvalid.util.HttpInputStream
 
read(byte[], int, int) - Method in class net.sf.bvalid.util.HttpInputStream
 
remove(String) - Method in class net.sf.bvalid.catalog.DiskSchemaCatalog
 
remove(String) - Method in class net.sf.bvalid.catalog.MemorySchemaCatalog
 
remove(String) - Method in interface net.sf.bvalid.catalog.SchemaCatalog
 
removeMapping(String) - Method in class net.sf.bvalid.catalog.FileSchemaIndex
 
removeMapping(String) - Method in interface net.sf.bvalid.catalog.SchemaIndex
 
reset() - Method in class net.sf.bvalid.util.HttpInputStream
 
run() - Method in class net.sf.bvalid.BValid
 

S

saveIndex(File, Map) - Static method in class net.sf.bvalid.catalog.FileSchemaIndex
 
SchemaCatalog - Interface in net.sf.bvalid.catalog
A collection of schema files, keyed by URI.
SchemaIndex - Interface in net.sf.bvalid.catalog
A mapping of schema URI-to-filename.
SchemaLanguage - Class in net.sf.bvalid
An XML schema language.
SchemaLocator - Interface in net.sf.bvalid.locator
Finds schema files given a URI (which is often a URL).
showUsage() - Method in class net.sf.bvalid.BValid.Options
 
showVersion() - Method in class net.sf.bvalid.BValid.Options
 
skip(long) - Method in class net.sf.bvalid.util.HttpInputStream
 
SOCKET_TIMEOUT_SECONDS - Variable in class net.sf.bvalid.util.WebClient
Seconds to wait while waiting for data over the socket (SO_TIMEOUT).
successfullyUsed(String) - Method in class net.sf.bvalid.locator.CachingSchemaLocator
 
successfullyUsed(String) - Method in class net.sf.bvalid.locator.CatalogSchemaLocator
 
successfullyUsed(String) - Method in class net.sf.bvalid.locator.ChainingSchemaLocator
 
successfullyUsed(String) - Method in interface net.sf.bvalid.locator.SchemaLocator
Notify the locator that the indicated schema was just used for a sucessful validation.
successfullyUsed(String) - Method in class net.sf.bvalid.locator.URLSchemaLocator
 

T

TIMEOUT_SECONDS - Variable in class net.sf.bvalid.util.WebClient
Seconds to wait before a connection is established.

U

URLSchemaLocator - Class in net.sf.bvalid.locator
A SchemaLocator that resolves file:// URLs using the local filesystem, and http:// URLs using a WebClient.
URLSchemaLocator() - Constructor for class net.sf.bvalid.locator.URLSchemaLocator
 
URLSchemaLocator(WebClient) - Constructor for class net.sf.bvalid.locator.URLSchemaLocator
 
USER_AGENT - Variable in class net.sf.bvalid.util.WebClient
What the "User-Agent" request header should say.

V

validate(InputStream, String) - Method in interface net.sf.bvalid.Validator
Validate the document according to the given schema.
validate(InputStream) - Method in interface net.sf.bvalid.Validator
Validate the document according to the schema(s) referenced within, if any.
ValidationException - Exception in net.sf.bvalid
Signals that validation failed.
ValidationException(String) - Constructor for exception net.sf.bvalid.ValidationException
 
ValidationException(String, Throwable) - Constructor for exception net.sf.bvalid.ValidationException
 
Validator - Interface in net.sf.bvalid
An XML document validator.
ValidatorException - Exception in net.sf.bvalid
Superclass for all BValid-generated exceptions.
ValidatorException(String) - Constructor for exception net.sf.bvalid.ValidatorException
 
ValidatorException(String, Throwable) - Constructor for exception net.sf.bvalid.ValidatorException
 
ValidatorFactory - Class in net.sf.bvalid
Provides methods for getting Validator instances.
ValidatorFactory() - Constructor for class net.sf.bvalid.ValidatorFactory
 
ValidatorOption - Class in net.sf.bvalid
An option that can be used to configure a Validator.
ValidatorOption(String, String, String[], String) - Constructor for class net.sf.bvalid.ValidatorOption
 

W

WebClient - Class in net.sf.bvalid.util
A general-purpose, connection-pooling HTTP Client.
WebClient() - Constructor for class net.sf.bvalid.util.WebClient
 

X

XSD - Static variable in class net.sf.bvalid.SchemaLanguage
 

A B C D F G H I L M N P R S T U V W X