1 /*
2 * Copyright (c) 2004 World Wide Web Consortium,
3 *
4 * (Massachusetts Institute of Technology, European Research Consortium for
5 * Informatics and Mathematics, Keio University). All Rights Reserved. This
6 * work is distributed under the W3C(r) Software License [1] in the hope that
7 * it will be useful, but WITHOUT ANY WARRANTY; without even the implied
8 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 *
10 * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
11 */
13 package org.w3c.dom.views;
15 /**
16 * The <code>BooleanItem</code> represents a boolean property to be fetched by
17 * a <code>Segment</code>.
18 * <p>See also the <a href='http://www.w3.org/TR/2004/NOTE-DOM-Level-3-Views-20040226'>Document Object Model (DOM) Level 3 Views and Formatting
19 Specification</a>.
20 * @since DOM Level 3
21 */
22 public interface BooleanItem extends Item {
23 /**
24 * The boolean value returned by the <code>Segment</code>, which is
25 * undefined if <code>exists</code> is false.
26 */
27 public boolean getValue();
28 /**
29 * The boolean value returned by the <code>Segment</code>, which is
30 * undefined if <code>exists</code> is false.
31 */
32 public void setValue(boolean value);
34 }