org.jboss.xb.binding.sunday.unmarshalling
Interface SchemaBindingResolver

All Known Implementing Classes:
DefaultSchemaResolver

public interface SchemaBindingResolver

Version:
$Revision: 1.10 $
Author:
Alexey Loubyansky

Method Summary
 String getBaseURI()
           
 SchemaBinding resolve(String nsUri, String baseURI, String schemaLocation)
          Returns an instance of SchemaBinding corresponding to the namespace URI.
 org.w3c.dom.ls.LSInput resolveAsLSInput(String nsUri, String baseUri, String schemaLocation)
          This one is used to resolve imported schemas with
 void setBaseURI(String baseURI)
           
 

Method Detail

getBaseURI

String getBaseURI()

setBaseURI

void setBaseURI(String baseURI)

resolve

SchemaBinding resolve(String nsUri,
                      String baseURI,
                      String schemaLocation)
Returns an instance of SchemaBinding corresponding to the namespace URI.

Parameters:
nsUri - - namespace URI of the element with the schema reference
baseURI - - an optional baseURI for resolving the schemaLocation.
schemaLocation - - the option schema location uri that matches nsUri if one exists
Returns:
an instance of SchemaBinding correspnding to the namespace URI or null if the namespace URI is not recognized (though, in this case it could also throw an exception)

resolveAsLSInput

org.w3c.dom.ls.LSInput resolveAsLSInput(String nsUri,
                                        String baseUri,
                                        String schemaLocation)
This one is used to resolve imported schemas with

Parameters:
nsUri -
baseUri -
schemaLocation -
Returns:
LIInput for the resolved namespace schema if found, null otherwise


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.