Package com.sun.xml.ws.xmlfilter
Class PrivateElementFilteringStateMachine
- java.lang.Object
-
- com.sun.xml.ws.xmlfilter.PrivateElementFilteringStateMachine
-
- All Implemented Interfaces:
FilteringStateMachine
public class PrivateElementFilteringStateMachine extends Object implements FilteringStateMachine
- Author:
- Marek Potociar (marek.potociar at sun.com)
-
-
Constructor Summary
Constructors Constructor Description PrivateElementFilteringStateMachine(QName... filteredElements)
Creates a new instance of PrivateElementFilteringStateMachine
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProcessingStateChange
getStateChange(Invocation invocation, XMLStreamWriter writer)
Based on the current invocation decides whether a processing state change is required and returns the result of this decision.
-
-
-
Constructor Detail
-
PrivateElementFilteringStateMachine
public PrivateElementFilteringStateMachine(QName... filteredElements)
Creates a new instance of PrivateElementFilteringStateMachine
-
-
Method Detail
-
getStateChange
public ProcessingStateChange getStateChange(Invocation invocation, 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 interfaceFilteringStateMachine
- 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 theFilteringStateMachine
SHOULD NOT call any methods that may result in a modification of the XML stream represented by thiswriter
parameter.- Returns:
- processing state change as required.
-
-