Package org.apache.xalan.xslt.trace

Examples of org.apache.xalan.xslt.trace.SelectionEvent


    super.execute(processor, sourceTree, sourceNode, mode);
    XObject value = m_selectPattern.execute(processor.getExecContext(), sourceNode, this);
   
    if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
    {
      m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                         sourceNode,
                                                                         this,
                                                                         "select",
                                                                         m_selectPattern,
                                                                         value));
View Full Code Here


    {
      var = m_selectPattern.execute(processor.getExecContext(),
                                    sourceNode, this);
      if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
      {
        m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                           sourceNode,
                                                                           this,
                                                                           "select",
                                                                           m_selectPattern,
                                                                           var));
View Full Code Here

        // must be xsl:when
        XPathSupport execContext = processor.getXMLProcessorLiaison();
        XObject test = when.m_test.execute(execContext, sourceNode, this);
        if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
        {
          m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                             sourceNode,
                                                                             when,
                                                                             "test",
                                                                             when.m_test,
                                                                             test));
View Full Code Here

    XPathSupport execContext = processor.getXMLProcessorLiaison();
    XObject value = m_selectPattern.execute(execContext, sourceNode, this);
   
    if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
    {
      m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                         sourceNode,
                                                                         this,
                                                                         "select",
                                                                         m_selectPattern,
                                                                         value));
View Full Code Here

    super.execute(processor, sourceTree, sourceNode, mode);
    XPathSupport execContext = processor.getXMLProcessorLiaison();
    XObject test = m_test.execute(execContext, sourceNode, this);
    if(null != this.m_stylesheet.m_stylesheetRoot.m_traceListeners)
    {
      this.m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                         sourceNode,
                                                                         this,
                                                                         "test",
                                                                         m_test,
                                                                         test));
View Full Code Here

       
        XObject test = when.m_test.execute(processor.getExecContext(),
                                           sourceNode, this, null, null, true);
        if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
        {
          m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                             sourceNode,
                                                                             when,
                                                                             "test",
                                                                             when.m_test,
                                                                             test));
View Full Code Here

    {
      XPathSupport execContext = processor.getXMLProcessorLiaison();
      var = m_selectPattern.execute(execContext, sourceNode, this);
      if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
      {
        m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                           sourceNode,
                                                                           this,
                                                                           "select",
                                                                           m_selectPattern,
                                                                           var));
View Full Code Here

        s = org.apache.xalan.xpath.xml.XMLParserLiaisonDefault.getNodeData(sourceNode);
      }

      if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
      {
        m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                           sourceNode,
                                                                           this,
                                                                           "select",
                                                                           m_selectPattern,
                                                                           new XString(s)));
      }
     
      if(null != s)
      {
        int len = s.length();
        if(len > 0)
        {
          if(!m_disableOutputEscaping)
          {
            processor.m_resultTreeHandler.characters(s.toCharArray(), 0, s.length());
          }
          else
          {
            processor.m_resultTreeHandler.charactersRaw(s.toCharArray(), 0, s.length());
          }
        }
      }

    }
    else
    {
      XObject value = m_selectPattern.execute(processor.getExecContext(), sourceNode, this,
                                              null, null, true);
     
      if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
      {
        m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                           sourceNode,
                                                                           this,
                                                                           "select",
                                                                           m_selectPattern,
                                                                           value));
View Full Code Here

    XPathSupport execContext = processor.getXMLProcessorLiaison();
    XObject value = m_selectPattern.execute(execContext, sourceNode, this);
   
    if(null != m_stylesheet.m_stylesheetRoot.m_traceListeners)
    {
      m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                         sourceNode,
                                                                         this,
                                                                         "select",
                                                                         m_selectPattern,
                                                                         value));
View Full Code Here

    super.execute(processor, sourceTree, sourceNode, mode);
    XPathSupport execContext = processor.getXMLProcessorLiaison();
    XObject test = m_test.execute(execContext, sourceNode, this);
    if(null != this.m_stylesheet.m_stylesheetRoot.m_traceListeners)
    {
      this.m_stylesheet.m_stylesheetRoot.fireSelectedEvent(new SelectionEvent(processor,
                                                                         sourceNode,
                                                                         this,
                                                                         "test",
                                                                         m_test,
                                                                         test));
View Full Code Here

TOP

Related Classes of org.apache.xalan.xslt.trace.SelectionEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.