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

All Known Implementing Classes:
DefaultSchemaResolver

public interface SchemaBindingResolver

Version:
$Revision: 1.1.2.3 $
Author:
Alexey Loubyansky

Method Summary
 String getBaseURI()
           
 SchemaBinding resolve(String nsUri, String localName, String baseURI, String schemaLocation)
          Returns an instance of SchemaBinding corresponding to the namespace URI.
 void setBaseURI(String baseURI)
           
 

Method Detail

getBaseURI

String getBaseURI()

setBaseURI

void setBaseURI(String baseURI)

resolve

SchemaBinding resolve(String nsUri,
                      String localName,
                      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
localName - - the local name of the element
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)


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