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

Quick Search    Search Deep

com.hp.hpl.jena.enhanced.test.* (12)

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


Package Samples:

com.hp.hpl.jena.enhanced.test: This package defines the enhanced node and graph classes; an enhanced node is one embedded in a particular enhanced graph.  

Classes:

TestPackage: These tests give a small version of a model-like interface TestModel with different views over the nodes in the graph TestSubject , TestProperty TestObject Any node can be any one of these three, but the interface only works if the node is the subject, property or object, respectively, of some triple in the graph. There are two implementations of the three interfaces. We use four different personalities, in the tests, from various combinations of the implementation classes with the interface classes. A more realistic test would be a basic set of interfaces with implementations, and then some more ...
EnhGraph: A specialisation of Polymorphic that models an extended graph - that is, one that contains Enhanced nodes or one that itself exposes additional capabilities beyond the graph API. WARNING . The polymorphic aspects of EnhGraph are not supported and are not expected to be supported in this way for the indefinite future.
Personality: Defines a set of permitted mappings from [interface] Class objects to Implementation factories that can generate instances of the facet represented by the Class.
EnhNode: A specialisation of Polymorphic that models an extended node in a an extended graph. An extended node wraps a normal node, and adds additional convenience access or user affordances, though the state remains in the graph itself.
Implementation: Interface defining a generic factory interface for generating enhanced nodes from normal graph nodes. Implementation classes should have a public final member variable called factory of this type.
TestObjectImpl: See TestObject for more detailed documentation.
UnsupportedPolymorphismException: Exception to throw if an enhanced graph does not support polymorphism to a specific class. The exception records the "bad" class and graph for later reporting.
TestModel: A minimalist model interface. It allows you to access an arbitrary subject node, or property node, or object node from the graph.
BuiltinPersonalities: The personailities that are provided for the existing Jena classes. It is likely that this should be factored.
AlreadyLinkedViewException: Exception to throw when adding a view to a Polymorphic discovers that the view to add is already on a ring.
Polymorphic: Abstract base class for all polymorphic RDF objects, especially enhanced node and enhanced graph.
GraphPersonality: Personalities for Graphs. Possibly premature. Or is that NodePersonality?
PersonalityConfigException: Exception denoting that a personality is misconfigured in some way.
TestObject: An interface for viewing object nodes in the graph.
NodePersonality: Personalities for nodes.
TestAllImpl
TestCommonImpl
TestModelImpl
TestNode
TestProperty
TestPropertyImpl
TestSubject
TestSubjectImpl

Home | Contact Us | Privacy Policy | Terms of Service