org.apache.xmlbeans.XmlTokenSource类的使用及代码示例

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

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

相关文章