com.sun.xml.bind.v2.runtime
Class StAXPostInitAction

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.StAXPostInitAction
All Implemented Interfaces:
Runnable

final class StAXPostInitAction
extends Object
implements Runnable

Post-init action for MarshallerImpl that incorporate the in-scope namespace bindings from a StAX writer.

It's always used either with XMLStreamWriter, XMLEventWriter, or bare NamespaceContext, but to reduce the # of classes in the runtime I wrote only one class that handles both.


Constructor Summary
StAXPostInitAction(NamespaceContext nsc, XMLSerializer serializer)
           
StAXPostInitAction(javax.xml.stream.XMLEventWriter xew, XMLSerializer serializer)
           
StAXPostInitAction(javax.xml.stream.XMLStreamWriter xsw, XMLSerializer serializer)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StAXPostInitAction

StAXPostInitAction(javax.xml.stream.XMLStreamWriter xsw,
                   XMLSerializer serializer)

StAXPostInitAction

StAXPostInitAction(javax.xml.stream.XMLEventWriter xew,
                   XMLSerializer serializer)

StAXPostInitAction

StAXPostInitAction(NamespaceContext nsc,
                   XMLSerializer serializer)
Method Detail

run

public void run()
Specified by:
run in interface Runnable