org.eclipse.xsd.util
Class XSDResourceImpl.SchemaLocator

java.lang.Object
  extended byAdapterImpl
      extended byorg.eclipse.xsd.util.XSDResourceImpl.SchemaLocator
All Implemented Interfaces:
XSDSchemaLocator
Enclosing class:
XSDResourceImpl

public static class XSDResourceImpl.SchemaLocator
extends AdapterImpl
implements XSDSchemaLocator

See Also:
Serialized Form

Constructor Summary
XSDResourceImpl.SchemaLocator()
           
 
Method Summary
 boolean isAdapterForType(Object type)
           
 XSDSchema locateSchema(XSDSchema xsdSchema, String namespaceURI, String rawSchemaLocationURI, String resolvedSchemaLocation)
          Locate the schema for the given namespace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSDResourceImpl.SchemaLocator

public XSDResourceImpl.SchemaLocator()
Method Detail

locateSchema

public XSDSchema locateSchema(XSDSchema xsdSchema,
                              String namespaceURI,
                              String rawSchemaLocationURI,
                              String resolvedSchemaLocation)
Description copied from interface: XSDSchemaLocator
Locate the schema for the given namespace.

Specified by:
locateSchema in interface XSDSchemaLocator
Parameters:
xsdSchema - the schema containing the namespace reference.
namespaceURI - the namespace being resolved, i.e., XSDImport.getNamespace().
rawSchemaLocationURI - the suggested location of the namespace being resolved, i.e., XSDSchemaDirective.getSchemaLocation().
resolvedSchemaLocation - the resolved suggested location of the namespace.
Returns:
the resolved schema.
See Also:
XSDSchemaLocationResolver.resolveSchemaLocation(XSDSchema xsdSchema,String,String), XSDConstants.resolveSchemaLocation(String,String,String)

isAdapterForType

public boolean isAdapterForType(Object type)

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.