public class FeatureTemplate extends TypeTemplate
additionalData, externalParser, features, fullClassName, inlineAnnotation, multipleInstances, parser, partOfDocuments, xPaths| Constructor and Description |
|---|
FeatureTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
addVauleMapping(String xmlElement,
String value)
Adds a ValueMapping to the Template
|
FeatureTemplate |
clone() |
String |
getMappedValue(String xmlElement)
returns a mapped Value for a spezific value from the xml
|
String |
getTsName() |
Map<String,String> |
getValueMap() |
boolean |
isType() |
void |
setTsName(String tsName) |
void |
setType(boolean type)
can mark the feature as a type.
|
void |
setValueMap(HashMap<String,String> valueMapping) |
String |
toString() |
addAdditionalData, addFeature, addPartOfDocumentText, addXPath, getAdditionalData, getFeatures, getFullClassName, getOffsetPartIDs, getParser, getXPaths, isInlineAnnotation, isMultipleInstances, setFeatures, setFullClassName, setInlineAnnotation, setMultipleInstances, setParserpublic void addVauleMapping(String xmlElement, String value)
xmlElement - value - public void setValueMap(HashMap<String,String> valueMapping)
valueMapping - the valueMapping to setpublic String getMappedValue(String xmlElement)
xmlElement - public void setType(boolean type)
type - public boolean isType()
public String toString()
toString in class TypeTemplatepublic String getTsName()
public void setTsName(String tsName)
tsName - the tsName to setpublic FeatureTemplate clone()
clone in class TypeTemplateCopyright © 2016 JULIE Lab Jena, Germany. All rights reserved.