org.compass.core.config.binding
Class AbstractConfigurationHelperMappingBinding

java.lang.Object
  extended by org.compass.core.config.binding.AbstractInputStreamMappingBinding
      extended by org.compass.core.config.binding.AbstractConfigurationHelperMappingBinding
All Implemented Interfaces:
MappingBinding
Direct Known Subclasses:
MetaDataBinding, PlainMappingBinding

public abstract class AbstractConfigurationHelperMappingBinding
extends AbstractInputStreamMappingBinding

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.core.config.binding.AbstractInputStreamMappingBinding
log, mapping, metaData, settings
 
Constructor Summary
AbstractConfigurationHelperMappingBinding()
           
 
Method Summary
protected abstract  boolean doAddConfiguration(ConfigurationHelper conf)
           
protected  boolean doAddInputStream(InputStream is, String resourceName)
           
protected abstract  ConfigurationHelper doParseConfigurationHelper(InputStream is, String resourceName)
           
 
Methods inherited from class org.compass.core.config.binding.AbstractInputStreamMappingBinding
addClass, addContractMaping, addDirectory, addFile, addFile, addInputStream, addJar, addMappingResolver, addPackage, addResource, addResource, addResourceMapping, addURL, setUpBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.config.binding.MappingBinding
getSuffixes
 

Constructor Detail

AbstractConfigurationHelperMappingBinding

public AbstractConfigurationHelperMappingBinding()
Method Detail

doAddInputStream

protected boolean doAddInputStream(InputStream is,
                                   String resourceName)
                            throws ConfigurationException,
                                   MappingException
Specified by:
doAddInputStream in class AbstractInputStreamMappingBinding
Throws:
ConfigurationException
MappingException

doParseConfigurationHelper

protected abstract ConfigurationHelper doParseConfigurationHelper(InputStream is,
                                                                  String resourceName)
                                                           throws ConfigurationException
Throws:
ConfigurationException

doAddConfiguration

protected abstract boolean doAddConfiguration(ConfigurationHelper conf)
                                       throws ConfigurationException,
                                              MappingException
Throws:
ConfigurationException
MappingException


Copyright (c) 2004-2009 The Compass Project.