net.sf.bvalid
Class SchemaLanguage

java.lang.Object
  extended by net.sf.bvalid.SchemaLanguage

public class SchemaLanguage
extends java.lang.Object

An XML schema language.

Author:
cwilper@cs.cornell.edu

Field Summary
static SchemaLanguage XSD
           
 
Method Summary
static SchemaLanguage forName(java.lang.String name)
          Return the schema language with the given name.
 java.lang.String getName()
          The name of the language.
static SchemaLanguage[] getSupportedList()
          Return all supported schema languages.
 java.lang.String getURI()
          The URI of the language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSD

public static final SchemaLanguage XSD
Method Detail

getName

public java.lang.String getName()
The name of the language. By convention, this is a short, lowercase string.


getURI

public java.lang.String getURI()
The URI of the language.


getSupportedList

public static SchemaLanguage[] getSupportedList()
Return all supported schema languages.


forName

public static SchemaLanguage forName(java.lang.String name)
                              throws ValidatorException
Return the schema language with the given name.

Throws:
ValidatorException