com.sssw.jbroker.web.xsd
Class PositiveInteger
java.lang.Object
com.sssw.jbroker.web.xsd.Validator
com.sssw.jbroker.web.xsd.NonNegativeInteger
com.sssw.jbroker.web.xsd.PositiveInteger
- All Implemented Interfaces:
- Serializable
- public class PositiveInteger
- extends NonNegativeInteger
A wrapper class that contains a positiveInteger
.
Please refer to the XML Schema
for the complete definition of this simple type.
- Since:
- jBroker Web 2.0
- See Also:
- Serialized Form
Constructor Summary |
PositiveInteger(int value)
Construct a positive integer with the specified value. |
PositiveInteger(String value)
Construct a positive integer with the specified value. |
PositiveInteger
public PositiveInteger(int value)
throws IllegalArgumentException
- Construct a positive integer with the specified value.
- Parameters:
value
- the value of the integer
- Throws:
IllegalArgumentException
- if the value can not be validated
as a positive integer.
PositiveInteger
public PositiveInteger(String value)
throws IllegalArgumentException
- Construct a positive integer with the specified value.
- Parameters:
value
- the value of the integer
- Throws:
IllegalArgumentException
- if the value can not be validated
as a positive integer.
exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.