Package org.eolang.parser
Class Xsline
- java.lang.Object
-
- org.eolang.parser.Xsline
-
public final class Xsline extends Object
Pipeline of XSL transformations.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpass()Compile it to XML and save to output.Xslinewith(com.jcabi.xml.XSL sheet)Add this sheet to the list.Xslinewith(com.jcabi.xml.XSL sheet, org.cactoos.BiFunc<com.jcabi.xml.XML,com.jcabi.xml.XML,Boolean> func)Add this sheet to the list.Xslinewith(Iterable<String> sheets)Add these sheets to the list.
-
-
-
Constructor Detail
-
Xsline
public Xsline(com.jcabi.xml.XML dom, org.cactoos.Output tgt, Spy aspy)Ctor.- Parameters:
dom- XML to optimizetgt- Targetaspy- The spy
-
-
Method Detail
-
with
public Xsline with(Iterable<String> sheets)
Add these sheets to the list.- Parameters:
sheets- Names of them- Returns:
- New object
-
with
public Xsline with(com.jcabi.xml.XSL sheet)
Add this sheet to the list.- Parameters:
sheet- The sheet- Returns:
- New object
- Since:
- 0.1.27
-
with
public Xsline with(com.jcabi.xml.XSL sheet, org.cactoos.BiFunc<com.jcabi.xml.XML,com.jcabi.xml.XML,Boolean> func)
Add this sheet to the list.- Parameters:
sheet- The sheetfunc- The func that returns TRUE if the XSL has to be applied again- Returns:
- New object
- Since:
- 0.1.28
-
pass
public void pass() throws IOExceptionCompile it to XML and save to output.- Throws:
IOException- If fails
-
-