org.apache.xalan.processor.XSLTElementProcessor.endElement()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(13.2k)|赞(0)|评价(0)|浏览(126)

本文整理了Java中org.apache.xalan.processor.XSLTElementProcessor.endElement()方法的一些代码示例,展示了XSLTElementProcessor.endElement()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSLTElementProcessor.endElement()方法的具体详情如下:
包路径:org.apache.xalan.processor.XSLTElementProcessor
类名称:XSLTElementProcessor
方法名:endElement

XSLTElementProcessor.endElement介绍

[英]Receive notification of the end of an element.
[中]接收元素结束的通知。

代码示例

代码示例来源:origin: robovm/robovm

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
    super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement();
  handler.popStylesheet();
 }
}

代码示例来源:origin: xalan/xalan

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
    super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement();
  handler.popStylesheet();
 }
}

代码示例来源:origin: robovm/robovm

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: xalan/xalan

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: robovm/robovm

/**
 * Receive notification of the end of an element.
 *
 * @param handler The calling StylesheetHandler/TemplatesBuilder.
 * @param uri The Namespace URI, or the empty string if the
 *        element has no Namespace URI or if Namespace
 *        processing is not being performed.
 * @param localName The local name (without prefix), or the
 *        empty string if Namespace processing is not being
 *        performed.
 * @param rawName The raw XML 1.0 name (with prefix), or the
 *        empty string if raw names are not available.
 * @see org.apache.xalan.processor.StylesheetHandler#startElement
 * @see org.apache.xalan.processor.StylesheetHandler#endElement
 * @see org.xml.sax.ContentHandler#startElement
 * @see org.xml.sax.ContentHandler#endElement
 * @see org.xml.sax.Attributes
 */
public void endElement(
    StylesheetHandler handler, String uri, String localName, String rawName)
     throws org.xml.sax.SAXException
{
 // Since this has been installed as the current processor, we 
 // may get and end element event, in which case, we pop and clear 
 // and then call the real element processor.
 startNonText(handler);
 handler.getCurrentProcessor().endElement(handler, uri, localName,
                      rawName);
 handler.popProcessor();
}

代码示例来源:origin: xalan/xalan

/**
 * Receive notification of the end of an element.
 *
 * @param handler The calling StylesheetHandler/TemplatesBuilder.
 * @param uri The Namespace URI, or the empty string if the
 *        element has no Namespace URI or if Namespace
 *        processing is not being performed.
 * @param localName The local name (without prefix), or the
 *        empty string if Namespace processing is not being
 *        performed.
 * @param rawName The raw XML 1.0 name (with prefix), or the
 *        empty string if raw names are not available.
 * @see org.apache.xalan.processor.StylesheetHandler#startElement
 * @see org.apache.xalan.processor.StylesheetHandler#endElement
 * @see org.xml.sax.ContentHandler#startElement
 * @see org.xml.sax.ContentHandler#endElement
 * @see org.xml.sax.Attributes
 */
public void endElement(
    StylesheetHandler handler, String uri, String localName, String rawName)
     throws org.xml.sax.SAXException
{
 // Since this has been installed as the current processor, we 
 // may get and end element event, in which case, we pop and clear 
 // and then call the real element processor.
 startNonText(handler);
 handler.getCurrentProcessor().endElement(handler, uri, localName,
                      rawName);
 handler.popProcessor();
}

代码示例来源:origin: robovm/robovm

/**
 * Receive notification of the end of an element.
 *
 * @param uri The Namespace URI, or an empty string.
 * @param localName The local name (without prefix), or empty string if not namespace processing.
 * @param rawName The qualified name (with prefix).
 * @see org.xml.sax.ContentHandler#endElement
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 */
public void endElement(String uri, String localName, String rawName)
    throws org.xml.sax.SAXException
{
 m_elementID--;
 if (!m_shouldProcess)
  return;
 if ((m_elementID + 1) == m_fragmentID)
  m_shouldProcess = false;
 flushCharacters();
 
 popSpaceHandling();
 XSLTElementProcessor p = getCurrentProcessor();
 p.endElement(this, uri, localName, rawName);
 this.popProcessor();
 this.getNamespaceSupport().popContext();
}

代码示例来源:origin: xalan/xalan

/**
 * Receive notification of the end of an element.
 *
 * @param uri The Namespace URI, or an empty string.
 * @param localName The local name (without prefix), or empty string if not namespace processing.
 * @param rawName The qualified name (with prefix).
 * @see org.xml.sax.ContentHandler#endElement
 *
 * @throws org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 */
public void endElement(String uri, String localName, String rawName)
    throws org.xml.sax.SAXException
{
 m_elementID--;
 if (!m_shouldProcess)
  return;
 if ((m_elementID + 1) == m_fragmentID)
  m_shouldProcess = false;
 flushCharacters();
 
 popSpaceHandling();
 XSLTElementProcessor p = getCurrentProcessor();
 p.endElement(this, uri, localName, rawName);
 this.popProcessor();
 this.getNamespaceSupport().popContext();
}

代码示例来源:origin: MobiVM/robovm

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
    super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement();
  handler.popStylesheet();
 }
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
    super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement();
  handler.popStylesheet();
 }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
    super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement();
  handler.popStylesheet();
 }
}

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
    super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement();
  handler.popStylesheet();
 }
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
    super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement();
  handler.popStylesheet();
 }
}

代码示例来源:origin: MobiVM/robovm

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: ibinti/bugvm

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: FlexoVM/flexovm

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
  * Receive notification of the end of an element.
  *
  * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  * @param uri The Namespace URI, or an empty string.
  * @param localName The local name (without prefix), or empty string if not namespace processing.
  * @param rawName The qualified name (with prefix).
  */
 public void endElement(
     StylesheetHandler handler, String uri, String localName, String rawName)
      throws org.xml.sax.SAXException
 {
  super.endElement(handler, uri, localName, rawName);
  handler.popElemTemplateElement().setEndLocaterInfo(handler.getLocator());
 }
}

相关文章