org.compass.core.mapping.xsem
Class XmlContentMapping

java.lang.Object
  extended by org.compass.core.mapping.support.AbstractMapping
      extended by org.compass.core.mapping.support.AbstractResourcePropertyMapping
          extended by org.compass.core.mapping.xsem.XmlContentMapping
All Implemented Interfaces:
InternalMapping, InternalResourcePropertyMapping, Mapping, ResourcePropertyMapping

public class XmlContentMapping
extends AbstractResourcePropertyMapping
implements ResourcePropertyMapping

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.compass.core.mapping.ResourcePropertyMapping
ResourcePropertyMapping.ExcludeFromAllType, ResourcePropertyMapping.ReverseType
 
Constructor Summary
XmlContentMapping()
           
 
Method Summary
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 ResourcePropertyMapping.ExcludeFromAllType getExcludeFromAll()
          Xml content mapping is always excluded from all
 Property.Index getIndex()
          Xml content mapping is always Property.Index#NO.
 ResourcePropertyConverter getResourcePropertyConverter()
           
 Property.TermVector getTermVector()
          Xml content mapping is alwasy Property.TermVector.NO.
 Boolean isOmitNorms()
          Xml content mapping is always true.
 Boolean isOmitTf()
          Xml content mapping is always true.
 
Methods inherited from class org.compass.core.mapping.support.AbstractResourcePropertyMapping
copy, getAnalyzer, getBoost, getNullValue, getOriginalName, getReverse, getRootAlias, getSpellCheck, getStore, hasNullValue, isInternal, setAnalyzer, setBoost, setExcludeFromAll, setIndex, setInternal, setName, setNullValue, setOmitNorms, setOmitTf, setReverse, setRootAlias, setSpellCheck, setStore, setTermVector
 
Methods inherited from class org.compass.core.mapping.support.AbstractMapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setPath
 
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.mapping.ResourcePropertyMapping
getAnalyzer, getBoost, getNullValue, getOriginalName, getReverse, getRootAlias, getSpellCheck, getStore, hasNullValue, isInternal
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 

Constructor Detail

XmlContentMapping

public XmlContentMapping()
Method Detail

copy

public Mapping copy()
Description copied from interface: Mapping
Copies over the mapping definition into a newly instanciated Mapping object.

Specified by:
copy in interface Mapping

getIndex

public Property.Index getIndex()
Xml content mapping is always Property.Index#NO.

Specified by:
getIndex in interface ResourcePropertyMapping
Overrides:
getIndex in class AbstractResourcePropertyMapping

getExcludeFromAll

public ResourcePropertyMapping.ExcludeFromAllType getExcludeFromAll()
Xml content mapping is always excluded from all

Specified by:
getExcludeFromAll in interface ResourcePropertyMapping
Overrides:
getExcludeFromAll in class AbstractResourcePropertyMapping

getTermVector

public Property.TermVector getTermVector()
Xml content mapping is alwasy Property.TermVector.NO.

Specified by:
getTermVector in interface ResourcePropertyMapping
Overrides:
getTermVector in class AbstractResourcePropertyMapping

isOmitNorms

public Boolean isOmitNorms()
Xml content mapping is always true.

Specified by:
isOmitNorms in interface ResourcePropertyMapping
Overrides:
isOmitNorms in class AbstractResourcePropertyMapping
See Also:
Property.setOmitNorms(boolean)

isOmitTf

public Boolean isOmitTf()
Xml content mapping is always true.

Specified by:
isOmitTf in interface ResourcePropertyMapping
Overrides:
isOmitTf in class AbstractResourcePropertyMapping
See Also:
Property.setOmitTf(boolean)

getResourcePropertyConverter

public ResourcePropertyConverter getResourcePropertyConverter()
Specified by:
getResourcePropertyConverter in interface ResourcePropertyMapping


Copyright (c) 2004-2008 The Compass Project.