\c | Display the next character, c, in the entry field;
allows escaping of the format codes as well as
introducing non-formatting characters so they can
be displayed in the entry area. Escaped characters
are considered part of the input's value, and
must be preserved by the user agent. For
example, the stored value of the input
"12345-123" having a mask "NNNNN\-3N" is
"12345-123" and not "12345123".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMLPatternValidater
public WMLPatternValidater()
WMLPatternValidater
public WMLPatternValidater(java.lang.String pattern)
getPattern
public final java.lang.String getPattern()
- Returns the patter used to vlaidate the input.
validate
public java.text.ParseException[] validate(RenderingContext context,
java.lang.String value)
formatObject
public java.lang.String formatObject(java.lang.Object value,
LocaleContext localeContext)
- Bogus implementation.
- Specified by:
formatObject in interface Formatter
parseString
public java.lang.Object parseString(java.lang.String parseString,
LocaleContext localeContext)
throws java.text.ParseException
- Returns the value String minus any escaped constants.
- Specified by:
parseString in interface Formatter
getHTMLValidation
protected java.lang.String getHTMLValidation(RenderingContext context)
- Overrides:
getHTMLValidation in class BaseClientValidater
getWMLValidation
protected java.lang.String getWMLValidation(RenderingContext context)
- Overrides:
getWMLValidation in class BaseClientValidater
getHTMLLibReference
protected java.lang.String getHTMLLibReference()
- Returns the name of the Javascript code that this validator requires.
- Overrides:
getHTMLLibReference in class BaseClientValidater
Copyright © 2002,2003, Oracle. All Rights Reserved.
|