Class UsPhoneNumber
- java.lang.Object
-
- org.apache.wicket.examples.forminput.UsPhoneNumber
-
- All Implemented Interfaces:
Serializable,IClusterable
public class UsPhoneNumber extends Object implements IClusterable
Represents a US phone number. We use this instead of the direct string to trigger conversion to and from string. Conversion in general may be re-evaluated in Wicket 1.3, hopefully making this a hack from the past by then.- Author:
- Eelco Hillenius
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UsPhoneNumber(String number)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNumber()Gets text.voidsetNumber(String number)Sets text.StringtoString()
-
-
-
Constructor Detail
-
UsPhoneNumber
public UsPhoneNumber(String number)
Construct.- Parameters:
number-
-
-