Constants' Details |
READ
const long READ = 1;
- Description
- specifies opening of an element for reading.
|
|
SEEKABLE
const long SEEKABLE = 2;
- Description
- specifies opening of a seekable element.
This mode is ignored for Storage elements.
This flag makes sense only in combination with
ElementModes::READ and/or
ElementModes::WRITE.
|
|
SEEKABLEREAD
const long SEEKABLEREAD = 3;
- Description
- specifies opening of a seekable element for reading.
This is just a combination of the previous two values. For storages
it is the same as ElementModes::READ.
|
|
WRITE
const long WRITE = 4;
- Description
- specifies opening of an element for writing.
|
|
READWRITE
const long READWRITE = 7;
- Description
- specifies opening of an element for reading and writing.
For a stream element is also specifies that it must be seekable.
|
|
TRUNCATE
const long TRUNCATE = 8;
- Description
- lets the document be truncated immediately after opening.
This flag makes sense only in combination with
ElementModes::WRITE.
|
|
NOCREATE
const long NOCREATE = 16;
- Description
- restricts creation of a new element on opening in case a requested one
does not exist.
This flag makes sense only in combination with
ElementModes::WRITE.
|
|
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.