Uses of Enum
org.openjump.core.ccordsys.Unit

Packages that use Unit
  • Uses of Unit in org.openjump.core.ccordsys

    Subclasses with type arguments of type Unit in org.openjump.core.ccordsys
    Modifier and Type
    Class
    Description
    enum 
    List of UOM is created from ESG database with the following code : SELECT rpad(upper(regexp_replace(unit_of_meas_name,'[ ''\\(\\)-]+','_','g')), 16) || '(' || rpad('"' || unit_of_meas_name || '"', 32, ' ') || ', ' || uom_code::text || ', ' || rpad(upper(unit_of_meas_type), 6) || ', ' || rpad((coalesce(factor_b,0)/coalesce(factor_c,1))::text, 21, ' ') || ', ' || '"m"' || '),' FROM epsg_unitofmeasure WHERE deprecated = 0 AND unit_of_meas_type IN ('length','angle') AND uom_code > 9000 ORDER BY uom_code Some handwriting reformatting/correction are necessary though Some abbreviations have been found in http://w3.energistics.org/uom/poscUnits22.xml
    Methods in org.openjump.core.ccordsys that return Unit
    Modifier and Type
    Method
    Description
    static Unit
    Unit.find(String nameOrCode)
     
    static Unit
    Unit.valueOf(String name)
    Returns the enum constant of this type with the specified name.
    static Unit[]
    Unit.values()
    Returns an array containing the constants of this enum type, in the order they are declared.
  • Uses of Unit in org.openjump.core.ccordsys.utils

    Methods in org.openjump.core.ccordsys.utils that return Unit
    Modifier and Type
    Method
    Description
    SRSInfo.getUnit()
     
    static Unit
    SridLookupTable.getUnitFromCode(String code)
     
    static Unit
    SridLookupTable.getUnitFromName(String name)
     
    Methods in org.openjump.core.ccordsys.utils with parameters of type Unit
    Modifier and Type
    Method
    Description
    SRSInfo.setUnit(Unit unit)