public class SingletonSchemaResolverFactory extends Object implements SchemaResolverFactory
| Modifier and Type | Method and Description |
|---|---|
boolean |
addJaxbSchema(String namespace,
String reference)
Add a schema.
|
protected boolean |
addSchema(String namespace,
String initializer)
Add a schema
|
protected boolean |
addSchema(String namespace,
String initializer,
Boolean parseAnnotations)
Add a schema
|
protected boolean |
addSchema(String namespace,
String initializer,
String location)
Add a schema
|
protected boolean |
addSchema(String namespace,
String initializer,
String location,
Boolean parseAnnotations)
Add a schema
|
static SingletonSchemaResolverFactory |
getInstance()
Get the factory instance
|
MutableSchemaResolver |
getSchemaBindingResolver()
Get the schema binding resolver
|
protected void |
setParseAnnotations(String namespace,
Boolean parseAnnotations)
Set the parse annotations for a schema
|
public static SingletonSchemaResolverFactory getInstance()
public MutableSchemaResolver getSchemaBindingResolver()
SchemaResolverFactorygetSchemaBindingResolver in interface SchemaResolverFactoryprotected boolean addSchema(String namespace, String initializer)
namespace - the namespaceinitializer - the initializerprotected boolean addSchema(String namespace, String initializer, Boolean parseAnnotations)
namespace - the namespaceinitializer - the initializerparseAnnotations - whether to parse annotationsprotected boolean addSchema(String namespace, String initializer, String location)
namespace - the namespaceinitializer - the initializerlocation - the locationprotected boolean addSchema(String namespace, String initializer, String location, Boolean parseAnnotations)
namespace - the namespaceinitializer - the initializerlocation - the locationparseAnnotations - whether to parse annotationsprotected void setParseAnnotations(String namespace, Boolean parseAnnotations)
namespace - the namespaceparseAnnotations - whether to parse annotationsCopyright © 2016 JBoss by Red Hat. All rights reserved.