Code

Adding signals and linking
[inkscape.git] / src / bind / java / org / w3c / dom / views / MatchContent.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 import org.w3c.dom.Node;
17 /**
18  * The <code>MatchContent</code> identifies <code>Segment</code>s where a 
19  * content property matches a specific value.
20  * <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
21 Specification</a>.
22  * @since DOM level 3
23  */
24 public interface MatchContent extends Match {
25     /**
26      * The name of an content property of each <code>Segment</code> to be 
27      * compared against, which is specified during construction.
28      */
29     public String getName();
31     /**
32      * The Node value to be compared against, which is specified during 
33      * construction.
34      */
35     public Node getNodeArg();
37     /**
38      * The offset value to be compared against, which is specified during 
39      * construction.
40      */
41     public int getOffset();
43 }