Package com.jcabi.xml

Interface XSL

All Known Implementing Classes:
XSLChain, XSLDocument

public interface XSL
XSL stylesheet.

Implementation of this interface must be immutable and thread-safe.

Since:
0.4
See Also:
Suppressed Checkstyle violations:
AbbreviationAsWordInNameCheck (5 lines)
  • Method Details

    • transform

      XML transform(XML xml)
      Transform XML to another one.
      Parameters:
      xml - Source XML document
      Returns:
      Result document
    • applyTo

      String applyTo(XML xml)
      Transform XML into text.
      Parameters:
      xml - Source XML document
      Returns:
      Result text
      Since:
      0.11
    • with

      XSL with(Sources src)
      With this sources.
      Parameters:
      src - Sources
      Returns:
      New XSL document
    • with

      XSL with(String name, Object value)
      With this parameter.
      Parameters:
      name - Name of XSL parameter
      value - Value of XSL parameter
      Returns:
      New XSL document
      Since:
      0.16