com.sun.msv.datatype
Class ErrorDatatypeLibrary

java.lang.Object
  extended bycom.sun.msv.datatype.ErrorDatatypeLibrary

public class ErrorDatatypeLibrary
extends Object

Dummy DatatypeLibrary implementation which is used to recover from "unknown datatype library" error.

Author:
Kohsuke KAWAGUCHI

Field Summary
static ErrorDatatypeLibrary theInstance
          The sole instance of this class.
 
Method Summary
 void addParameter(String name, String value, ValidationContext context)
           
 Datatype createDatatype()
           
 Datatype createDatatype(String name)
           
 DatatypeBuilder createDatatypeBuilder(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theInstance

public static final ErrorDatatypeLibrary theInstance
The sole instance of this class.

Method Detail

createDatatype

public Datatype createDatatype(String name)

createDatatypeBuilder

public DatatypeBuilder createDatatypeBuilder(String name)

createDatatype

public Datatype createDatatype()

addParameter

public void addParameter(String name,
                         String value,
                         ValidationContext context)