in src/main/java/org/apache/commons/jxpath/ri/compiler/Step.java [35:66]
public static String axisToString(final int axis) {
switch (axis) {
case Compiler.AXIS_SELF:
return "self";
case Compiler.AXIS_CHILD:
return "child";
case Compiler.AXIS_PARENT:
return "parent";
case Compiler.AXIS_ANCESTOR:
return "ancestor";
case Compiler.AXIS_ATTRIBUTE:
return "attribute";
case Compiler.AXIS_NAMESPACE:
return "namespace";
case Compiler.AXIS_PRECEDING:
return "preceding";
case Compiler.AXIS_FOLLOWING:
return "following";
case Compiler.AXIS_DESCENDANT:
return "descendant";
case Compiler.AXIS_ANCESTOR_OR_SELF:
return "ancestor-or-self";
case Compiler.AXIS_FOLLOWING_SIBLING:
return "following-sibling";
case Compiler.AXIS_PRECEDING_SIBLING:
return "preceding-sibling";
case Compiler.AXIS_DESCENDANT_OR_SELF:
return "descendant-or-self";
default:
return "UNKNOWN";
}
}