Code

required by SVG-DOM interfaces
[inkscape.git] / src / bind / java / org / w3c / dom / views / Item.java
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>Item</code> represents information to be fetched by a 
17  * <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 Item {
23     /**
24      * The <code>exists</code> boolean of a <code>Segment</code>, initially 
25      * set to false during creation, is set after an attempt to fetch the 
26      * values of a <code>Item</code> to indicate whether or not the required 
27      * data was present. A true value indicates that it was.
28      */
29     public boolean getExists();
31     /**
32      * The name of a property of the matched <code>Segment</code> to be 
33      * fetched, which is specified during construction.
34      */
35     public String getName();
37 }