Package com.sun.xml.ws.xmlfilter
Interface FilteringStateMachine
- All Known Implementing Classes:
MexImportFilteringStateMachine,PrivateAttributeFilteringStateMachine,PrivateElementFilteringStateMachine
public interface FilteringStateMachine
- Author:
- Marek Potociar (marek.potociar at sun.com)
-
Method Summary
Modifier and TypeMethodDescriptiongetStateChange(Invocation invocation, XMLStreamWriter writer) Based on the current invocation decides whether a processing state change is required and returns the result of this decision.
-
Method Details
-
getStateChange
Based on the current invocation decides whether a processing state change is required and returns the result of this decision.- Parameters:
invocation- current invocation executed on the XML stream writerwriter- 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 theFilteringStateMachineSHOULD NOT call any methods that may result in a modification of the XML stream represented by thiswriterparameter.- Returns:
- processing state change as required.
-