Class Attribute2UnitMap


  • public class Attribute2UnitMap
    extends Object
    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 Detail

      • useHTMLLineBreaks

        protected boolean useHTMLLineBreaks
      • KEY_ATTRIBUTE2UNIT

        protected static final String KEY_ATTRIBUTE2UNIT
        key to be used in the meta information map
        See Also:
        Constant Field Values
    • Constructor Detail

      • Attribute2UnitMap

        public Attribute2UnitMap()
    • Method Detail

      • clear

        public void clear()
      • containsAttribute

        public boolean containsAttribute​(String attributeName)
      • containsUnit

        public boolean containsUnit​(String unitString)
      • getUnitString

        public String getUnitString​(String attributeName)
      • removeAttribute

        public String removeAttribute​(String attributeName)
      • 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

        public Map getAttribute2unit()
        for java2xml
        Returns:
        attribute2unit map
      • setAttribute2unit

        public void setAttribute2unit​(HashMap<String,​String> attribute2unit)
        for java2xml
        Parameters:
        attribute2unit - map