org.apache.axiom.util.stax.wrapper
Class ImmutableXMLOutputFactory

java.lang.Object
  extended by javax.xml.stream.XMLOutputFactory
      extended by org.apache.axiom.util.stax.wrapper.XMLOutputFactoryWrapper
          extended by org.apache.axiom.util.stax.wrapper.ImmutableXMLOutputFactory

public class ImmutableXMLOutputFactory
extends XMLOutputFactoryWrapper

Wraps an XMLOutputFactory so that its state (i.e. its properties) can no longer be changed.


Field Summary
 
Fields inherited from class javax.xml.stream.XMLOutputFactory
IS_REPAIRING_NAMESPACES
 
Constructor Summary
ImmutableXMLOutputFactory(XMLOutputFactory parent)
          Constructor.
 
Method Summary
 void setProperty(String name, Object value)
           
 
Methods inherited from class org.apache.axiom.util.stax.wrapper.XMLOutputFactoryWrapper
createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLEventWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, createXMLStreamWriter, getProperty, isPropertySupported
 
Methods inherited from class javax.xml.stream.XMLOutputFactory
newFactory, newFactory, newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableXMLOutputFactory

public ImmutableXMLOutputFactory(XMLOutputFactory parent)
Constructor.

Parameters:
parent - the parent factory
Method Detail

setProperty

public void setProperty(String name,
                        Object value)
                 throws IllegalArgumentException
Overrides:
setProperty in class XMLOutputFactoryWrapper
Throws:
IllegalArgumentException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.