org.apache.xpath.objects.XObject.appendToFsb()方法的使用及代码示例

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

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

XObject.appendToFsb介绍

[英]Cast result object to a string. NEEDSDOC @param fsb
[中]将结果对象强制转换为字符串。NEEDSDOC@param fsb

代码示例

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan

  1. /**
  2. * Cast result object to a string.
  3. *
  4. * @return The string this wraps or the empty string if null
  5. */
  6. public void appendToFsb(org.apache.xml.utils.FastStringBuffer fsb)
  7. {
  8. XString xstring = (XString)xstr();
  9. xstring.appendToFsb(fsb);
  10. }

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan

  1. /**
  2. * Cast result object to a string.
  3. *
  4. * @return The string this wraps or the empty string if null
  5. */
  6. public void appendToFsb(org.apache.xml.utils.FastStringBuffer fsb)
  7. {
  8. XString xstring = (XString)xstr();
  9. xstring.appendToFsb(fsb);
  10. }

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

  1. /**
  2. * Cast result object to a string.
  3. *
  4. * @return The string this wraps or the empty string if null
  5. */
  6. public void appendToFsb(org.apache.xml.utils.FastStringBuffer fsb)
  7. {
  8. XString xstring = (XString)xstr();
  9. xstring.appendToFsb(fsb);
  10. }

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

  1. /**
  2. * Cast result object to a string.
  3. *
  4. * @return The string this wraps or the empty string if null
  5. */
  6. public void appendToFsb(org.apache.xml.utils.FastStringBuffer fsb)
  7. {
  8. XString xstring = (XString)xstr();
  9. xstring.appendToFsb(fsb);
  10. }

代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

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

  1. /**
  2. * Write the value into the buffer.
  3. *
  4. * @param xctxt An XPathContext object, providing infomation specific
  5. * to this invocation and this thread. Maintains SAX state, variables,
  6. * error handler and so on, so the transformation/XPath object itself
  7. * can be simultaneously invoked from multiple threads.
  8. * @param buf Buffer to write into.
  9. * @param context The current source tree context.
  10. * @param nsNode The current namespace context (stylesheet tree context).
  11. *
  12. * @throws javax.xml.transform.TransformerException
  13. */
  14. public void evaluate(
  15. XPathContext xctxt, FastStringBuffer buf, int context, org.apache.xml.utils.PrefixResolver nsNode)
  16. throws javax.xml.transform.TransformerException
  17. {
  18. XObject xobj = m_xpath.execute(xctxt, context, nsNode);
  19. if (null != xobj)
  20. {
  21. xobj.appendToFsb(buf);
  22. }
  23. }

相关文章