org.compass.core.config.binding
Class XmlMappingBinding

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

public class XmlMappingBinding
extends AbstractXmlMappingBinding

Author:
kimchy

Field Summary
static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.compass.core.config.binding.AbstractInputStreamMappingBinding
mapping, metaData, settings
 
Constructor Summary
XmlMappingBinding()
           
 
Method Summary
protected  boolean doAddConfiguration(ConfigurationHelper doc)
           
protected  EntityResolver doGetEntityResolver()
           
 String[] getSuffixes()
           
 void setUpBinding(CompassMapping mapping, CompassMetaData metaData, CompassSettings settings)
           
 
Methods inherited from class org.compass.core.config.binding.AbstractXmlMappingBinding
doAddInputStream
 
Methods inherited from class org.compass.core.config.binding.AbstractInputStreamMappingBinding
addClass, addDirectory, addFile, addFile, addInputStream, addJar, addMappingResolver, addPackage, addResoruceMapping, addResource, addResource, addURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.commons.logging.Log log
Constructor Detail

XmlMappingBinding

public XmlMappingBinding()
Method Detail

setUpBinding

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

doGetEntityResolver

protected EntityResolver doGetEntityResolver()
Specified by:
doGetEntityResolver in class AbstractXmlMappingBinding

getSuffixes

public String[] getSuffixes()

doAddConfiguration

protected boolean doAddConfiguration(ConfigurationHelper doc)
                              throws ConfigurationException,
                                     MappingException
Specified by:
doAddConfiguration in class AbstractXmlMappingBinding
Throws:
ConfigurationException
MappingException


Copyright (c) 2004-2008 The Compass Project.