81e224b88fc8f97a5dc1724d770e5a8a9963decc
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>MatchString</code> identifies <code>Segment</code>s where a
17 * string property matches a specific value.
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 MatchString extends Match {
23 /**
24 * The name of a string property of each <code>Segment</code> to be
25 * compared against, which is specified during construction.
26 */
27 public String getName();
29 /**
30 * The string value to be compared against, which is specified during
31 * construction.
32 */
33 public String getValue();
35 }