org.kohsuke.rngom.dt
Class CascadingDatatypeLibraryFactory

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

public class CascadingDatatypeLibraryFactory
extends Object
implements DatatypeLibraryFactory

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
CascadingDatatypeLibraryFactory(DatatypeLibraryFactory factory1, DatatypeLibraryFactory factory2)
           
 
Method Summary
 DatatypeLibrary createDatatypeLibrary(String namespaceURI)
          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

CascadingDatatypeLibraryFactory

public CascadingDatatypeLibraryFactory(DatatypeLibraryFactory factory1,
                                       DatatypeLibraryFactory factory2)
Method Detail

createDatatypeLibrary

public DatatypeLibrary createDatatypeLibrary(String namespaceURI)
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.