Comment (Java EE 5)

Java EE API


javax.xml.stream.events Interface Comment

All Superinterfaces:
XMLEvent, XMLStreamConstants

public interface Comment
extends XMLEvent

Implements: XMLEvent

注释事件的接口。
英文文档:

An interface for comment events

Version:
1.0
Author:
Copyright (c) 2003 by BEA Systems. All Rights Reserved.

Field Summary
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
 
Method Summary
 String
 
Methods inherited from interface javax.xml.stream.events.XMLEvent
 

Method Detail

public String getText()
返回注释的字符串数据,如果不存在这样的数据,则返回空字符串。
英文文档:

getText

String getText()
Return the string data of the comment, returns empty string if it does not exist



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!