org.apache.xerces.stax.events
Class CommentImpl

java.lang.Object
  |
  +--org.apache.xerces.stax.events.XMLEventImpl
        |
        +--org.apache.xerces.stax.events.CommentImpl
All Implemented Interfaces:
javax.xml.stream.events.Comment, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants

public final class CommentImpl
extends XMLEventImpl
implements javax.xml.stream.events.Comment

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Version:
$Id: CommentImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
Author:
Lucian Holland

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
CommentImpl(java.lang.String text, javax.xml.stream.Location location)
           
 
Method Summary
 java.lang.String getText()
           
 void writeAsEncodedUnicode(java.io.Writer writer)
           
 
Methods inherited from class org.apache.xerces.stax.events.XMLEventImpl
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, 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, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
 

Constructor Detail

CommentImpl

public CommentImpl(java.lang.String text,
                   javax.xml.stream.Location location)
Parameters:
location -  
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface javax.xml.stream.events.Comment
See Also:
Comment.getText()

writeAsEncodedUnicode

public void writeAsEncodedUnicode(java.io.Writer writer)
                           throws javax.xml.stream.XMLStreamException
Specified by:
writeAsEncodedUnicode in interface javax.xml.stream.events.XMLEvent


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.