Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hp.hpl.jena.shared.impl.* (2)com.hp.hpl.jena.shared.test.* (7)com.hp.hpl.jena.shared.wg.* (6)

com.hp.hpl.jena.shared: Javadoc index of package com.hp.hpl.jena.shared.


Package Samples:

com.hp.hpl.jena.shared.wg: This package defines some classes common to the Jena API and SPI levels, in particular the JenaException class from which all Jena-specific exceptions hang, and the interface PrefixMapping for translation to and from QNames.  
com.hp.hpl.jena.shared.impl
com.hp.hpl.jena.shared.test

Classes:

BadURIException: A Jena exception for malformed URIs. Jena checks URIs sometimes, particularly on input and output. It is however possible to have a Jena model which contains bad URIs. Such a model cannot be written out very easily, particularly in RDF/XML, try N-TRIPLE. An input document, particularly when no base URL is known, may introduce relative URIs into a model. These may later cause this exception. (This one is an unchecked exception, so we don't litter our code with try-catch blocks or throws declarations.)
JenaParameters: This class holds global, static, configuration parameters that affect the behaviour of the Jena API. These should not be changed unless you are sure you know what you are doing and even then should ideally only be changed before any Models are created or processed. These parameters should not be regarded as a stable part of the API. If we find them being used significantly that probably means they should be moved to being model-specific rather than global.
PrefixMapping: Methods for recording namepsace prefix mappings and applying and unapplying them to URIs. Note that a Model *is* a PrefixMapping, so all the PrefixMapping operations apply to Models, and a Model can be used to supply the PrefixMapping argument to setNsPrefixes.
PrefixMappingImpl: An implementation of PrefixMapping. The mappings are stored in a hash prefixToURI, with the reverse lookup done with a linear search. This may need improving but could get complicated. The test for a legal prefix is left to xerces's XMLChar.isValidNCName() predicate.
ReificationStyle: Reification styles have two boolean components: whether the graph+reifier will intercept reification triples or not [if not, the only in-Jena reification is through the reifyAs operation], and whether or not reification triples will be visible in the graph.
NamespaceEndsWithNameCharException: This exception is thrown when a putative namespace (for a PrefixMapping) ends with a name character, which we disallow because its an invitation to errors. Typically a namespace URI will end with "/" or "#".
ConfigException: An Exception indicating that Jena is not working because it is not correctly configured. For example, the classpath is not set up correctly for the desired functionality.
TestReificationStyle: TestReificationStyle: test that ReificationStyle sets its fields correctly from its constructor arguments, and that the defined constants have the correct fields.
AlreadyExistsException: Exception to throw when an attempt is made to create a named object (eg persistent model) when an object of that name already exists.
LazyFileInputStream: In test cases we cannot open all the input files while creating the test suite, but must defer the opening until the test is actually run.
LazyInputStream: In test cases we cannot open all the input files while creating the test suite, but must defer the opening until the test is actually run.
LazyURLInputStream: In test cases we cannot open all the input files while creating the test suite, but must defer the opening until the test is actually run.
LazyZipEntryInputStream: In test cases we cannot open all the input files while creating the test suite, but must defer the opening until the test is actually run.
NoReasonerSuppliedException: NoReasonerSuppliedException - the exception to throw if a reasoner (spec) was required, but none was given (eg in ModelSpecs).
TestInputStreamFactory: This class provides input streams that: 1: can be from a URL or from a zip 2: do not actually open until the first read
RulesetNotFoundException: RulesetNotFoundException - exception to throw when a Ruleset is not found (eg when handing reasoner specifications)
NoSuchReasonerException: NoSuchReasonerException - the exception to throw when looking up a reasoner fails (in ModelSpec construction).
AbstractTestPrefixMapping: Test prefix mappings - subclass this test and override getMapping() to deliver the prefixMapping to be tested.
AssertionFailureException: Exception to throw when an assertion fails. Probably obsolete in Java's with the assert statement ...
CannotReifyException: The exception thrown by reifyAs if a node is bound to bits and pieces of (an)other triple(s).
DoesNotExistException: Exception thrown when an attempt is made find an entity by name, but it cannot be located.
UpdateDeniedException: Superclass of exceptions thrown when attempting to add/delete on a readonly graph/model.
InvalidPropertyURIException: Exception to throw when it is discovered that a property has been given an illegal URI.
TestJenaException: Introduced to test that nested Jena exceptions preserve the caught exception's message.

Home | Contact Us | Privacy Policy | Terms of Service