org.kohsuke.rngom.dt
Class DoNothingDatatypeLibraryFactoryImpl

java.lang.Object
  extended by org.kohsuke.rngom.dt.DoNothingDatatypeLibraryFactoryImpl
All Implemented Interfaces:
DatatypeLibraryFactory

public final class DoNothingDatatypeLibraryFactoryImpl
extends Object
implements DatatypeLibraryFactory

DatatypeLibraryFactory implementation that returns a dummy Datatype.

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
DoNothingDatatypeLibraryFactoryImpl()
           
 
Method Summary
 DatatypeLibrary createDatatypeLibrary(String s)
          Creates a new instance of a DatatypeLibrary that supports the specified namespace URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoNothingDatatypeLibraryFactoryImpl

public DoNothingDatatypeLibraryFactoryImpl()
Method Detail

createDatatypeLibrary

public DatatypeLibrary createDatatypeLibrary(String s)
Description copied from interface: DatatypeLibraryFactory
Creates a new instance of a DatatypeLibrary that supports the specified namespace URI.

Specified by:
createDatatypeLibrary in interface DatatypeLibraryFactory
Returns:
null if the specified namespace URI is not supported.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.