本文整理了Java中org.apache.xpath.objects.XObject.rtf()
方法的一些代码示例,展示了XObject.rtf()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XObject.rtf()
方法的具体详情如下:
包路径:org.apache.xpath.objects.XObject
类名称:XObject
方法名:rtf
[英]For functions to override.
[中]用于重写函数。
代码示例来源:origin: robovm/robovm
/**
* 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;
}
代码示例来源:origin: xalan/xalan
/**
* 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;
}
代码示例来源:origin: robovm/robovm
/**
* 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 DocumentFragment rtree(XPathContext support)
{
DocumentFragment docFrag = null;
int result = rtf();
if (DTM.NULL == result)
{
DTM frag = support.createDocumentFragment();
// %OPT%
frag.appendTextChild(str());
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
else
{
DTM frag = support.getDTM(result);
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
return docFrag;
}
代码示例来源:origin: robovm/robovm
int doc = obj.rtf();
DTM dtm = support.getDTM(doc);
代码示例来源:origin: xalan/xalan
/**
* 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 DocumentFragment rtree(XPathContext support)
{
DocumentFragment docFrag = null;
int result = rtf();
if (DTM.NULL == result)
{
DTM frag = support.createDocumentFragment();
// %OPT%
frag.appendTextChild(str());
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
else
{
DTM frag = support.getDTM(result);
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
return docFrag;
}
代码示例来源:origin: xalan/xalan
int doc = obj.rtf();
DTM dtm = support.getDTM(doc);
代码示例来源:origin: ibinti/bugvm
/**
* 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;
}
代码示例来源:origin: FlexoVM/flexovm
/**
* 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;
}
代码示例来源:origin: org.apache.xalan/com.springsource.org.apache.xalan
/**
* 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;
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* 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;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan
/**
* 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;
}
代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1
/**
* 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;
}
代码示例来源:origin: MobiVM/robovm
/**
* 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;
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* 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;
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* 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;
}
代码示例来源:origin: ibinti/bugvm
/**
* 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 DocumentFragment rtree(XPathContext support)
{
DocumentFragment docFrag = null;
int result = rtf();
if (DTM.NULL == result)
{
DTM frag = support.createDocumentFragment();
// %OPT%
frag.appendTextChild(str());
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
else
{
DTM frag = support.getDTM(result);
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
return docFrag;
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* 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 DocumentFragment rtree(XPathContext support)
{
DocumentFragment docFrag = null;
int result = rtf();
if (DTM.NULL == result)
{
DTM frag = support.createDocumentFragment();
// %OPT%
frag.appendTextChild(str());
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
else
{
DTM frag = support.getDTM(result);
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
return docFrag;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan
/**
* 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 DocumentFragment rtree(XPathContext support)
{
DocumentFragment docFrag = null;
int result = rtf();
if (DTM.NULL == result)
{
DTM frag = support.createDocumentFragment();
// %OPT%
frag.appendTextChild(str());
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
else
{
DTM frag = support.getDTM(result);
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
return docFrag;
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* 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 DocumentFragment rtree(XPathContext support)
{
DocumentFragment docFrag = null;
int result = rtf();
if (DTM.NULL == result)
{
DTM frag = support.createDocumentFragment();
// %OPT%
frag.appendTextChild(str());
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
else
{
DTM frag = support.getDTM(result);
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
return docFrag;
}
代码示例来源:origin: MobiVM/robovm
/**
* 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 DocumentFragment rtree(XPathContext support)
{
DocumentFragment docFrag = null;
int result = rtf();
if (DTM.NULL == result)
{
DTM frag = support.createDocumentFragment();
// %OPT%
frag.appendTextChild(str());
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
else
{
DTM frag = support.getDTM(result);
docFrag = (DocumentFragment)frag.getNode(frag.getDocument());
}
return docFrag;
}
内容来源于网络,如有侵权,请联系作者删除!