|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.xb.binding.sunday.unmarshalling.XsdBinder
public class XsdBinder
Method Summary | |
---|---|
static SchemaBinding |
bind(InputStream xsdStream,
String encoding)
|
static SchemaBinding |
bind(InputStream xsdStream,
String encoding,
SchemaBindingResolver resolver)
Create a SchemaBinding from and xsd stream. |
static SchemaBinding |
bind(InputStream xsdStream,
String encoding,
SchemaBindingResolver resolver,
boolean processAnnotations)
Create a SchemaBinding from and xsd stream. |
static SchemaBinding |
bind(InputStream xsdStream,
String encoding,
String baseURI)
Create a SchemaBinding from and xsd stream. |
static SchemaBinding |
bind(InputStream xsdStream,
String encoding,
String baseURI,
boolean processAnnotations)
Create a SchemaBinding from and xsd stream. |
static SchemaBinding |
bind(Reader xsdReader,
String encoding)
|
static SchemaBinding |
bind(Reader xsdReader,
String encoding,
SchemaBindingResolver resolver)
Create a SchemaBinding from and xsd reader. |
static SchemaBinding |
bind(Reader xsdReader,
String encoding,
String baseURI)
Create a SchemaBinding from and xsd reader. |
static SchemaBinding |
bind(String xsdUrl)
Create a SchemaBinding from and xsd url/uri. |
static SchemaBinding |
bind(String xsdUrl,
SchemaBindingResolver resolver)
Create a SchemaBinding from and xsd url/uri. |
static SchemaBinding |
bind(String xsd,
String encoding)
Create a SchemaBinding from and xsd string. |
static SchemaBinding |
bind(String xsd,
String encoding,
SchemaBindingResolver resolver)
Create a SchemaBinding from and xsd string. |
static SchemaBinding |
bind(org.apache.xerces.xs.XSModel model,
SchemaBindingResolver resolver)
|
static SchemaBinding |
bind(org.apache.xerces.xs.XSModel model,
SchemaBindingResolver resolver,
boolean processAnnotations)
|
static void |
bindElement(SchemaBinding schema,
org.apache.xerces.xs.XSElementDeclaration element,
int minOccurs,
int maxOccurs,
boolean maxOccursUnbounded)
Deprecated. This method is added temporary to get anonymous type binding working in JBossWS. It will be removed when anonymous type binding in JBossWS is implemented properly. No one else should use this method. This method binds an element declaration and adds it as a global element to the passed in schema binding. |
static void |
bindType(SchemaBinding schema,
org.apache.xerces.xs.XSTypeDefinition type)
Deprecated. This method is added temporary to get anonymous type binding working in JBossWS. It will be removed when anonymous type binding in JBossWS is implemented properly. No one else should use this method. This method binds a type definition and adds it as a global type to the passed in schema binding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SchemaBinding bind(String xsdUrl)
xsdUrl
-
public static SchemaBinding bind(String xsdUrl, SchemaBindingResolver resolver)
xsdUrl
- resolver
- the resolver will be used to resolve imported schemas in the schema being loaded
and also will be set on the returned instance of SchemaBinding
public static SchemaBinding bind(InputStream xsdStream, String encoding)
public static SchemaBinding bind(InputStream xsdStream, String encoding, String baseURI)
xsdStream
- - the xsd InputStreamencoding
- - optional stream encoding
public static SchemaBinding bind(InputStream xsdStream, String encoding, String baseURI, boolean processAnnotations)
xsdStream
- - the xsd InputStreamencoding
- - optional stream encodingprocessAnnotations
- - process annotations
public static SchemaBinding bind(InputStream xsdStream, String encoding, SchemaBindingResolver resolver)
xsdStream
- - the xsd InputStreamencoding
- - optional stream encodingresolver
- the resolver will be used to resolve imported schemas in the schema being loaded
and also will be set on the returned instance of SchemaBinding
public static SchemaBinding bind(InputStream xsdStream, String encoding, SchemaBindingResolver resolver, boolean processAnnotations)
xsdStream
- - the xsd InputStreamencoding
- - optional stream encodingresolver
- the resolver will be used to resolve imported schemas in the schema being loaded
and also will be set on the returned instance of SchemaBindingprocessAnnotations
- whether to process annotations
public static SchemaBinding bind(Reader xsdReader, String encoding)
public static SchemaBinding bind(Reader xsdReader, String encoding, String baseURI)
xsdReader
- - xsd readerencoding
- - optional reader encoding
public static SchemaBinding bind(Reader xsdReader, String encoding, SchemaBindingResolver resolver)
xsdReader
- - xsd readerencoding
- - optional reader encodingresolver
- the resolver will be used to resolve imported schemas in the schema being loaded
and also will be set on the returned instance of SchemaBinding
public static SchemaBinding bind(String xsd, String encoding)
xsd
- - xsd stringencoding
- - optional string encoding
public static SchemaBinding bind(String xsd, String encoding, SchemaBindingResolver resolver)
xsd
- - xsd stringencoding
- - optional string encodingresolver
- the resolver will be used to resolve imported schemas in the schema being loaded
and also will be set on the returned instance of SchemaBinding
public static SchemaBinding bind(org.apache.xerces.xs.XSModel model, SchemaBindingResolver resolver)
public static SchemaBinding bind(org.apache.xerces.xs.XSModel model, SchemaBindingResolver resolver, boolean processAnnotations)
public static void bindType(SchemaBinding schema, org.apache.xerces.xs.XSTypeDefinition type)
This method binds a type definition and adds it as a global type to the passed in schema binding.
schema
- schema binding the type should be added totype
- type definition to be boundpublic static void bindElement(SchemaBinding schema, org.apache.xerces.xs.XSElementDeclaration element, int minOccurs, int maxOccurs, boolean maxOccursUnbounded)
This method binds an element declaration and adds it as a global element to the passed in schema binding.
schema
- schema binding the type should be added toelement
- element declaration to be boundminOccurs
- maxOccurs
- maxOccursUnbounded
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |