|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ctc.wstx.evt.WEvent
com.ctc.wstx.evt.WComment
public class WComment
Field Summary |
---|
Fields inherited from class com.ctc.wstx.evt.WEvent |
---|
mLocation |
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 | |
---|---|
WComment(javax.xml.stream.Location loc,
java.lang.String content)
|
Method Summary | |
---|---|
int |
getEventType()
|
java.lang.String |
getText()
|
void |
writeAsEncodedUnicode(java.io.Writer w)
|
void |
writeUsing(javax.xml.stream.XMLStreamWriter w)
|
Methods inherited from class com.ctc.wstx.evt.WEvent |
---|
asCharacters, asEndElement, asStartElement, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, throwFromIOE, toString |
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, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
Constructor Detail |
---|
public WComment(javax.xml.stream.Location loc, java.lang.String content)
Method Detail |
---|
public java.lang.String getText()
getText
in interface javax.xml.stream.events.Comment
public int getEventType()
getEventType
in interface javax.xml.stream.events.XMLEvent
getEventType
in class WEvent
public void writeAsEncodedUnicode(java.io.Writer w) throws javax.xml.stream.XMLStreamException
writeAsEncodedUnicode
in interface javax.xml.stream.events.XMLEvent
writeAsEncodedUnicode
in class WEvent
javax.xml.stream.XMLStreamException
public void writeUsing(javax.xml.stream.XMLStreamWriter w) throws javax.xml.stream.XMLStreamException
writeUsing
in interface XMLEvent2
writeUsing
in class WEvent
javax.xml.stream.XMLStreamException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |