eu.etaxonomy.cdm.io.tcsrdf
Class CdmSingleAttributeXmlMapperBase
java.lang.Object
eu.etaxonomy.cdm.io.common.mapping.CdmMapperBase
eu.etaxonomy.cdm.io.common.mapping.CdmAttributeMapperBase
eu.etaxonomy.cdm.io.common.mapping.CdmSingleAttributeMapperBase
eu.etaxonomy.cdm.io.tcsrdf.CdmSingleAttributeXmlMapperBase
- All Implemented Interfaces:
- IXmlMapper
- Direct Known Subclasses:
- CdmTextElementMapper, CdmUnclearMapper
public abstract class CdmSingleAttributeXmlMapperBase
- extends CdmSingleAttributeMapperBase
- implements IXmlMapper
- Version:
- 1.0
- Author:
- a.mueller
sourceNamespace
protected org.jdom.Namespace sourceNamespace
CdmSingleAttributeXmlMapperBase
protected CdmSingleAttributeXmlMapperBase(String sourceElementString,
org.jdom.Namespace sourceNamespace,
String cdmAttributeString)
- Parameters:
sourceElementString - sourceNamespace - cdmAttributeString -
CdmSingleAttributeXmlMapperBase
protected CdmSingleAttributeXmlMapperBase(String sourceElementString,
String cdmAttributeString)
- Uses the Namespace of the parent Element
- Parameters:
sourceElementString - cdmAttributeString -
getSourceElement
public String getSourceElement()
getDestinationAttribute
public String getDestinationAttribute()
- Overrides:
getDestinationAttribute in class CdmSingleAttributeMapperBase
getSourceNamespace
public org.jdom.Namespace getSourceNamespace()
getSourceNamespace
public org.jdom.Namespace getSourceNamespace(org.jdom.Element parentElement)
- Returns the namespace. If namespace is null, return parentElement namespace
- Parameters:
parentElement -
- Returns:
mapsSource
public boolean mapsSource(org.jdom.Content content,
org.jdom.Element parentElement)
- Specified by:
mapsSource in interface IXmlMapper
- Returns:
toString
public String toString()
- Overrides:
toString in class CdmAttributeMapperBase
Copyright © 2007-2013 EDIT. All Rights Reserved.