org.apache.lenya.xml
Class Schema

java.lang.Object
  extended by org.apache.lenya.xml.Schema

public class Schema
extends java.lang.Object

Validation schema.


Constructor Summary
Schema(java.lang.String language, java.lang.String schemaUri)
          Ctor.
 
Method Summary
 java.lang.String getLanguage()
           
 java.lang.String getURI()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema(java.lang.String language,
              java.lang.String schemaUri)
Ctor.

Parameters:
language - The language, as defined by org.apache.cocoon.components.validation.Validator.
schemaUri - The schema URI.
See Also:
Validator
Method Detail

getLanguage

public java.lang.String getLanguage()
Returns:
The language.
See Also:
Validator

getURI

public java.lang.String getURI()
Returns:
The URI to read the schema from.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.