|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.zeus.binder.BaseBinder | +--org.enhydra.zeus.binder.SchemaBinder
SchemaBinder
implements the
interface and allows generation of Zeus
Binder
s from an XML Schema.
Binding
Fields inherited from class org.enhydra.zeus.binder.BaseBinder |
isCollapsingSimpleElements, isIgnoringIDAttributes, source |
Constructor Summary | |
SchemaBinder(Source source)
This constructor takes in a
to read an XML Schema from and allow generation of the
s from it. |
Method Summary | |
java.util.List |
getBindings()
This is integral portion of the Binder . |
java.lang.String |
getSchemaNamespaceURI()
This returns the current namespace URI being used for XML Schema. |
void |
setSchemaNamespaceURI(java.lang.String schemaNamespaceURI)
This will set the URI to use for XML Schema. |
Methods inherited from class org.enhydra.zeus.binder.BaseBinder |
isCollapsingSimpleElements, isIgnoringIDAttributes, setIsCollapsingSimpleElements, setIsIgnoringIDAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SchemaBinder(Source source)
This constructor takes in a
to read an XML Schema from and allow generation of the
Source
s from it.
Binding
source
- Source
to read input from.Method Detail |
public java.lang.String getSchemaNamespaceURI()
This returns the current namespace URI being used for XML Schema.
String
- XML Schema namespace URI being used.public void setSchemaNamespaceURI(java.lang.String schemaNamespaceURI)
This will set the URI to use for XML Schema. This is useful for
documents that have an older schema namespace URI. Note that this does
not imply that the SchemaBinder
can deal with
older schema features and syntax; this is purely for incorrect or old
namespace URIs.
schemaNamespaceURI
- the URI to use for XML Schemapublic java.util.List getBindings() throws java.io.IOException
This is integral portion of the Binder
. It
is responsible for returning a Zeus representation of
the set of constraints that this binding represents,
resulting from the supplied XML Schema.
getBindings
in class BaseBinder
List
- the resultant
Bindings
from conversion of
constraints.IOException
- when errors in reading
input occur.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |