KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > soap > Text


1 /*
2  * $Id: Text.java,v 1.3 2005/04/05 20:34:16 mk125090 Exp $
3  * $Revision: 1.3 $
4  * $Date: 2005/04/05 20:34:16 $
5  */

6
7 /*
8  * The contents of this file are subject to the terms
9  * 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 JavaDoc, org.w3c.dom.Text JavaDoc {
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 }
45
Popular Tags