Methods' Summary |
hasForms |
determines whether there are currently forms available at all
|
Methods' Details |
hasForms
- Description
- determines whether there are currently forms available at all
If you need read access to the forms collection, then you might check
the existence of forms using hasForms(), and if it returns
`FALSE`, you can do as if XFormsSupplier::getForms() would
have returned an empty container.
Semantically, hasForms() is equivalent to calling
XElementAccess::hasElements() on the container returned by
XFormsSupplier::getForms(). But when using the latter, the
implementation is forced to create an empty container, which might be potentially
expensive.
|
|
Top of Page
Copyright © 2020, 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.