|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.schema.impl.osl.SchemaValidator
public class SchemaValidator
INTERNAL: A schema validator that can be used to validate topic map constructs against an OSL schema. The schema validator is bound to a particular OSL schema.
Method Summary | |
---|---|
ValidationHandlerIF |
getValidationHandler()
PUBLIC: Returns the validation handler that violations are currently reported to. |
void |
setValidationHandler(ValidationHandlerIF handler)
PUBLIC: Sets the validation handler that violations of the schema will be reported to. |
void |
validate(AssociationIF association)
PUBLIC: Validates an association against the schema. |
void |
validate(TopicIF topic)
PUBLIC: Validates a topic against the schema. |
void |
validate(TopicMapIF topicmap)
PUBLIC: Validates a topic map against the schema. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void validate(TopicIF topic) throws SchemaViolationException
SchemaValidatorIF
validate
in interface SchemaValidatorIF
SchemaViolationException
public void validate(TopicMapIF topicmap) throws SchemaViolationException
SchemaValidatorIF
validate
in interface SchemaValidatorIF
SchemaViolationException
public void validate(AssociationIF association) throws SchemaViolationException
SchemaValidatorIF
validate
in interface SchemaValidatorIF
SchemaViolationException
public void setValidationHandler(ValidationHandlerIF handler)
SchemaValidatorIF
setValidationHandler
in interface SchemaValidatorIF
public ValidationHandlerIF getValidationHandler()
SchemaValidatorIF
getValidationHandler
in interface SchemaValidatorIF
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |