本文整理了Java中org.apache.xmlbeans.XmlTokenSource
类的一些代码示例,展示了XmlTokenSource
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlTokenSource
类的具体详情如下:
包路径:org.apache.xmlbeans.XmlTokenSource
类名称:XmlTokenSource
[英]Represents a holder of XML that can return an XmlCursoror copy itself to various media such as Writer or File. Both XmlObject(and thus all XML Beans) and XmlCursor are XmlTokenSource implementations.
[中]表示可以将XmlCursor副本本身返回到各种媒体(如编写器或文件)的XML持有者。XmlObject(以及所有XMLBean)和XmlCursor都是XmlTokenSource实现。
代码示例来源:origin: org.apache.xmlbeans/xmlbeans
l = (Locale) source;
else if (source instanceof XmlTokenSource)
l = (Locale) ((XmlTokenSource) source).monitor();
else
throw new IllegalArgumentException(
代码示例来源:origin: net.bpelunit/framework
private Node makeWSHTSOAPRequest(XmlTokenSource request)
throws IOException, ParserConfigurationException,
SAXException {
return makeWSHTSOAPRequest(request.xmlText());
}
代码示例来源:origin: com.github.livesense/org.liveSense.framework.xdocreport
XmlCursor cursor = source.newCursor();
cursor.selectPath( "./*" );
while ( cursor.toNextSelection() )
代码示例来源:origin: org.apache.cxf/cxf-rt-databinding-xmlbeans
} else {
XmlTokenSource source = (XmlTokenSource)obj;
dom = source.newDomNode(options);
} else {
XmlTokenSource source = (XmlTokenSource)obj;
reader = source.newCursor().newXMLStreamReader(options);
代码示例来源:origin: org.n52.sensorweb/oxf-third-party-saxon
if (value instanceof XmlTokenSource)
Node paramObject = ((XmlTokenSource)value).getDomNode();
dc.setParameter(key, paramObject);
代码示例来源:origin: fr.opensagres.xdocreport/org.apache.poi.xwpf.converter.core-gae
XmlCursor cursor = source.newCursor();
cursor.selectPath( "./*" );
while ( cursor.toNextSelection() )
代码示例来源:origin: fr.opensagres.xdocreport/org.apache.poi.xwpf.converter.core
XmlCursor cursor = source.newCursor();
cursor.selectPath( "./*" );
while ( cursor.toNextSelection() )
代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans
l = (Locale) source;
else if (source instanceof XmlTokenSource)
l = (Locale) ((XmlTokenSource) source).monitor();
else
throw new IllegalArgumentException(
代码示例来源:origin: org.broadleafcommerce/broadleaf-usps
protected InputStream callUSPSPricingCalculation(USPSShippingPriceRequest request) throws IOException {
URL contentURL = new URL(new StringBuffer(httpProtocol).append("://").append(uspsServerName).append(uspsServiceAPI).toString());
Map<String, String> content = new HashMap<String, String>();
content.put("API", uspsShippingAPI);
XmlTokenSource doc = uspsRequestBuilder.buildRequest(request, uspsUserName, uspsPassword);
String text = doc.xmlText();
if (LOG.isDebugEnabled()) {
LOG.debug("xml request source: " + text);
}
content.put("XML", text);
return postMessage(content, contentURL, uspsCharSet);
}
代码示例来源:origin: fr.opensagres.xdocreport/org.apache.poi.xwpf.converter.core
try
cursor = token.newCursor();
cursor.selectPath( "./*" );
while ( cursor.toNextSelection() )
代码示例来源:origin: com.github.pjfanning/xmlbeans
l = (Locale) source;
else if (source instanceof XmlTokenSource)
l = (Locale) ((XmlTokenSource) source).monitor();
else
throw new IllegalArgumentException(
代码示例来源:origin: fr.opensagres.xdocreport/org.apache.poi.xwpf.converter.core-gae
try
cursor = token.newCursor();
cursor.selectPath( "./*" );
while ( cursor.toNextSelection() )
内容来源于网络,如有侵权,请联系作者删除!