Skip navigation links
A B C E F G H I J L M N O P Q R S T U V W 

A

add(ResponseBuilder.WarningsList) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
add(ResponseBuilder.Warnings) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
add(Exception) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
add(String) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
addAll(Collection<? extends Exception>) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
addDomain(String, String) - Method in class org.cthul.resolve.UriMappingResolver
Adds a domain for relative lookup.
addDomain(String) - Method in class org.cthul.resolve.UriMappingResolver
Adds a domain for which paths will be looked up.
addDomainPattern(String, String) - Method in class org.cthul.resolve.UriMappingResolver
 
addDomainPattern(Pattern, String) - Method in class org.cthul.resolve.UriMappingResolver
 
addDomainPatterns(String...) - Method in class org.cthul.resolve.UriMappingResolver
 
addDomains(String...) - Method in class org.cthul.resolve.UriMappingResolver
addMessage(String) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
addResource(String, String) - Method in class org.cthul.resolve.UriMappingResolver
Adds a single resource that can be looked-up by its uri.
addResources(String...) - Method in class org.cthul.resolve.UriMappingResolver
Calls UriMappingResolver.addResource(java.lang.String, java.lang.String) with pairs taken from the argument array.
addResources(Map<String, String>) - Method in class org.cthul.resolve.UriMappingResolver
Adds all resources so that they can be looked up by the uris.
addSchema(String, String) - Method in class org.cthul.resolve.UriMappingResolver
addSchemas(String...) - Method in class org.cthul.resolve.UriMappingResolver
addSchemas(Map<String, String>) - Method in class org.cthul.resolve.UriMappingResolver
addTo(List<Exception>) - Method in interface org.cthul.resolve.ResponseBuilder.Warnings
 
addTo(List<Exception>) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
againAs(Class<T1>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is the specified type, otherwise returns a runtime exception.
againAs(Class<T1>, Class<T2>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is one of the specified types, otherwise returns a runtime exception.
againAs(Class<T1>, Class<T2>, Class<T3>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is one of the specified types, otherwise returns a runtime exception.
againAs(Class<T1>, Class<T2>, Class<T3>, Class<T4>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is one of the specified types, otherwise returns a runtime exception.
all(ResourceResolver, ResourceResolver...) - Static method in class org.cthul.resolve.CompositeResolver
 
asBufferedInputStream() - Method in class org.cthul.resolve.RResult
Like RResult.asInputStream(), but always returns a buffered stream.
asByteBuffer() - Method in class org.cthul.resolve.results.InputStreamResult
 
asByteBuffer() - Method in class org.cthul.resolve.results.StringResult
 
asByteBuffer() - Method in class org.cthul.resolve.results.URLResult
 
asByteBuffer() - Method in class org.cthul.resolve.RResult
Returns the resource as a byte buffer, converting it if necessary.
asException() - Method in exception org.cthul.resolve.ResolvingException
 
asException() - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
asException() - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
asException(RRequest) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
asException() - Method in interface org.cthul.resolve.RResponse
Represents the warnings as single exception.
asException() - Method in class org.cthul.resolve.RResult
 
asInputStream() - Method in class org.cthul.resolve.results.BytesResult
 
asInputStream() - Method in class org.cthul.resolve.results.StringResult
 
asInputStream() - Method in class org.cthul.resolve.RResult
Returns the resource as an input stream, converting it if necessary.
asReader() - Method in class org.cthul.resolve.results.BytesResult
 
asReader() - Method in class org.cthul.resolve.results.InputStreamResult
 
asReader() - Method in class org.cthul.resolve.results.URLResult
 
asReader() - Method in class org.cthul.resolve.RResult
Returns the resource as a reader, converting it if necessary.
asReadOnly() - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
asRuntimeException() - Method in exception org.cthul.resolve.ResolvingException
If the cause is a RuntimeException, returns the cause, otherwise returns this.
asString() - Method in class org.cthul.resolve.results.BytesResult
 
asString() - Method in class org.cthul.resolve.results.InputStreamResult
 
asString() - Method in class org.cthul.resolve.results.URLResult
 
asString() - Method in class org.cthul.resolve.RResult
Returns the resource as a string, converting it if necessary.
asURLConnection() - Method in class org.cthul.resolve.RResult
Returns the resource as URL connection, converting it if necessary.

B

bufferFrom(String) - Method in class org.cthul.resolve.RResult
 
bufferFrom(InputStream) - Method in class org.cthul.resolve.RResult
 
ByteBufferInputStream(ByteBuffer) - Constructor for class org.cthul.resolve.RResult.ByteBufferInputStream
 
bytesFrom(String) - Method in class org.cthul.resolve.RResult
 
BytesResult - Class in org.cthul.resolve.results
Result based on a byte array or ByteBuffer.
BytesResult(RRequest, String, byte[]) - Constructor for class org.cthul.resolve.results.BytesResult
 
BytesResult(RRequest, String, byte[], boolean) - Constructor for class org.cthul.resolve.results.BytesResult
 
BytesResult(RRequest, String, ByteBuffer) - Constructor for class org.cthul.resolve.results.BytesResult
 
BytesResult(RRequest, String, ByteBuffer, boolean) - Constructor for class org.cthul.resolve.results.BytesResult
 
BytesResult(RRequest, String, InputStream) - Constructor for class org.cthul.resolve.results.BytesResult
 

C

checkNext() - Method in class org.cthul.resolve.UriMappingResolver.Resolver
 
ClassLoaderResourceResolver - Class in org.cthul.resolve
Looks up resources in the classpath of a given class loader.
ClassLoaderResourceResolver() - Constructor for class org.cthul.resolve.ClassLoaderResourceResolver
 
ClassLoaderResourceResolver(ClassLoader) - Constructor for class org.cthul.resolve.ClassLoaderResourceResolver
 
ClassLoaderResourceResolver(ClassLoader, String...) - Constructor for class org.cthul.resolve.ClassLoaderResourceResolver
 
ClassLoaderResourceResolver(ClassLoader, Map<String, String>) - Constructor for class org.cthul.resolve.ClassLoaderResourceResolver
 
ClassResourceResolver - Class in org.cthul.resolve
Looks up resources in the classpath relative to a given class.
ClassResourceResolver(Class<?>) - Constructor for class org.cthul.resolve.ClassResourceResolver
 
ClassResourceResolver(Class<?>, String...) - Constructor for class org.cthul.resolve.ClassResourceResolver
 
ClassResourceResolver(Class<?>, Map<String, String>) - Constructor for class org.cthul.resolve.ClassResourceResolver
 
close() - Method in class org.cthul.resolve.RResult.ByteBufferInputStream
 
CLSResourceResolver - Class in org.cthul.xml
Returns the schema file for a namespace uri.
CLSResourceResolver(ResourceResolver) - Constructor for class org.cthul.xml.CLSResourceResolver
 
CLSResourceResolver(ResourceResolver...) - Constructor for class org.cthul.xml.CLSResourceResolver
 
CLSResourceResolver(DOMImplementationLS, ResourceResolver) - Constructor for class org.cthul.xml.CLSResourceResolver
 
CLSResourceResolver(DOMImplementationLS, ResourceResolver...) - Constructor for class org.cthul.xml.CLSResourceResolver
 
CLSResourceResolver.LSInputResult - Class in org.cthul.xml
 
CompositeResolver - Class in org.cthul.resolve
Looks up resources from an array of resolvers, returning the first result that was found.
CompositeResolver(ResourceResolver...) - Constructor for class org.cthul.resolve.CompositeResolver
 
CompositeResolver(Collection<? extends ResourceResolver>) - Constructor for class org.cthul.resolve.CompositeResolver
 
CompositeResolver(boolean, ResourceResolver...) - Constructor for class org.cthul.resolve.CompositeResolver
 
connect() - Method in class org.cthul.resolve.RResult.InputStreamURLConnection
 
createByteBuffer() - Method in class org.cthul.resolve.results.BytesResult
 
createByteBuffer() - Method in class org.cthul.resolve.results.FileResult
 
createByteBuffer() - Method in class org.cthul.resolve.RResult
Optional: creates a byte buffer to access the resource.
createFilteredReader(XMLStreamReader, StreamFilter) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createFilteredReader(XMLEventReader, EventFilter) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createInputStream() - Method in class org.cthul.resolve.results.FileResult
 
createInputStream() - Method in class org.cthul.resolve.results.InputStreamResult
 
createInputStream() - Method in class org.cthul.resolve.results.URLResult
 
createInputStream() - Method in class org.cthul.resolve.RResult
Optional: creates an input stream to access the resource.
createReader() - Method in class org.cthul.resolve.RResult
Optional: creates a reader to access the resource.
createURLConnection() - Method in class org.cthul.resolve.RResult
Optional: creates a URL connection to access the resource.
createXMLEventReader(Reader) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLEventReader(String, Reader) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLEventReader(XMLStreamReader) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLEventReader(Source) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLEventReader(InputStream) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLEventReader(InputStream, String) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLEventReader(String, InputStream) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLEventReader(File) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLStreamReader(Reader) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLStreamReader(Source) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLStreamReader(InputStream) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLStreamReader(InputStream, String) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLStreamReader(String, InputStream) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLStreamReader(String, Reader) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
createXMLStreamReader(File) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
CXMLResolver - Class in org.cthul.xml
Returns the schema file for a namespace uri.
CXMLResolver(XMLInputFactory, ResourceResolver) - Constructor for class org.cthul.xml.CXMLResolver
 
CXMLResolver(XMLInputFactory, ResourceResolver...) - Constructor for class org.cthul.xml.CXMLResolver
 
CXMLResolver(ResourceResolver) - Constructor for class org.cthul.xml.CXMLResolver
 
CXMLResolver(ResourceResolver...) - Constructor for class org.cthul.xml.CXMLResolver
 

E

expandSystemId(String, String) - Method in class org.cthul.resolve.RRequest
Calculates the schema file location.
expandSystemId(String, String) - Method in class org.cthul.resolve.RResult
Calculates the resource location.

F

FileResolver - Class in org.cthul.resolve
Looks up resources on the local file system.
FileResolver(Path, Path) - Constructor for class org.cthul.resolve.FileResolver
 
FileResolver(File, String) - Constructor for class org.cthul.resolve.FileResolver
 
FileResolver() - Constructor for class org.cthul.resolve.FileResolver
 
FileResolver(String) - Constructor for class org.cthul.resolve.FileResolver
 
FileResolver(File) - Constructor for class org.cthul.resolve.FileResolver
 
FileResolver(File, File) - Constructor for class org.cthul.resolve.FileResolver
 
FileResult - Class in org.cthul.resolve.results
Result based on a File or Path.
FileResult(RRequest, Path) - Constructor for class org.cthul.resolve.results.FileResult
 
FileResult(RRequest, Path, String) - Constructor for class org.cthul.resolve.results.FileResult
 
FileResult(RRequest, File) - Constructor for class org.cthul.resolve.results.FileResult
 
FileResult(RRequest, File, String) - Constructor for class org.cthul.resolve.results.FileResult
 
fromStreamOrBuffer() - Method in class org.cthul.resolve.RResult
 
fromStreamOrBufferOrUrl() - Method in class org.cthul.resolve.RResult
 
fromStreamOrUrl() - Method in class org.cthul.resolve.RResult
 
fromStringOrReader() - Method in class org.cthul.resolve.RResult
 

G

get(RRequest, String) - Method in class org.cthul.resolve.ClassLoaderResourceResolver
 
get(RRequest, String) - Method in class org.cthul.resolve.ClassResourceResolver
 
get(RRequest, String) - Method in class org.cthul.resolve.FileResolver
 
get(int) - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
get(RRequest, String) - Method in class org.cthul.resolve.UriMappingResolver
Returns a resource for the requested uri, or null if it could not be found.
getBaseUri() - Method in class org.cthul.resolve.RRequest
 
getBaseUri() - Method in class org.cthul.resolve.RResult
Returns the base URI of the request
getBaseURI() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getByteBuffer() - Method in class org.cthul.resolve.RResult
Returns the resource as byte buffer, or null
getByteStream() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getCertifiedText() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getCharacterStream() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getCharset() - Method in class org.cthul.resolve.RResult
Returns the charset for the result's encoding, or the default charset of this JVM.
getContentHandler() - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
getDefaultUrlConnectionHeader() - Method in class org.cthul.resolve.RResult
 
getDTDHandler() - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
getEncoding() - Method in class org.cthul.resolve.RResult
Returns the resource's encoding.
getEncoding() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getEntityResolver() - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
getErrorHandler() - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
getEventAllocator() - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
getFeature(String) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
getHeaderField(String) - Method in class org.cthul.resolve.RResult.InputStreamURLConnection
 
getHeaderField(int) - Method in class org.cthul.resolve.RResult.InputStreamURLConnection
 
getHeaderFieldKey(int) - Method in class org.cthul.resolve.RResult.InputStreamURLConnection
 
getHeaderFields() - Method in class org.cthul.resolve.RResult.InputStreamURLConnection
 
getInputStream() - Method in class org.cthul.resolve.RResult
Returns the resource as input stream, or null
getInputStream() - Method in class org.cthul.resolve.RResult.InputStreamURLConnection
 
getInstance() - Static method in class org.cthul.xml.OrgW3Resolver
 
getMappingString() - Method in class org.cthul.resolve.UriMappingResolver
string representation for debugging purposes
getProperty(String) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
getProperty(String) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
getPublicId() - Method in class org.cthul.resolve.RRequest
 
getPublicId() - Method in class org.cthul.resolve.RResult
Returns the request public ID
getPublicId() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getReader() - Method in class org.cthul.resolve.RResult
Returns the resource as a reader, or null.
getRequest() - Method in exception org.cthul.resolve.ResolvingException
 
getRequest() - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
getRequest() - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
getRequest() - Method in interface org.cthul.resolve.RResponse
Returns the request that was responded to.
getRequest() - Method in class org.cthul.resolve.RResult
Returns the request for this result.
getResolvedSystemId() - Method in class org.cthul.resolve.RRequest
Creates a URI from the base URI and the system ID.
getResolvedSystemId() - Method in class org.cthul.resolve.RResult
Creates a URI from the base URI and the system ID.
getResolvingCause() - Method in exception org.cthul.resolve.ResolvingException
Returns the underlying cause of this resolving exceptions.
getResourceURL() - Method in class org.cthul.resolve.results.FileResult
 
getResourceURL() - Method in class org.cthul.resolve.results.URLResult
 
getResourceURL() - Method in class org.cthul.resolve.RResult
Returns the resource as URL, or null
getResourceURLOrSystemId() - Method in class org.cthul.resolve.RResult
Return the resource URL, or the system ID as URL.
getResult() - Method in exception org.cthul.resolve.ResolvingException
 
getResult() - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
getResult() - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
getResult() - Method in interface org.cthul.resolve.RResponse
Returns result if present, otherwise throws RResponse.asException().
getResult() - Method in class org.cthul.resolve.RResult
 
getResultType() - Method in class org.cthul.resolve.results.BytesResult
 
getResultType() - Method in class org.cthul.resolve.results.FileResult
 
getResultType() - Method in class org.cthul.resolve.results.InputStreamResult
 
getResultType() - Method in class org.cthul.resolve.results.StringResult
 
getResultType() - Method in class org.cthul.resolve.results.URLResult
 
getResultType() - Method in class org.cthul.resolve.RResult
Indicates the native format of this result.
getSchemaFactory() - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
getSchemaMap() - Static method in class org.cthul.xml.OrgW3Resolver
 
getString() - Method in class org.cthul.resolve.results.StringResult
 
getString() - Method in class org.cthul.resolve.RResult
Returns the resource as string, or null
getStringData() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getSystemId() - Method in class org.cthul.resolve.RRequest
 
getSystemId() - Method in class org.cthul.resolve.RResult
Returns the system ID of the resolved resource.
getSystemId() - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
getUri() - Method in class org.cthul.resolve.RRequest
 
getUri() - Method in class org.cthul.resolve.RResult
Returns the request URI
getUriOrId() - Method in class org.cthul.resolve.RRequest
getUriOrId() - Method in class org.cthul.resolve.RResult
getURLConnection() - Method in class org.cthul.resolve.RResult
Returns the resource as URL connection, or null
getWarningsLog() - Method in exception org.cthul.resolve.ResolvingException
 
getWarningsLog() - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
getWarningsLog() - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
getWarningsLog() - Method in interface org.cthul.resolve.RResponse
Returns a list of non-critical exceptions that occurred during look-up.
getWarningsLog() - Method in class org.cthul.resolve.RResult
 
getXMLReporter() - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
getXMLResolver() - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 

H

hasNext() - Method in class org.cthul.resolve.UriMappingResolver.Resolver
 
hasResult() - Method in exception org.cthul.resolve.ResolvingException
 
hasResult() - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
hasResult() - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
hasResult() - Method in interface org.cthul.resolve.RResponse
Returns true if look-up found a result.
hasResult() - Method in class org.cthul.resolve.RResult
 

I

immutable() - Method in class org.cthul.resolve.CompositeResolver
CompositeFinders are always immutable.
immutable() - Method in class org.cthul.resolve.ResourceResolverBase
Returns a schema finder that uses this schema finder for look-up, but is not mutable.
inputFactory - Variable in class org.cthul.xml.CXMLResolver
 
InputStreamResult - Class in org.cthul.resolve.results
 
InputStreamResult(RRequest) - Constructor for class org.cthul.resolve.results.InputStreamResult
 
InputStreamResult(RRequest, String) - Constructor for class org.cthul.resolve.results.InputStreamResult
 
InputStreamResult(String, String, String, String) - Constructor for class org.cthul.resolve.results.InputStreamResult
 
InputStreamURLConnection(URL, RResult, Map<String, String>) - Constructor for class org.cthul.resolve.RResult.InputStreamURLConnection
 
INSTANCE - Static variable in class org.cthul.xml.OrgW3Resolver
 
isBinaryData() - Method in enum org.cthul.resolve.RResult.ResultType
 
isCharacterData() - Method in enum org.cthul.resolve.RResult.ResultType
 
isPropertySupported(String) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 

J

join(ResourceResolver, ResourceResolver...) - Static method in class org.cthul.resolve.CompositeResolver
 
join(ResourceResolver...) - Method in class org.cthul.resolve.ResourceResolverBase
 

L

log_notFound(RResponse) - Method in class org.cthul.resolve.ObjectResolver
 
log_resolved(RResult) - Method in class org.cthul.resolve.ObjectResolver
 
lookupAll() - Method in class org.cthul.resolve.FileResolver
 
lookupAll() - Method in class org.cthul.resolve.UriMappingResolver
Adds a rule to look-up all uris as they are.
ls - Variable in class org.cthul.xml.CLSResourceResolver
 
LSInputResult(RResult) - Constructor for class org.cthul.xml.CLSResourceResolver.LSInputResult
 

M

mapDomain(Map.Entry<Pattern, String>, String) - Method in class org.cthul.resolve.UriMappingResolver
 
mapUri(String) - Method in class org.cthul.resolve.UriMappingResolver
 

N

next - Variable in class org.cthul.resolve.UriMappingResolver.Resolver
 
next() - Method in class org.cthul.resolve.UriMappingResolver.Resolver
 
noResult(RResponse) - Method in class org.cthul.resolve.ObjectResolver
 
noResult(RRequest) - Static method in class org.cthul.resolve.ResponseBuilder
Creates an immutable no-result response for the given request.
NoResult(RRequest) - Constructor for class org.cthul.resolve.ResponseBuilder.NoResult
 
noResultResponse() - Method in class org.cthul.resolve.RRequest
 
NS_W3_XML - Static variable in class org.cthul.xml.OrgW3Resolver
"http://www.w3.org/XML/1998/namespace"
NS_W3_XML_XSD - Static variable in class org.cthul.xml.OrgW3Resolver
"http://www.w3.org/2001/xml.xsd"
NS_W3_XMLSCHEMA - Static variable in class org.cthul.xml.OrgW3Resolver
"http://www.w3.org/2001/XMLSchema"

O

ObjectResolver<T,E extends Exception> - Class in org.cthul.resolve
Uses ResourceResolvers to create objects of type T.
ObjectResolver(ResourceResolver) - Constructor for class org.cthul.resolve.ObjectResolver
 
ObjectResolver(ResourceResolver...) - Constructor for class org.cthul.resolve.ObjectResolver
 
org.cthul.resolve - package org.cthul.resolve
 
org.cthul.resolve.results - package org.cthul.resolve.results
 
org.cthul.xml - package org.cthul.xml
 
org.cthul.xml.validation - package org.cthul.xml.validation
 
OrgW3Resolver - Class in org.cthul.xml
A ResourceResolver that provides the basic XML schemas.
OrgW3Resolver() - Constructor for class org.cthul.xml.OrgW3Resolver
 
OrgW3Resolver(ClassLoader) - Constructor for class org.cthul.xml.OrgW3Resolver
 

P

parse(File, ContentHandler) - Method in class org.cthul.xml.validation.ValidatingSAXParser
 
parse(InputStream, String, ContentHandler) - Method in class org.cthul.xml.validation.ValidatingSAXParser
 
parse(InputSource, ContentHandler) - Method in class org.cthul.xml.validation.ValidatingSAXParser
 
parse(InputSource) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
parse(String) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
patternIterator() - Method in class org.cthul.resolve.UriMappingResolver
 
patterns - Variable in class org.cthul.resolve.UriMappingResolver.Resolver
 

Q

quote(String) - Method in class org.cthul.resolve.UriMappingResolver
 

R

read() - Method in class org.cthul.resolve.RResult.ByteBufferInputStream
 
read(byte[], int, int) - Method in class org.cthul.resolve.RResult.ByteBufferInputStream
 
readerFrom(InputStream) - Method in class org.cthul.resolve.RResult
 
remove() - Method in class org.cthul.resolve.UriMappingResolver.Resolver
 
resolve(RRequest) - Method in class org.cthul.resolve.CompositeResolver
 
resolve(String, String, String, String) - Method in class org.cthul.resolve.ObjectResolver
 
resolve(String) - Method in class org.cthul.resolve.ObjectResolver
 
resolve(String, String) - Method in class org.cthul.resolve.ObjectResolver
 
resolve(RRequest) - Method in class org.cthul.resolve.ObjectResolver
 
resolve(RRequest) - Method in interface org.cthul.resolve.ResourceResolver
 
resolve(RRequest) - Method in class org.cthul.resolve.UriMappingResolver
 
resolve(RRequest, String) - Method in class org.cthul.resolve.UriMappingResolver
 
resolveEntity(String, String, String, String) - Method in class org.cthul.xml.CXMLResolver
 
resolver - Variable in class org.cthul.resolve.ObjectResolver
 
resolver(String) - Method in class org.cthul.resolve.UriMappingResolver
 
Resolver(String) - Constructor for class org.cthul.resolve.UriMappingResolver.Resolver
 
resolveResource(String, String, String, String, String) - Method in class org.cthul.xml.CLSResourceResolver
 
resolveSystemId() - Method in class org.cthul.resolve.RRequest
 
resolveSystemId() - Method in class org.cthul.resolve.RResult
 
ResolvingException - Exception in org.cthul.resolve
Wraps exceptions that occurred during resource lookup.
ResolvingException() - Constructor for exception org.cthul.resolve.ResolvingException
 
ResolvingException(String) - Constructor for exception org.cthul.resolve.ResolvingException
 
ResolvingException(Throwable) - Constructor for exception org.cthul.resolve.ResolvingException
 
ResolvingException(String, Throwable) - Constructor for exception org.cthul.resolve.ResolvingException
 
ResolvingException(RRequest) - Constructor for exception org.cthul.resolve.ResolvingException
 
ResolvingException(RRequest, String) - Constructor for exception org.cthul.resolve.ResolvingException
 
ResolvingException(RRequest, String, Throwable) - Constructor for exception org.cthul.resolve.ResolvingException
 
ResolvingException(RRequest, Throwable) - Constructor for exception org.cthul.resolve.ResolvingException
 
resolvingException(Throwable) - Method in class org.cthul.resolve.RResult
 
ResourceResolver - Interface in org.cthul.resolve
Finds a requested resource.
ResourceResolverBase - Class in org.cthul.resolve
 
ResourceResolverBase() - Constructor for class org.cthul.resolve.ResourceResolverBase
 
resourceUnaccessible() - Method in class org.cthul.resolve.RResult
 
ResponseBuilder - Class in org.cthul.resolve
A builder for responses.
ResponseBuilder() - Constructor for class org.cthul.resolve.ResponseBuilder
 
ResponseBuilder.NoResult - Class in org.cthul.resolve
 
ResponseBuilder.WarningLog - Class in org.cthul.resolve
 
ResponseBuilder.Warnings - Interface in org.cthul.resolve
 
ResponseBuilder.WarningsList - Class in org.cthul.resolve
 
result(RResult) - Method in class org.cthul.resolve.ObjectResolver
 
result(RResult) - Method in class org.cthul.xml.CLSResourceResolver
 
result(RResult) - Method in class org.cthul.xml.CXMLResolver
 
RRequest - Class in org.cthul.resolve
A resource request.
RRequest(String, String, String, String) - Constructor for class org.cthul.resolve.RRequest
Creates a resource request.
RRequest(String, String) - Constructor for class org.cthul.resolve.RRequest
Creates a resource request.
RRequest(String) - Constructor for class org.cthul.resolve.RRequest
Creates a resource request.
RResponse - Interface in org.cthul.resolve
Response of a resource look-up.
RResult - Class in org.cthul.resolve
Result of resource resolution.
RResult(RRequest) - Constructor for class org.cthul.resolve.RResult
 
RResult(RRequest, String) - Constructor for class org.cthul.resolve.RResult
 
RResult(String, String, String, String) - Constructor for class org.cthul.resolve.RResult
 
RResult.ByteBufferInputStream - Class in org.cthul.resolve
 
RResult.InputStreamURLConnection - Class in org.cthul.resolve
 
RResult.ResultType - Enum in org.cthul.resolve
Describes the format of the result data.

S

setBaseURI(String) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setByteStream(InputStream) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setCertifiedText(boolean) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setCharacterStream(Reader) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setContentHandler(ContentHandler) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
setDefaultEncoding(String) - Method in class org.cthul.resolve.RResult
Sets the default encoding, which is used when no other encoding is defined.
setDTDHandler(DTDHandler) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
setEncoding(String) - Method in class org.cthul.resolve.RResult
Sets the result's encoding.
setEncoding(String) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setEntityResolver(EntityResolver) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
setErrorHandler(ErrorHandler) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
setEventAllocator(XMLEventAllocator) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
setFeature(String, boolean) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
setProperty(String, Object) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
setProperty(String, Object) - Method in class org.cthul.xml.validation.ValidatingXMLReader
 
setPublicId(String) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setStringData(String) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setSystemId(String) - Method in class org.cthul.xml.CLSResourceResolver.LSInputResult
 
setXMLReporter(XMLReporter) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
setXMLResolver(XMLResolver) - Method in class org.cthul.xml.validation.ValidatingXMLInputFactory
 
size() - Method in interface org.cthul.resolve.ResponseBuilder.Warnings
 
size() - Method in class org.cthul.resolve.ResponseBuilder.WarningsList
 
stage - Variable in class org.cthul.resolve.UriMappingResolver.Resolver
 
streamFrom(String) - Method in class org.cthul.resolve.RResult
 
streamFrom(ByteBuffer) - Method in class org.cthul.resolve.RResult
 
streamFrom(URLConnection) - Method in class org.cthul.resolve.RResult
 
streamFromURLConnection() - Method in class org.cthul.resolve.RResult
 
stringFrom(Reader) - Method in class org.cthul.resolve.RResult
 
stringFrom(ByteBuffer) - Method in class org.cthul.resolve.RResult
 
StringResult - Class in org.cthul.resolve.results
 
StringResult(RRequest, String, String) - Constructor for class org.cthul.resolve.results.StringResult
 

T

throwIf(Class<T1>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is the specified type, otherwise returns a runtime exception.
throwIf(Class<T1>, Class<T2>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is one of the specified types, otherwise returns a runtime exception.
throwIf(Class<T1>, Class<T2>, Class<T3>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is one of the specified types, otherwise returns a runtime exception.
throwIf(Class<T1>, Class<T2>, Class<T3>, Class<T4>) - Method in exception org.cthul.resolve.ResolvingException
Throws the cause if it is one of the specified types, otherwise returns a runtime exception.
toString() - Method in class org.cthul.resolve.CompositeResolver
 
toString() - Method in class org.cthul.resolve.FileResolver
 
toString() - Method in class org.cthul.resolve.RRequest
 
toString() - Method in class org.cthul.resolve.RResult
 
toString() - Method in class org.cthul.resolve.UriMappingResolver
 
trySetEncoding(String) - Method in class org.cthul.resolve.RResult
Tries to set the result's encoding, returns true iff it was successful.

U

uri - Variable in class org.cthul.resolve.UriMappingResolver.Resolver
 
uri(RRequest) - Method in class org.cthul.resolve.UriMappingResolver
 
UriMappingResolver - Class in org.cthul.resolve
Uses regular expressions to convert a requested URI into an internal format.
UriMappingResolver(String...) - Constructor for class org.cthul.resolve.UriMappingResolver
 
UriMappingResolver(Map<String, String>) - Constructor for class org.cthul.resolve.UriMappingResolver
 
UriMappingResolver() - Constructor for class org.cthul.resolve.UriMappingResolver
 
UriMappingResolver.Resolver - Class in org.cthul.resolve
 
URLResult - Class in org.cthul.resolve.results
 
URLResult(RRequest, Path) - Constructor for class org.cthul.resolve.results.URLResult
 
URLResult(RRequest, URL) - Constructor for class org.cthul.resolve.results.URLResult
 
useSimpleQuoting() - Method in class org.cthul.resolve.UriMappingResolver
Make this use Pattern.quote(java.lang.String) instead of RegEx.quote(java.lang.String) for creating patterns from domains.

V

ValidatingSAXParser - Class in org.cthul.xml.validation
A SAX parser that validates the input against schemas on the fly.
ValidatingSAXParser(LSResourceResolver) - Constructor for class org.cthul.xml.validation.ValidatingSAXParser
 
ValidatingXMLInputFactory - Class in org.cthul.xml.validation
Creates a StAX reader that validates the input file.
ValidatingXMLInputFactory(LSResourceResolver) - Constructor for class org.cthul.xml.validation.ValidatingXMLInputFactory
 
ValidatingXMLInputFactory(XMLInputFactory, SchemaFactory) - Constructor for class org.cthul.xml.validation.ValidatingXMLInputFactory
 
ValidatingXMLReader - Class in org.cthul.xml.validation
An XML reader that validates the input against schemas on the fly.
ValidatingXMLReader(LSResourceResolver) - Constructor for class org.cthul.xml.validation.ValidatingXMLReader
 
ValidatingXMLReader(SchemaFactory) - Constructor for class org.cthul.xml.validation.ValidatingXMLReader
 
valueOf(String) - Static method in enum org.cthul.resolve.RResult.ResultType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.cthul.resolve.RResult.ResultType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WarningLog(RRequest) - Constructor for class org.cthul.resolve.ResponseBuilder.WarningLog
 
WarningsList() - Constructor for class org.cthul.resolve.ResponseBuilder.WarningsList
 
withResponse(RResponse) - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
withResponse(RResponse) - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
withResponse(RResponse) - Method in class org.cthul.resolve.ResponseBuilder
Returns a response builder that unifies this builder and the given response.
withResult(RResult) - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
withResult(RResult) - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
withResult(RResult) - Method in class org.cthul.resolve.ResponseBuilder
Returns a response that combines the warnings of this builder with the given result.
withWarning(Exception) - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
withWarning(String) - Method in class org.cthul.resolve.ResponseBuilder.NoResult
 
withWarning(Exception) - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
withWarning(String) - Method in class org.cthul.resolve.ResponseBuilder.WarningLog
 
withWarning(String) - Method in class org.cthul.resolve.ResponseBuilder
Returns a response builder with an additional warning message.
withWarning(Exception) - Method in class org.cthul.resolve.ResponseBuilder
Returns a response builder with an additional warning.
wrap(Exception) - Static method in exception org.cthul.resolve.ResolvingException
Wraps e in an resolving exception, if it isn't one already.
wrap(RRequest, Exception) - Static method in exception org.cthul.resolve.ResolvingException
Wraps e in an resolving exception, if it isn't one already.
A B C E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2015. All rights reserved.