org.apache.xml.security.stax.impl.stax
Class XMLSecCommentImpl
java.lang.Object
org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl
org.apache.xml.security.stax.impl.stax.XMLSecCommentImpl
- All Implemented Interfaces:
- Comment, XMLEvent, XMLStreamConstants, XMLSecComment, XMLSecEvent
public class XMLSecCommentImpl
- extends XMLSecEventBaseImpl
- implements XMLSecComment
- Version:
- $Revision: 1659901 $ $Date: 2015-02-15 09:11:24 +0000 (Sun, 15 Feb 2015) $
- Author:
- $Author: giger $
| 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 |
| Methods inherited from class org.apache.xml.security.stax.impl.stax.XMLSecEventBaseImpl |
asCharacters, asEndElement, asStartElement, getDocumentLevel, getElementPath, getElementPath, getEmptyIterator, getLocation, getParentXMLSecStartElement, getSchemaType, getStartElementAtLevel, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, setParentXMLSecStartElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.stream.events.XMLEvent |
getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
XMLSecCommentImpl
public XMLSecCommentImpl(String text,
XMLSecStartElement parentXmlSecStartElement)
getText
public String getText()
- Specified by:
getText in interface Comment
getEventType
public int getEventType()
- Specified by:
getEventType in interface XMLEvent
writeAsEncodedUnicode
public void writeAsEncodedUnicode(Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode in interface XMLEvent- Overrides:
writeAsEncodedUnicode in class XMLSecEventBaseImpl
- Throws:
XMLStreamException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.