org.jboss.xb.binding.sunday.unmarshalling
Class SchemaResolverConfig

java.lang.Object
  extended by org.jboss.xb.binding.sunday.unmarshalling.SchemaResolverConfig
All Implemented Interfaces:
SchemaResolverConfigMBean

public class SchemaResolverConfig
extends Object
implements SchemaResolverConfigMBean

SchemaResolverConfig.

Version:
$Revision: 3021 $
Author:
Adrian Brock, Scott.Stark@jboss.org

Field Summary
protected  Properties bindingClasses
          The binding classes by namespace
protected  Properties bindingClassesByLocation
          The binding classes by schemaLocation
protected  Properties parseAnnotations
          The parse annotations by namespace
protected static MutableSchemaResolver resolver
          The singleton schema resolver
protected  Properties schemaInitializers
          The initializers by namespace
protected  Properties schemaLocations
          The locations by namespace
 
Constructor Summary
SchemaResolverConfig()
           
 
Method Summary
 Properties getBindingClasses()
          Get the JBossXBBuilder namespace to Class mappings.
 Properties getBindingClassesByLocations()
          Get the JBossXBBuilder schema location to Class mappings.
 boolean getCacheResolvedSchemas()
          Get whether schemas are cached by namespaceURI
 Properties getParseAnnotations()
          Get the parseAnnotations.
 Properties getSchemaInitializers()
          Get the schemaInitializers.
 Properties getSchemaLocations()
          Get the schemaLocations.
 void setBindingClasses(Properties bindingClasses)
          Set the JBossXBBuilder namespace to Class mappings.
 void setBindingClassesByLocations(Properties bindingClassesByLocation)
          Set the JBossXBBuilder schema location to Class mappings.
 void setCacheResolvedSchemas(boolean flag)
          Set whether schemas are cached by namespaceURI
 void setParseAnnotations(Properties parseAnnotations)
          Set the parseAnnotations.
 void setSchemaInitializers(Properties schemaInitializers)
          Set the schemaInitializers.
 void setSchemaLocations(Properties schemaLocations)
          Set the schemaLocations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resolver

protected static MutableSchemaResolver resolver
The singleton schema resolver


schemaInitializers

protected Properties schemaInitializers
The initializers by namespace


schemaLocations

protected Properties schemaLocations
The locations by namespace


parseAnnotations

protected Properties parseAnnotations
The parse annotations by namespace


bindingClasses

protected Properties bindingClasses
The binding classes by namespace


bindingClassesByLocation

protected Properties bindingClassesByLocation
The binding classes by schemaLocation

Constructor Detail

SchemaResolverConfig

public SchemaResolverConfig()
Method Detail

getCacheResolvedSchemas

public boolean getCacheResolvedSchemas()
Description copied from interface: SchemaResolverConfigMBean
Get whether schemas are cached by namespaceURI

Specified by:
getCacheResolvedSchemas in interface SchemaResolverConfigMBean
Returns:
true if schemas are cached

setCacheResolvedSchemas

public void setCacheResolvedSchemas(boolean flag)
Description copied from interface: SchemaResolverConfigMBean
Set whether schemas are cached by namespaceURI

Specified by:
setCacheResolvedSchemas in interface SchemaResolverConfigMBean
Parameters:
flag - - true if schemas are cached

getSchemaInitializers

public Properties getSchemaInitializers()
Description copied from interface: SchemaResolverConfigMBean
Get the schemaInitializers.

Specified by:
getSchemaInitializers in interface SchemaResolverConfigMBean
Returns:
the schemaInitializers.

setSchemaInitializers

public void setSchemaInitializers(Properties schemaInitializers)
Description copied from interface: SchemaResolverConfigMBean
Set the schemaInitializers.

Specified by:
setSchemaInitializers in interface SchemaResolverConfigMBean
Parameters:
schemaInitializers - the schemaInitializers.

getSchemaLocations

public Properties getSchemaLocations()
Description copied from interface: SchemaResolverConfigMBean
Get the schemaLocations.

Specified by:
getSchemaLocations in interface SchemaResolverConfigMBean
Returns:
the schemaLocations.

setSchemaLocations

public void setSchemaLocations(Properties schemaLocations)
Description copied from interface: SchemaResolverConfigMBean
Set the schemaLocations.

Specified by:
setSchemaLocations in interface SchemaResolverConfigMBean
Parameters:
schemaLocations - the schemaLocations.

getParseAnnotations

public Properties getParseAnnotations()
Description copied from interface: SchemaResolverConfigMBean
Get the parseAnnotations.

Specified by:
getParseAnnotations in interface SchemaResolverConfigMBean
Returns:
the parseAnnotations.

setParseAnnotations

public void setParseAnnotations(Properties parseAnnotations)
Description copied from interface: SchemaResolverConfigMBean
Set the parseAnnotations.

Specified by:
setParseAnnotations in interface SchemaResolverConfigMBean
Parameters:
parseAnnotations - the parseAnnotations.

getBindingClassesByLocations

public Properties getBindingClassesByLocations()
Description copied from interface: SchemaResolverConfigMBean
Get the JBossXBBuilder schema location to Class mappings.

Specified by:
getBindingClassesByLocations in interface SchemaResolverConfigMBean
Returns:
bindingClasses

setBindingClassesByLocations

public void setBindingClassesByLocations(Properties bindingClassesByLocation)
Description copied from interface: SchemaResolverConfigMBean
Set the JBossXBBuilder schema location to Class mappings.

Specified by:
setBindingClassesByLocations in interface SchemaResolverConfigMBean

getBindingClasses

public Properties getBindingClasses()
Description copied from interface: SchemaResolverConfigMBean
Get the JBossXBBuilder namespace to Class mappings.

Specified by:
getBindingClasses in interface SchemaResolverConfigMBean
Returns:
bindingClasses

setBindingClasses

public void setBindingClasses(Properties bindingClasses)
Description copied from interface: SchemaResolverConfigMBean
Set the JBossXBBuilder namespace to Class mappings.

Specified by:
setBindingClasses in interface SchemaResolverConfigMBean


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.