Package com.github.simy4.xpath.spi
Interface NavigatorSpi
-
public interface NavigatorSpi
Navigator extension SPI.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canHandle(java.lang.Object o)
Checks whether this SPI can navigate models of given type.<T> T
process(T xml, java.lang.Iterable<Effect> effects)
Applies expression modifications to a given XML model.
-
-
-
Method Detail
-
canHandle
boolean canHandle(java.lang.Object o)
Checks whether this SPI can navigate models of given type.- Parameters:
o
- XML model to check- Returns:
true
if SPI can handle this model orfalse
otherwise
-
process
<T> T process(T xml, java.lang.Iterable<Effect> effects) throws XmlBuilderException
Applies expression modifications to a given XML model.- Type Parameters:
T
- XML model type- Parameters:
xml
- XML model to modifyeffects
- effects to apply- Returns:
- modified XML model
- Throws:
XmlBuilderException
- if error occur during XML model modification
-
-