com.novell.xsl.process
Class Priority

java.lang.Object
  extended byjava.lang.Number
      extended byjava.math.BigDecimal
          extended bycom.novell.xsl.process.Priority
All Implemented Interfaces:
Comparable, Serializable

public final class Priority
extends BigDecimal

Immutable, arbitrary-precision signed decimal numbers representing priorities for template rules.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.math.BigDecimal
ROUND_CEILING, ROUND_DOWN, ROUND_FLOOR, ROUND_HALF_DOWN, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_UNNECESSARY, ROUND_UP
 
Method Summary
static Priority create(double value)
           
static Priority create(String value)
          Creates a Priority from the specified string representation of a java.math.BigDecimal.
 
Methods inherited from class java.math.BigDecimal
abs, add, compareTo, compareTo, divide, divide, doubleValue, equals, floatValue, hashCode, intValue, longValue, max, min, movePointLeft, movePointRight, multiply, negate, scale, setScale, setScale, signum, subtract, toBigInteger, toString, unscaledValue, valueOf, valueOf
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static Priority create(String value)
Creates a Priority from the specified string representation of a java.math.BigDecimal.

Parameters:
value - the string representation of a BigDecimal
Returns:
the Priority object with the specified value
Throws:
NumberFormatException - if value is not a valid representation of a BigDecimal

create

public static Priority create(double value)