com.sun.xml.ws.policy.jaxws.xmlstreamwriter.documentfilter
Class MexImportFilteringStateMachine

java.lang.Object
  extended by com.sun.xml.ws.policy.jaxws.xmlstreamwriter.documentfilter.MexImportFilteringStateMachine
All Implemented Interfaces:
FilteringStateMachine

public final class MexImportFilteringStateMachine
extends java.lang.Object
implements FilteringStateMachine


Constructor Summary
MexImportFilteringStateMachine()
          Creates a new instance of MexImportFilteringStateMachine
 
Method Summary
 ProcessingStateChange getStateChange(Invocation invocation, javax.xml.stream.XMLStreamWriter writer)
          Based on the current invocation decides whether a processing state change is required and returns the result of this decision.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MexImportFilteringStateMachine

public MexImportFilteringStateMachine()
Creates a new instance of MexImportFilteringStateMachine

Method Detail

getStateChange

public ProcessingStateChange getStateChange(Invocation invocation,
                                            javax.xml.stream.XMLStreamWriter writer)
Description copied from interface: FilteringStateMachine
Based on the current invocation decides whether a processing state change is required and returns the result of this decision.

Specified by:
getStateChange in interface FilteringStateMachine
Parameters:
invocation - current invocation executed on the XML stream writer
writer - mirror writer that records all calls (even the ones filtered out) and thus represents the "unfiltered" status of the XML stream. The parameter may be used to query the status. Implementations of the FilteringStateMachine SHOULD NOT call any methods that may result in a modification of the XML stream represented by this writer parameter.
Returns:
processing state change as required.