org.compass.core.config.builder
Class SmartConfigurationBuilder

java.lang.Object
  extended by org.compass.core.config.builder.SmartConfigurationBuilder
All Implemented Interfaces:
ConfigurationBuilder

public class SmartConfigurationBuilder
extends Object
implements ConfigurationBuilder

Author:
kimchy

Field Summary
static int VALIDATION_DTD
          Indicates that DTD validation should be used.
static int VALIDATION_XSD
          Indicates that XSD validation should be used.
 
Constructor Summary
SmartConfigurationBuilder()
           
 
Method Summary
 void configure(File file, CompassConfiguration config)
           
 void configure(String resource, CompassConfiguration config)
           
 void configure(URL url, CompassConfiguration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATION_DTD

public static final int VALIDATION_DTD
Indicates that DTD validation should be used.

See Also:
Constant Field Values

VALIDATION_XSD

public static final int VALIDATION_XSD
Indicates that XSD validation should be used.

See Also:
Constant Field Values
Constructor Detail

SmartConfigurationBuilder

public SmartConfigurationBuilder()
Method Detail

configure

public void configure(String resource,
                      CompassConfiguration config)
               throws ConfigurationException
Specified by:
configure in interface ConfigurationBuilder
Throws:
ConfigurationException

configure

public void configure(URL url,
                      CompassConfiguration config)
               throws ConfigurationException
Specified by:
configure in interface ConfigurationBuilder
Throws:
ConfigurationException

configure

public void configure(File file,
                      CompassConfiguration config)
               throws ConfigurationException
Specified by:
configure in interface ConfigurationBuilder
Throws:
ConfigurationException


Copyright (c) 2004-2008 The Compass Project.