Package | Description |
---|---|
jade.content.abs | |
jade.content.lang.sl | |
jade.content.onto | |
jade.content.onto.basic | |
jade.content.schema | |
jade.content.schema.facets |
Modifier and Type | Interface and Description |
---|---|
interface |
AbsContentElement
An abstract descriptor that can hold a generic content element
expression.
|
interface |
AbsTerm
An abstract descriptor that can hold a term expression.
|
Modifier and Type | Class and Description |
---|---|
class |
AbsAgentAction
An abstract descriptor that can hold an agent action
expression.
|
class |
AbsAggregate
An abstract descriptor that can hold an aggregate entitiy
expression.
|
class |
AbsConcept
An abstract descriptor that can hold a concept
expression.
|
class |
AbsConceptSlotFunction |
class |
AbsContentElementList
An abstract descriptor that can hold a list of
generic content element expressions.
|
class |
AbsIRE
An Abstract descriptor that can hold an Identifying
Referential Expression (IRE).
|
class |
AbsObjectImpl
Base class for all non-primitive abstract descriptor classes.
|
class |
AbsPredicate
An abstract descriptor that can hold a predicate expression.
|
class |
AbsPrimitive
An abstract descriptor that can hold a primitive expression.
|
class |
AbsPrimitiveSlotsHolder
This class is not intended to be used by programmers.
|
class |
AbsVariable
An abstract descriptor that can hold a variable expression, i.e.
|
Modifier and Type | Method and Description |
---|---|
static AbsObject |
AbsHelper.createAbsTemplate(Class clazz,
Ontology onto)
Generate an AbsObject consistently with class.
|
static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema)
Generate an AbsObject consistently with schema.
|
static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema,
String prefix)
Generate an AbsObject consistently with schema.
|
private static AbsObject |
AbsHelper.createAbsTemplate(ObjectSchema schema,
String prefix,
AbsHelper.VarIndexWrapper viw) |
AbsObject |
AbsPrimitive.getAbsObject(String name)
Makes no sense in the case of an AbsPrimitive that has no attribute
--> Just return null
|
AbsObject |
AbsObjectImpl.getAbsObject(String name)
Gets the value of an attribute of the object held by this
abstract descriptor.
|
AbsObject |
AbsObject.getAbsObject(String name)
Gets the value of an attribute of the object held by this
abstract descriptor.
|
AbsObject |
AbsContentElementList.getAbsObject(String name)
Makes no sense in the case of an AbsContentElementList that has no attribute
--> Just return null
|
AbsObject |
AbsAggregate.getAbsObject(String name)
Overrides this method to check that name is of the form
Codec.UNNAMEDPERFIX+index
|
static AbsObject |
AbsHelper.nullifyVariables(AbsObject abs,
boolean removeEmptyAggregate)
Remove all variables and empty aggregates (only if specified)
|
Modifier and Type | Method and Description |
---|---|
static AbsObject |
AbsHelper.nullifyVariables(AbsObject abs,
boolean removeEmptyAggregate)
Remove all variables and empty aggregates (only if specified)
|
void |
AbsPrimitiveSlotsHolder.set(String name,
AbsObject value) |
void |
AbsPredicate.set(String name,
AbsObject value)
Sets an attribute of the predicate held by this
abstract descriptor.
|
protected void |
AbsObjectImpl.set(String name,
AbsObject value)
Sets an attribute of the object held by this
abstract descriptor.
|
static void |
AbsHelper.setAttribute(AbsObject abs,
String attrName,
AbsObject attrValue)
Set an attribute in an abstract descriptor performing all
necessary type checks.
|
Modifier and Type | Method and Description |
---|---|
private AbsObject |
SimpleSLCodec.parse(SimpleSLTokenizer p,
Ontology o) |
private AbsObject |
SimpleSLCodec.parseComplex(SimpleSLTokenizer p,
Ontology o) |
private AbsObject |
SimpleSLCodec.parseSimple(SimpleSLTokenizer p) |
Modifier and Type | Method and Description |
---|---|
private void |
SLCodec.encodeAndAppend(AbsObject val) |
private void |
SLCodec.encodeSlotsByName(AbsObject val,
String[] slotNames)
Encode the slots of an abstract descriptor by name, i.e.
|
private void |
SimpleSLCodec.encodeSlotsByName(AbsObject val,
String[] slotNames,
Ontology onto,
StringBuffer str)
Encode the slots of an abstract descriptor by name, i.e.
|
private void |
SLCodec.encodeSlotsByOrder(AbsObject val,
String[] slotNames)
Encode the slots of an abstract descriptor by order, i.e.
|
private void |
SimpleSLCodec.encodeSlotsByOrder(AbsObject val,
String[] slotNames,
Ontology onto,
StringBuffer str)
Encode the slots of an abstract descriptor by order, i.e.
|
private void |
SimpleSLCodec.fillSlotsByOrder(AbsObject abs,
ObjectSchema s,
SimpleSLTokenizer p,
Ontology o) |
private boolean |
SLCodec.getEncodingByOrder(AbsObject abs) |
private String[] |
SLCodec.getSlotNames(AbsObject abs) |
private void |
SimpleSLCodec.stringify(AbsObject val,
Ontology onto,
StringBuffer str) |
private void |
SimpleSLCodec.stringifyComplex(AbsObject val,
Ontology onto,
StringBuffer str) |
Modifier and Type | Class and Description |
---|---|
class |
ConceptSlotFunction
The ConceptSlotFunction class allows treating the slots of an ontological concept as functions.
|
Modifier and Type | Method and Description |
---|---|
static AbsObject |
Ontology.externalizeSlotValue(Object obj,
Introspector introspector,
Ontology referenceOnto) |
AbsObject |
ReflectiveIntrospector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
private AbsObject |
Ontology.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology globalOnto) |
AbsObject |
MicroIntrospector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
AbsObject |
Introspector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
AbsObject |
BeanIntrospector.externalizeSpecialType(Object obj,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
AbsObject |
Ontology.fromObject(Object obj)
Converts a Java object into a proper abstract descriptor.
|
protected AbsObject |
SerializableOntology.fromObject(Object obj,
Ontology globalOnto) |
protected AbsObject |
Ontology.fromObject(Object obj,
Ontology globalOnto)
Converts a Java object into a proper abstract descriptor.
|
protected AbsObject |
BasicOntology.fromObject(Object obj,
Ontology referenceOnto)
This method is redefined as BasicOntology does not use an
Introspector for performance reason
|
AbsObject |
ConceptSlotFunction.getAbsObject(String name) |
Modifier and Type | Method and Description |
---|---|
void |
Introspectable.externalise(AbsObject abs,
Ontology onto)
Externalise this object into the given abstract descriptor
|
protected void |
Ontology.externalize(Object obj,
AbsObject abs,
ObjectSchema schema,
Ontology globalOnto)
Externalize (obj --> abs) the slots defined in
schema and its super-schemas |
void |
Introspectable.internalise(AbsObject abs,
Ontology onto)
Internalise this object from a given abstract descriptor
|
protected void |
Ontology.internalize(AbsObject abs,
Object obj,
ObjectSchema schema,
Ontology globalOnto)
Internalize (abs --> obj) the slots defined in
schema and its super-schemas |
static Object |
Ontology.internalizeSlotValue(AbsObject abs,
Introspector introspector,
Ontology referenceOnto) |
Object |
ReflectiveIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
private Object |
Ontology.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology globalOnto) |
Object |
MicroIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
Object |
Introspector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
Object |
BeanIntrospector.internalizeSpecialType(AbsObject abs,
ObjectSchema schema,
Class javaClass,
Ontology referenceOnto) |
Object |
Ontology.toObject(AbsObject abs)
Converts an abstract descriptor to a Java object of the proper class.
|
protected Object |
SerializableOntology.toObject(AbsObject abs,
String lcType,
Ontology globalOnto) |
protected Object |
Ontology.toObject(AbsObject abs,
String lcType,
Ontology globalOnto)
Converts an abstract descriptor to a Java object of the proper class.
|
protected Object |
BasicOntology.toObject(AbsObject abs,
String lcType,
Ontology referenceOnto)
This method is redefined as BasicOntology does not use an
Introspector for performance reason
|
Modifier and Type | Method and Description |
---|---|
void |
Action.externalise(AbsObject abs,
Ontology onto) |
void |
Action.internalise(AbsObject abs,
Ontology onto) |
Modifier and Type | Method and Description |
---|---|
AbsObject |
VariableSchema.newInstance()
Creates an Abstract descriptor to hold a variable
|
AbsObject |
TermSchema.newInstance()
Creates an Abstract descriptor to hold a term of
the proper type.
|
AbsObject |
PrimitiveSchema.newInstance()
Creates an Abstract descriptor to hold a primitive of
the proper type.
|
AbsObject |
PredicateSchema.newInstance()
Creates an Abstract descriptor to hold a predicate of
the proper type.
|
AbsObject |
ObjectSchemaImpl.newInstance()
Creates an Abstract descriptor to hold an object compliant to
this
Schema . |
abstract AbsObject |
ObjectSchema.newInstance()
Creates an Abstract descriptor to hold an object compliant to
this
Schema . |
AbsObject |
IRESchema.newInstance()
Creates an Abstract descriptor to hold a ire of
the proper type.
|
AbsObject |
ContentElementSchema.newInstance()
Creates an Abstract descriptor to hold a content element of
the proper type.
|
AbsObject |
ContentElementListSchema.newInstance()
Creates an Abstract descriptor to hold a content element list
|
AbsObject |
ConceptSlotFunctionSchema.newInstance() |
AbsObject |
ConceptSchema.newInstance()
Creates an Abstract descriptor to hold a concept of
the proper type.
|
AbsObject |
AggregateSchema.newInstance()
Creates an Abstract descriptor to hold an aggregate of
the proper type.
|
AbsObject |
AgentActionSchema.newInstance()
Creates an Abstract descriptor to hold an agent action of
the proper type.
|
Modifier and Type | Method and Description |
---|---|
void |
VariableSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
PrimitiveSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
PredicateSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
ObjectSchemaImpl.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
abstract void |
ObjectSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
IRESchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
Facet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
void |
ContentElementListSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
ConceptSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
AggregateSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
void |
AgentActionSchema.validate(AbsObject abs,
Ontology onto)
Check whether a given abstract descriptor complies with this
schema.
|
private boolean |
ObjectSchemaImpl.validate(CaseInsensitiveString slotName,
AbsObject value,
Ontology onto)
Validate a given abstract descriptor as a value for a slot
defined in this schema
|
protected void |
ObjectSchemaImpl.validateSlots(AbsObject abs,
Ontology onto)
For each slot
- get the corresponding attribute value from the abstract descriptor
abs
- Check that it is not null if the slot is mandatory
- Check that its schema is compatible with the schema of the slot
- Check that it is a correct abstract descriptor by validating it
against its schema.
|
Modifier and Type | Method and Description |
---|---|
void |
TypedAggregateFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
void |
RegexFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
void |
PermittedValuesFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
void |
DocumentationFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
void |
DefaultValueFacet.validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
void |
CardinalityFacet.validate(AbsObject value,
Ontology onto)
Check that
the number of elements in an AbsAggregate is within
a given range
|