Package | Description |
---|---|
net.ontopia.topicmaps.schema.core |
The core interfaces that are common to all schema language
implementations.
|
net.ontopia.topicmaps.schema.impl.osl |
The classes and interfaces used to represent constructs in the Ontopia
Schema Language.
|
net.ontopia.topicmaps.schema.utils |
Contains classes containing useful utilities that make working with
schemas easier.
|
net.ontopia.topicmaps.webed.impl.utils |
Modifier and Type | Interface and Description |
---|---|
interface |
CardinalityConstraintIF
Deprecated.
The schema tools are no longer maintained in favor of a future TMCL implementation
|
Modifier and Type | Field and Description |
---|---|
protected ConstraintIF |
SchemaViolationException.constraint
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConstraintIF |
SchemaViolationException.getConstraint()
Deprecated.
PUBLIC: Returns the constraint that was violated.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationHandlerIF.violation(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint)
Deprecated.
PUBLIC: Called when violations of the schema are discovered.
|
Constructor and Description |
---|
SchemaViolationException(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint)
Deprecated.
Creates new exception.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ScopedConstraintIF
INTERNAL: Interface implemented by all constraints which constrain
the scopes of topic map constructs.
|
interface |
TypedConstraintIF
INTERNAL: Interface implemented by constraints and classes which
constrain the type of a topic map object.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCardinalityConstraint
INTERNAL: Common base class for constraints which have cardinality
facets.
|
class |
AbstractScopedCardinalityConstraint
INTERNAL: Common base class for constraints which have cardinality
and scope facets.
|
class |
AbstractScopedTypedCardinalityConstraint
INTERNAL: Common base class for constraints which have cardinality,
type, and scope facets.
|
class |
AbstractTypedCardinalityConstraint
INTERNAL: Common base class for constraints which have cardinality
and type facets.
|
class |
AssociationClass
INTERNAL: Represents an association class definition.
|
class |
AssociationRoleConstraint
INTERNAL: Represents a constraint on the association roles of an
association.
|
class |
OccurrenceConstraint
INTERNAL: Represents a constraint on the occurrences of a class of topics.
|
class |
TopicClass
INTERNAL: Represents a topic class definition.
|
class |
TopicNameConstraint
INTERNAL: Represents a constraint on a base name within a topic class
definition.
|
class |
TopicRoleConstraint
INTERNAL: Represents a constraint on the allowed association roles of
the instances of a topic class.
|
class |
VariantConstraint
INTERNAL: Represents a constraint on the allowed variant names of
a base name.
|
Modifier and Type | Method and Description |
---|---|
protected ConstraintIF |
SchemaValidator.findClass(TMObjectIF object,
Collection classes) |
protected ConstraintIF |
SchemaValidator.findClass(TopicIF topic,
Collection classes) |
protected ConstraintIF |
SchemaValidator.findClassFor(TopicIF tclass,
Collection classes) |
Modifier and Type | Method and Description |
---|---|
protected void |
SchemaValidator.validate(TMObjectIF object,
ConstraintIF constraint) |
Modifier and Type | Method and Description |
---|---|
protected String |
TextValidationHandler.printConstraint(ConstraintIF constraint) |
protected String |
HTMLValidationHandler.printConstraint(ConstraintIF constraint) |
void |
TextValidationHandler.violation(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint) |
void |
ExceptionValidationHandler.violation(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint) |
void |
HTMLValidationHandler.violation(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint) |
Modifier and Type | Method and Description |
---|---|
protected ConstraintIF |
SchemaUtils.findClass(TMObjectIF object,
Collection classes) |
protected ConstraintIF |
SchemaUtils.findClass(TopicIF topic,
Collection classes) |