Class Attribute2UnitMap
java.lang.Object
org.openjump.util.metaData.Attribute2UnitMap
Meta information object to store the units for the attributes in a layer.
- Version:
- $Rev: 856 $
- Author:
- Ole Rahn
FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringkey to be used in the meta information mapprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsAttribute(String attributeName) booleancontainsUnit(String unitString) for java2xmlgetUnitString(String attributeName) booleantells you if @link{Attribute2UnitMap#toString()} uses <br> or just backslash+n to begin a new line.removeAttribute(String attributeName) voidsetAttribute2unit(HashMap<String, String> attribute2unit) for java2xmlvoidsetUseHTMLLineBreaks(boolean useHTMLLineBreaks) Controlls if @link{Attribute2UnitMap#toString()} uses <br> or just backslash+n to begin a new line.toString()values()
-
Field Details
-
attribute2unit
-
useHTMLLineBreaks
protected boolean useHTMLLineBreaks -
KEY_ATTRIBUTE2UNIT
key to be used in the meta information map- See Also:
-
-
Constructor Details
-
Attribute2UnitMap
public Attribute2UnitMap()
-
-
Method Details
-
clear
public void clear() -
containsAttribute
-
containsUnit
-
getUnitString
-
put
-
removeAttribute
-
values
-
toString
-
isUseHTMLLineBreaks
public boolean isUseHTMLLineBreaks()tells you if @link{Attribute2UnitMap#toString()} uses <br> or just backslash+n to begin a new line.- Returns:
- value of useHTMLLineBreaks
-
setUseHTMLLineBreaks
public void setUseHTMLLineBreaks(boolean useHTMLLineBreaks) Controlls if @link{Attribute2UnitMap#toString()} uses <br> or just backslash+n to begin a new line. -
getAttribute2unit
-
setAttribute2unit
-