Java Code Examples for com.sun.org.apache.xml.internal.dtm.DTMAxisIterator#getLast()

The following examples show how to use com.sun.org.apache.xml.internal.dtm.DTMAxisIterator#getLast() . 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: BasisLibrary.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
@Deprecated
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 2
Source File: BasisLibrary.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 3
Source File: BasisLibrary.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 4
Source File: BasisLibrary.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 5
Source File: BasisLibrary.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 6
Source File: BasisLibrary.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 7
Source File: BasisLibrary.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 8
Source File: BasisLibrary.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 9
Source File: BasisLibrary.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 10
Source File: BasisLibrary.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 11
Source File: BasisLibrary.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 12
Source File: BasisLibrary.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 13
Source File: BasisLibrary.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 14
Source File: BasisLibrary.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 15
Source File: BasisLibrary.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 16
Source File: BasisLibrary.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 17
Source File: BasisLibrary.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 18
Source File: BasisLibrary.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}
 
Example 19
Source File: BasisLibrary.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Standard function count(node-set)
 */
public static int countF(DTMAxisIterator iterator) {
    return(iterator.getLast());
}
 
Example 20
Source File: BasisLibrary.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
/**
 * Standard function position()
 * @deprecated This method exists only for backwards compatibility with old
 *             translets.  New code should not reference it.
 */
public static int positionF(DTMAxisIterator iterator) {
    return iterator.isReverse()
                 ? iterator.getLast() - iterator.getPosition() + 1
                 : iterator.getPosition();
}