|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.xml.stream.events.BaseEvent
com.bea.xml.stream.events.CharactersEvent
com.bea.xml.stream.events.CommentEvent
public class CommentEvent
| Field Summary |
|---|
| Fields inherited from interface javax.xml.stream.XMLStreamConstants |
|---|
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT |
| Constructor Summary | |
|---|---|
CommentEvent()
|
|
CommentEvent(java.lang.String data)
|
|
| Method Summary | |
|---|---|
protected void |
doWriteAsEncodedUnicode(java.io.Writer writer)
Template method to be implemented by sub-classes. |
java.lang.String |
getText()
Return the string data of the comment, returns empty string if it does not exist |
protected void |
init()
|
| Methods inherited from class com.bea.xml.stream.events.CharactersEvent |
|---|
getData, getDataAsArray, hasData, isCData, isIgnorableWhiteSpace, isWhiteSpace, setData, setIgnorable, setSpace |
| Methods inherited from class com.bea.xml.stream.events.BaseEvent |
|---|
asCharacters, asEndElement, asStartElement, getCharacterOffset, getColumnNumber, getEventType, getLineNumber, getLocation, getLocationURI, getPublicId, getSchemaType, getSourceName, getSystemId, getTypeAsString, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, recycle, setCharacterOffset, setColumnNumber, setEventType, setLineNumber, setLocationURI, toString, writeAsEncodedUnicode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.xml.stream.events.XMLEvent |
|---|
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, writeAsEncodedUnicode |
| Constructor Detail |
|---|
public CommentEvent()
public CommentEvent(java.lang.String data)
| Method Detail |
|---|
protected void init()
init in class CharactersEventpublic java.lang.String getText()
javax.xml.stream.events.Comment
getText in interface javax.xml.stream.events.Comment
protected void doWriteAsEncodedUnicode(java.io.Writer writer)
throws java.io.IOException
BaseEvent
doWriteAsEncodedUnicode in class CharactersEventjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||