com.novell.xsl.process
Class Priority
java.lang.Object
java.lang.Number
java.math.BigDecimal
com.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
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 |
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)