Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: form :: validation ::
unpublished
interface XValidator
Usage Restrictions
not published
Description
specifies a component able to validate (the content of) other components
Validators support simple validity checks and retrieving justifications for
invalidity.
Validators may additionally support dynamic validity constraints. In such a case,
the validity of a given value may change, without the value changing itself.
To be notified about this, interested components should register as XValidityConstraintListener .
See also
XValidatable
Methods' Details
isValid
boolean
isValid (
[in] any
Value );
Description
determines whether the given value is valid
Parameter aValue
the value to check for validity
Returns
true if and only if the value is considered valid.
explainInvalid
string
explainInvalid (
[in] any
Value );
Description
retrieves a justification for the invalidity of the given value
Parameter aValue
the value which has been recognized as being invalid
Returns
a human-readable string, which explains why the given valus is considered invalid.
addValidityConstraintListener
Description
registers the given validity listener.
Usually, an XValidatable instance will also add itself as validity listener,
as soon as the validator is introduced to it.
Implementations which do not support dynamic validity contraints should simply ignore this
call.
Throws
::com::sun::star::lang ::NullPointerException
if the given listener is NULL
See also
XValidityConstraintListener
removeValidityConstraintListener
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.