Class XPathContextMajor.XSLTContext

  • Enclosing class:
    XPathContextMajor

    protected static class XPathContextMajor.XSLTContext
    extends java.lang.Object
    An XSLTContext object holds all the additional dynamic context items used in XSLT. These are held in a separate object for two reasons: firstly, they don't change often, so it's costly to copy them every time a new context object is created, and secondly, they aren't used at all in XQuery, they just add overhead.
    • Field Detail

      • currentMode

        public Mode currentMode
      • currentTemplate

        public Rule currentTemplate
      • currentGroupIterator

        public GroupIterator currentGroupIterator
      • currentJRegexIterator

        public RegexIterator currentJRegexIterator
    • Constructor Detail

      • XSLTContext

        public XSLTContext​(XPathContextMajor.XSLTContext original)
        Create a new XSLTContext optionally by copying an existing XSLTContext
        Parameters:
        original - the existing XSLTContext. May be null, in which case a new XSLTContext is created from scratch.