本文整理汇总了Java中com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.isReverse方法的典型用法代码示例。如果您正苦于以下问题:Java DTMAxisIterator.isReverse方法的具体用法?Java DTMAxisIterator.isReverse怎么用?Java DTMAxisIterator.isReverse使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.sun.org.apache.xml.internal.dtm.DTMAxisIterator
的用法示例。
在下文中一共展示了DTMAxisIterator.isReverse方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: CurrentNodeListIterator
import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator; //导入方法依赖的package包/类
public CurrentNodeListIterator(DTMAxisIterator source,
CurrentNodeListFilter filter,
int currentNode,
AbstractTranslet translet)
{
this(source, !source.isReverse(), filter, currentNode, translet);
}
示例2: NodeValueIterator
import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator; //导入方法依赖的package包/类
public NodeValueIterator(DTMAxisIterator source, int returnType,
String value, boolean op)
{
_source = source;
_returnType = returnType;
_value = value;
_op = op;
_isReverse = source.isReverse();
}
示例3: NodeValueIterator
import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator; //导入方法依赖的package包/类
public NodeValueIterator(DTMAxisIterator source, int returnType,
String value, boolean op) {
_source = source;
_returnType = returnType;
_value = value;
_op = op;
_isReverse = source.isReverse();
}
示例4: positionF
import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator; //导入方法依赖的package包/类
/**
* 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();
}
示例5: FilterIterator
import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator; //导入方法依赖的package包/类
public FilterIterator(DTMAxisIterator source, DTMFilter filter) {
_source = source;
// System.out.println("FI souce = " + source + " this = " + this);
_filter = filter;
_isReverse = source.isReverse();
}
示例6: positionF
import com.sun.org.apache.xml.internal.dtm.DTMAxisIterator; //导入方法依赖的package包/类
/**
* 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();
}