org.apache.cocoon.components.validation.impl
Class AbstractSchema

java.lang.Object
  extended by org.apache.cocoon.components.validation.impl.AbstractSchema
All Implemented Interfaces:
Schema
Direct Known Subclasses:
JaxpSchema, JingSchema

public abstract class AbstractSchema
extends Object
implements Schema

A simple implementation of the Schema interface.


Constructor Summary
AbstractSchema(SourceValidity validity)
          Create a new AbstractSchema instance.
 
Method Summary
 SourceValidity getValidity()
          Return the SourceValidity associated with this Schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.components.validation.Schema
createValidator
 

Constructor Detail

AbstractSchema

public AbstractSchema(SourceValidity validity)

Create a new AbstractSchema instance.

Method Detail

getValidity

public SourceValidity getValidity()

Return the SourceValidity associated with this Schema.

Specified by:
getValidity in interface Schema
Returns:
a SourceValidity instance or null if not known.


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.