本文整理了Java中org.apache.xmlbeans.SchemaTypeLoader.parse()
方法的一些代码示例,展示了SchemaTypeLoader.parse()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SchemaTypeLoader.parse()
方法的具体详情如下:
包路径:org.apache.xmlbeans.SchemaTypeLoader
类名称:SchemaTypeLoader
方法名:parse
[英]Parses an instance of the given type.
[中]解析给定类型的实例。
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlNormalizedString} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlNormalizedString parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlNormalizedString) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlGYear} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlGYear parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlGYear) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlLong} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlLong parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlLong) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlGDay} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlGDay parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlGDay) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlUnsignedShort} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlUnsignedShort parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlUnsignedShort) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlDate} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlDate parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlDate) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlToken} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlToken parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlToken) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlDecimal} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlDecimal parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlDecimal) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlString} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlString parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlString) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlIDREFS} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlIDREFS parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlIDREFS) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlUnsignedByte} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlUnsignedByte parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlUnsignedByte) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/**
* Parses the given {@link File} as XML.
*/
public static XmlObject parse ( File file ) throws XmlException, IOException {
return XmlBeans.getContextTypeLoader().parse( file, null, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/**
* Downloads the given {@link java.net.URL} as XML.
*/
public static XmlObject parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return XmlBeans.getContextTypeLoader().parse( u, null, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/**
* Decodes and parses the given {@link InputStream} as XML.
*/
public static XmlObject parse ( InputStream is ) throws XmlException, IOException {
return XmlBeans.getContextTypeLoader().parse( is, null, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/**
* Decodes and parses the given {@link XMLStreamReader} as XML.
*/
public static XmlObject parse ( XMLStreamReader xsr ) throws XmlException {
return XmlBeans.getContextTypeLoader().parse( xsr, null, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlTime} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlTime parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlTime) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlFloat} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlFloat parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlFloat) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlUnsignedLong} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlUnsignedLong parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlUnsignedLong) XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlIDREF} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlIDREF parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlIDREF) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
/** Parses a {@link XmlNCName} fragment from an XMLInputStream.
* @deprecated XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.
*/
public static XmlNCName parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (XmlNCName) XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
内容来源于网络,如有侵权,请联系作者删除!