org.apache.xml.security.stax.impl
Class XMLSecurityEventWriter

java.lang.Object
  extended by org.apache.xml.security.stax.impl.XMLSecurityEventWriter
All Implemented Interfaces:
XMLEventConsumer, XMLEventWriter

public class XMLSecurityEventWriter
extends Object
implements XMLEventWriter

Version:
$Revision: 1399606 $ $Date: 2012-10-18 13:17:41 +0100 (Thu, 18 Oct 2012) $
Author:
$Author: giger $

Constructor Summary
XMLSecurityEventWriter(XMLStreamWriter xmlStreamWriter)
           
 
Method Summary
 void add(XMLEvent event)
           
 void add(XMLEventReader reader)
           
 void close()
           
 void flush()
           
 NamespaceContext getNamespaceContext()
           
 String getPrefix(String uri)
           
 void setDefaultNamespace(String uri)
           
 void setNamespaceContext(NamespaceContext namespaceContext)
           
 void setPrefix(String prefix, String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSecurityEventWriter

public XMLSecurityEventWriter(XMLStreamWriter xmlStreamWriter)
Method Detail

add

public void add(XMLEvent event)
         throws XMLStreamException
Specified by:
add in interface XMLEventConsumer
Specified by:
add in interface XMLEventWriter
Throws:
XMLStreamException

add

public void add(XMLEventReader reader)
         throws XMLStreamException
Specified by:
add in interface XMLEventWriter
Throws:
XMLStreamException

close

public void close()
           throws XMLStreamException
Specified by:
close in interface XMLEventWriter
Throws:
XMLStreamException

flush

public void flush()
           throws XMLStreamException
Specified by:
flush in interface XMLEventWriter
Throws:
XMLStreamException

getNamespaceContext

public NamespaceContext getNamespaceContext()
Specified by:
getNamespaceContext in interface XMLEventWriter

getPrefix

public String getPrefix(String uri)
                 throws XMLStreamException
Specified by:
getPrefix in interface XMLEventWriter
Throws:
XMLStreamException

setDefaultNamespace

public void setDefaultNamespace(String uri)
                         throws XMLStreamException
Specified by:
setDefaultNamespace in interface XMLEventWriter
Throws:
XMLStreamException

setNamespaceContext

public void setNamespaceContext(NamespaceContext namespaceContext)
                         throws XMLStreamException
Specified by:
setNamespaceContext in interface XMLEventWriter
Throws:
XMLStreamException

setPrefix

public void setPrefix(String prefix,
                      String uri)
               throws XMLStreamException
Specified by:
setPrefix in interface XMLEventWriter
Throws:
XMLStreamException


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.