01: /*
02: * $Id: Text.java,v 1.4 2006/03/30 00:59:42 ofung Exp $
03: * $Revision: 1.4 $
04: * $Date: 2006/03/30 00:59:42 $
05: */
06:
07: /*
08: * The contents of this file are subject to the terms
09: * of the Common Development and Distribution License
10: * (the License). You may not use this file except in
11: * compliance with the License.
12: *
13: * You can obtain a copy of the license at
14: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
15: * See the License for the specific language governing
16: * permissions and limitations under the License.
17: *
18: * When distributing Covered Code, include this CDDL
19: * Header Notice in each file and include the License file
20: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
21: * If applicable, add the following below the CDDL Header,
22: * with the fields enclosed by brackets [] replaced by
23: * you own identifying information:
24: * "Portions Copyrighted [year] [name of copyright owner]"
25: *
26: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
27: */
28: package javax.xml.soap;
29:
30: /**
31: * A representation of a node whose value is text. A <code>Text</code> object
32: * may represent text that is content or text that is a comment.
33: *
34: */
35: public interface Text extends Node, org.w3c.dom.Text {
36:
37: /**
38: * Retrieves whether this <code>Text</code> object represents a comment.
39: *
40: * @return <code>true</code> if this <code>Text</code> object is a
41: * comment; <code>false</code> otherwise
42: */
43: public boolean isComment();
44: }
|