UIX 2.2.15

oracle.cabo.ui.validate
Class Utf8LengthValidater

java.lang.Object
  |
  +--oracle.cabo.ui.validate.BaseClientValidater
        |
        +--oracle.cabo.ui.validate.ByteLengthValidater
              |
              +--oracle.cabo.ui.validate.Utf8LengthValidater
All Implemented Interfaces:
ClientValidater, Formatter, ServerValidater

public class Utf8LengthValidater
extends ByteLengthValidater

Validater for validating the UTF-8 length of strings.


Fields inherited from interface oracle.cabo.ui.validate.ServerValidater
NO_CONTENT_ERROR_OFFSET, UNKNOWN_ERROR_OFFSET

Constructor Summary
Utf8LengthValidater(int maxBytes)
Creates a Utf8LengthValidater.

Methods inherited from class oracle.cabo.ui.validate.ByteLengthValidater
formatObject, getHTMLLibReference, getHTMLValidation, getValidationFormat, isSingleByteEncoding, parseString, validate

Methods inherited from class oracle.cabo.ui.validate.BaseClientValidater
getLookAndFeelString, getValidation, getWMLValidation, logError, writeDependencies

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Utf8LengthValidater

public Utf8LengthValidater(int maxBytes)
Creates a Utf8LengthValidater.
Parameters:
maxBytes - the maximum number of bytes allowed when the string is encoded as UTF-8.

UIX 2.2.15