Java Code Examples for com.sun.org.apache.xml.internal.dtm.DTM#appendTextChild()

The following examples show how to use com.sun.org.apache.xml.internal.dtm.DTM#appendTextChild() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XObject.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 2
Source File: XObject.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 3
Source File: XObject.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 4
Source File: XObject.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 5
Source File: XObject.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 6
Source File: XObject.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 7
Source File: XObject.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 8
Source File: XObject.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 9
Source File: XObject.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 10
Source File: XObject.java    From Bytecoder with Apache License 2.0 6 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support XPath context to use for the conversion
 *
 * @return the objec as a result tree fragment.
 */
public int rtf(XPathContext support)
{

  int result = rtf();

  if (DTM.NULL == result)
  {
    DTM frag = support.createDocumentFragment();

    // %OPT%
    frag.appendTextChild(str());

    result = frag.getDocument();
  }

  return result;
}
 
Example 11
Source File: XString.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 12
Source File: XString.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 13
Source File: XString.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 14
Source File: XString.java    From Bytecoder with Apache License 2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 15
Source File: XString.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 16
Source File: XString.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 17
Source File: XString.java    From JDKSourceCode1.8 with MIT License 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 18
Source File: XString.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 19
Source File: XString.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}
 
Example 20
Source File: XString.java    From jdk1.8-source-analysis with Apache License 2.0 3 votes vote down vote up
/**
 * Cast result object to a result tree fragment.
 *
 * @param support Xpath context to use for the conversion
 *
 * @return A document fragment with this string as a child node
 */
public int rtf(XPathContext support)
{

  DTM frag = support.createDocumentFragment();

  frag.appendTextChild(str());

  return frag.getDocument();
}