org.compass.core.config.binding
Class AbstractClassMetaDataMappingBinding

java.lang.Object
  extended by org.compass.core.config.binding.AbstractInputStreamMappingBinding
      extended by org.compass.core.config.binding.AbstractClassMetaDataMappingBinding
All Implemented Interfaces:
MappingBinding
Direct Known Subclasses:
AnnotationsMappingBinding

public abstract class AbstractClassMetaDataMappingBinding
extends AbstractInputStreamMappingBinding

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.core.config.binding.AbstractInputStreamMappingBinding
log, mapping, metaData, settings
 
Constructor Summary
AbstractClassMetaDataMappingBinding()
           
 
Method Summary
protected  boolean doAddInputStream(InputStream is, String resourceName)
           
 String[] getSuffixes()
           
protected abstract  boolean isApplicable(ClassMetaData classMetaData)
           
 void setUpBinding(InternalCompassMapping mapping, CompassMetaData metaData, CompassSettings settings)
           
 
Methods inherited from class org.compass.core.config.binding.AbstractInputStreamMappingBinding
addClass, addDirectory, addFile, addFile, addInputStream, addJar, addMappingResolver, addPackage, addResource, addResource, addResourceMapping, addURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClassMetaDataMappingBinding

public AbstractClassMetaDataMappingBinding()
Method Detail

setUpBinding

public void setUpBinding(InternalCompassMapping mapping,
                         CompassMetaData metaData,
                         CompassSettings settings)
Specified by:
setUpBinding in interface MappingBinding
Overrides:
setUpBinding in class AbstractInputStreamMappingBinding

doAddInputStream

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

isApplicable

protected abstract boolean isApplicable(ClassMetaData classMetaData)

getSuffixes

public String[] getSuffixes()


Copyright (c) 2004-2008 The Compass Project.