public class BindingLoader
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
BindingLoader.BindingResolver |
| Constructor and Description |
|---|
BindingLoader() |
| Modifier and Type | Method and Description |
|---|---|
static ExtendedBinding |
createBinding(org.xml.sax.InputSource source)
Factory method that returns a binding given an InputSource.
|
static ExtendedBinding |
createBinding(java.lang.String fileName) |
ExtendedBinding |
getBinding()
Returns the binding loaded by the BindingLoader
|
void |
loadBinding(org.xml.sax.InputSource source)
Loads a Binding Document.
|
void |
loadBinding(java.lang.String url) |
void |
setBaseURL(java.lang.String url)
Sets the base URL for the binding and related files.
|
public void loadBinding(java.lang.String url)
throws BindingException
BindingExceptionpublic void loadBinding(org.xml.sax.InputSource source)
throws BindingException
source - The binding document to load.BindingException - thrown when an error occured during the unmarshalling.public ExtendedBinding getBinding()
public void setBaseURL(java.lang.String url)
url - The base URLpublic static ExtendedBinding createBinding(org.xml.sax.InputSource source) throws BindingException
source - the InputSource identifying the binding document to be loaded.BindingException - thrown when the given InputSource doesn't refer to a valid
Binding document.public static ExtendedBinding createBinding(java.lang.String fileName) throws BindingException
BindingExceptionIntalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com