org.xml.sax.helpers.XMLFilterImpl.setupParse()方法的使用及代码示例

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

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

XMLFilterImpl.setupParse介绍

[英]Set up before a parse.

Before every parse, check whether the parent is non-null, and re-register the filter for all of the events.
[中]在解析之前设置。
在每次解析之前,检查父级是否非空,并为所有事件重新注册筛选器。

代码示例

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

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

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

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

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

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

代码示例来源:origin: javax.xml.parsers/jaxp-api

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

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

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

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

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

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

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

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

/**
 * Parse a document.
 *
 * @param input The input source for the document entity.
 * @exception org.xml.sax.SAXException Any SAX exception, possibly
 *            wrapping another exception.
 * @exception java.io.IOException An IO exception from the parser,
 *            possibly from a byte stream or character stream
 *            supplied by the application.
 */
public void parse (InputSource input)
throws SAXException, IOException
{
setupParse();
parent.parse(input);
}

相关文章

微信公众号

最新文章

更多