org.apache.axiom.om.OMXMLParserWrapper.getParser()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(75)

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

OMXMLParserWrapper.getParser介绍

[英]Allows to access the underlying parser. Since the parser depends on the underlying implementation, an Object is returned. However the implementations may have restrictions in letting access to the parser.
[中]允许访问底层解析器。由于解析器依赖于底层实现,因此会返回一个对象。然而,这些实现在允许访问解析器方面可能有限制。

代码示例

代码示例来源:origin: org.bluestemsoftware.open.eoa.ext/open-eoa-aspect-axiom

parser = (XMLStreamReader) builder.getParser();
} catch (Exception e) {
  throw new XMLStreamException("problem accessing the parser", e);

代码示例来源:origin: org.apache.ws.commons.axiom/axiom-common-impl

setParser((XMLStreamReader) builder.getParser());
} catch (Exception e) {
  throw new XMLStreamException("problem accessing the parser. " + e.getMessage(),

相关文章