org.apache.xpath.objects.XStringForFSB.<init>()方法的使用及代码示例

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

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

XStringForFSB.<init>介绍

[英]Construct a XNodeSet object.
[中]构造一个XNodeSet对象。

代码示例

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins at the specified <code>beginIndex</code> and
 * extends to the character at index <code>endIndex - 1</code>.
 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @param      endIndex     the ending index, exclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if the
 *             <code>beginIndex</code> is negative, or
 *             <code>endIndex</code> is larger than the length of
 *             this <code>String</code> object, or
 *             <code>beginIndex</code> is larger than
 *             <code>endIndex</code>.
 */
public XMLString substring(int beginIndex, int endIndex)
{
 int len = endIndex - beginIndex;
 if (len > m_length)
  len = m_length;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins with the character at the specified index and
 * extends to the end of this string. <p>
 * Examples:
 * <blockquote><pre>
 * "unhappy".substring(2) returns "happy"
 * "Harbison".substring(3) returns "bison"
 * "emptiness".substring(9) returns "" (an empty string)
 * </pre></blockquote>
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if
 *             <code>beginIndex</code> is negative or larger than the
 *             length of this <code>String</code> object.
 */
public XMLString substring(int beginIndex)
{
 int len = m_length - beginIndex;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins at the specified <code>beginIndex</code> and
 * extends to the character at index <code>endIndex - 1</code>.
 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @param      endIndex     the ending index, exclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if the
 *             <code>beginIndex</code> is negative, or
 *             <code>endIndex</code> is larger than the length of
 *             this <code>String</code> object, or
 *             <code>beginIndex</code> is larger than
 *             <code>endIndex</code>.
 */
public XMLString substring(int beginIndex, int endIndex)
{
 int len = endIndex - beginIndex;
 if (len > m_length)
  len = m_length;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins with the character at the specified index and
 * extends to the end of this string. <p>
 * Examples:
 * <blockquote><pre>
 * "unhappy".substring(2) returns "happy"
 * "Harbison".substring(3) returns "bison"
 * "emptiness".substring(9) returns "" (an empty string)
 * </pre></blockquote>
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if
 *             <code>beginIndex</code> is negative or larger than the
 *             length of this <code>String</code> object.
 */
public XMLString substring(int beginIndex)
{
 int len = m_length - beginIndex;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Create a XMLString from a FastStringBuffer.
 *
 *
 * @param fsb FastStringBuffer reference, which must be non-null.
 * @param start The start position in the array.
 * @param length The number of characters to read from the array.
 *
 * @return An XMLString object that wraps the FastStringBuffer reference.
 */
public XMLString newstr(FastStringBuffer fsb, int start, int length)
{
 return new XStringForFSB(fsb, start, length);
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins at the specified <code>beginIndex</code> and
 * extends to the character at index <code>endIndex - 1</code>.
 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @param      endIndex     the ending index, exclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if the
 *             <code>beginIndex</code> is negative, or
 *             <code>endIndex</code> is larger than the length of
 *             this <code>String</code> object, or
 *             <code>beginIndex</code> is larger than
 *             <code>endIndex</code>.
 */
public XMLString substring(int beginIndex, int endIndex)
{
 int len = endIndex - beginIndex;
 if (len > m_length)
  len = m_length;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins with the character at the specified index and
 * extends to the end of this string. <p>
 * Examples:
 * <blockquote><pre>
 * "unhappy".substring(2) returns "happy"
 * "Harbison".substring(3) returns "bison"
 * "emptiness".substring(9) returns "" (an empty string)
 * </pre></blockquote>
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if
 *             <code>beginIndex</code> is negative or larger than the
 *             length of this <code>String</code> object.
 */
public XMLString substring(int beginIndex)
{
 int len = m_length - beginIndex;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins at the specified <code>beginIndex</code> and
 * extends to the character at index <code>endIndex - 1</code>.
 * Thus the length of the substring is <code>endIndex-beginIndex</code>.
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @param      endIndex     the ending index, exclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if the
 *             <code>beginIndex</code> is negative, or
 *             <code>endIndex</code> is larger than the length of
 *             this <code>String</code> object, or
 *             <code>beginIndex</code> is larger than
 *             <code>endIndex</code>.
 */
public XMLString substring(int beginIndex, int endIndex)
{
 int len = endIndex - beginIndex;
 if (len > m_length)
  len = m_length;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins with the character at the specified index and
 * extends to the end of this string. <p>
 * Examples:
 * <blockquote><pre>
 * "unhappy".substring(2) returns "happy"
 * "Harbison".substring(3) returns "bison"
 * "emptiness".substring(9) returns "" (an empty string)
 * </pre></blockquote>
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if
 *             <code>beginIndex</code> is negative or larger than the
 *             length of this <code>String</code> object.
 */
public XMLString substring(int beginIndex)
{
 int len = m_length - beginIndex;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

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

/**
 * Returns a new string that is a substring of this string. The
 * substring begins with the character at the specified index and
 * extends to the end of this string. <p>
 * Examples:
 * <blockquote><pre>
 * "unhappy".substring(2) returns "happy"
 * "Harbison".substring(3) returns "bison"
 * "emptiness".substring(9) returns "" (an empty string)
 * </pre></blockquote>
 *
 * @param      beginIndex   the beginning index, inclusive.
 * @return     the specified substring.
 * @exception  IndexOutOfBoundsException  if
 *             <code>beginIndex</code> is negative or larger than the
 *             length of this <code>String</code> object.
 */
public XMLString substring(int beginIndex)
{
 int len = m_length - beginIndex;
 if (len <= 0)
  return XString.EMPTYSTRING;
 else
 {
  int start = m_start + beginIndex;
  return new XStringForFSB(fsb(), start, len);
 }
}

相关文章