org.compass.core.mapping.xsem
Class XmlPropertyMapping

java.lang.Object
  extended by org.compass.core.mapping.AbstractMapping
      extended by org.compass.core.mapping.AbstractResourcePropertyMapping
          extended by org.compass.core.mapping.xsem.XmlPropertyMapping
All Implemented Interfaces:
InternalResourcePropertyMapping, Mapping, OverrideByNameMapping, ResourcePropertyMapping, XPathEnabledMapping
Direct Known Subclasses:
XmlBoostPropertyMapping, XmlIdMapping, XmlPropertyAnalyzerController

public class XmlPropertyMapping
extends AbstractResourcePropertyMapping
implements ResourcePropertyMapping, OverrideByNameMapping, XPathEnabledMapping

Author:
kimchy

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.compass.core.mapping.ResourcePropertyMapping
ResourcePropertyMapping.ExcludeFromAllType, ResourcePropertyMapping.ReverseType
 
Constructor Summary
XmlPropertyMapping()
           
 
Method Summary
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
protected  void copy(XmlPropertyMapping copy)
           
 Converter getValueConverter()
           
 String getValueConverterName()
           
 String getXPath()
           
 XmlXPathExpression getXPathExpression()
           
 boolean isOverrideByName()
           
 void setOverrideByName(boolean overrideByName)
           
 void setValueConverter(Converter valueConverter)
           
 void setValueConverterName(String valueConverterName)
           
 void setXPath(String xpath)
           
 void setXPathExpression(XmlXPathExpression xpathExpression)
           
 
Methods inherited from class org.compass.core.mapping.AbstractResourcePropertyMapping
copy, getAnalyzer, getBoost, getExcludeFromAll, getIndex, getNullValue, getReverse, getRootAlias, getSpellCheck, getStore, getTermVector, hasNullValue, isInternal, isOmitNorms, setAnalyzer, setBoost, setExcludeFromAll, setIndex, setInternal, setNullValue, setOmitNorms, setReverse, setRootAlias, setSpellCheck, setStore, setTermVector
 
Methods inherited from class org.compass.core.mapping.AbstractMapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, 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, getExcludeFromAll, getIndex, getNullValue, getReverse, getRootAlias, getSpellCheck, getStore, getTermVector, hasNullValue, isInternal, isOmitNorms
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 

Constructor Detail

XmlPropertyMapping

public XmlPropertyMapping()
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

copy

protected void copy(XmlPropertyMapping copy)

isOverrideByName

public boolean isOverrideByName()
Specified by:
isOverrideByName in interface OverrideByNameMapping

setOverrideByName

public void setOverrideByName(boolean overrideByName)
Specified by:
setOverrideByName in interface OverrideByNameMapping

getXPath

public String getXPath()
Specified by:
getXPath in interface XPathEnabledMapping

setXPath

public void setXPath(String xpath)

getValueConverter

public Converter getValueConverter()

setValueConverter

public void setValueConverter(Converter valueConverter)

getValueConverterName

public String getValueConverterName()

setValueConverterName

public void setValueConverterName(String valueConverterName)

getXPathExpression

public XmlXPathExpression getXPathExpression()
Specified by:
getXPathExpression in interface XPathEnabledMapping

setXPathExpression

public void setXPathExpression(XmlXPathExpression xpathExpression)
Specified by:
setXPathExpression in interface XPathEnabledMapping


Copyright (c) 2004-2008 The Compass Project.