|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xpath.compiler.Keywords
public class Keywords
Table of strings to operation code lookups.
Field Summary | |
---|---|
private static java.lang.String |
FROM_ANCESTORS_OR_SELF_STRING
ancestor-or-self axes string. |
private static java.lang.String |
FROM_ANCESTORS_STRING
ancestor axes string. |
private static java.lang.String |
FROM_ATTRIBUTES_STRING
attribute axes string. |
private static java.lang.String |
FROM_CHILDREN_STRING
child axes string. |
private static java.lang.String |
FROM_DESCENDANTS_OR_SELF_STRING
ancestor axes string. |
private static java.lang.String |
FROM_DESCENDANTS_STRING
descendant-or-self axes string. |
private static java.lang.String |
FROM_FOLLOWING_SIBLINGS_STRING
following-sibling axes string. |
private static java.lang.String |
FROM_FOLLOWING_STRING
following axes string. |
private static java.lang.String |
FROM_NAMESPACE_STRING
namespace axes string. |
private static java.lang.String |
FROM_PARENT_STRING
parent axes string. |
private static java.lang.String |
FROM_PRECEDING_SIBLINGS_STRING
preceding-sibling axes string. |
private static java.lang.String |
FROM_PRECEDING_STRING
preceding axes string. |
private static java.lang.String |
FROM_SELF_ABBREVIATED_STRING
self axes abreviated string. |
private static java.lang.String |
FROM_SELF_STRING
self axes string. |
static java.lang.String |
FUNC_BOOLEAN_STRING
boolean function string. |
static java.lang.String |
FUNC_CEILING_STRING
ceiling function string. |
static java.lang.String |
FUNC_CONCAT_STRING
concat function string. |
static java.lang.String |
FUNC_CONTAINS_STRING
contains function string. |
static java.lang.String |
FUNC_COUNT_STRING
count function string. |
static java.lang.String |
FUNC_CURRENT_STRING
current function string. |
static java.lang.String |
FUNC_DOCLOCATION_STRING
current function string (Proprietary). |
static java.lang.String |
FUNC_EXT_ELEM_AVAILABLE_STRING
element-available function string (XSLT). |
static java.lang.String |
FUNC_EXT_FUNCTION_AVAILABLE_STRING
function-available function string (XSLT). |
static java.lang.String |
FUNC_FALSE_STRING
false function string. |
static java.lang.String |
FUNC_FLOOR_STRING
floor function string. |
static java.lang.String |
FUNC_GENERATE_ID_STRING
generate-id function string (XSLT). |
(package private) static java.lang.String |
FUNC_ID_STRING
id function string. |
static java.lang.String |
FUNC_KEY_STRING
key function string (XSLT). |
static java.lang.String |
FUNC_LANG_STRING
lang function string. |
static java.lang.String |
FUNC_LAST_STRING
last function string. |
static java.lang.String |
FUNC_LOCAL_PART_STRING
local-name function string. |
static java.lang.String |
FUNC_NAME_STRING
name function string. |
static java.lang.String |
FUNC_NAMESPACE_STRING
namespace-uri function string. |
static java.lang.String |
FUNC_NORMALIZE_SPACE_STRING
normalize-space function string. |
static java.lang.String |
FUNC_NOT_STRING
not function string. |
static java.lang.String |
FUNC_NUMBER_STRING
number function string. |
static java.lang.String |
FUNC_POSITION_STRING
position function string. |
static java.lang.String |
FUNC_ROUND_STRING
round function string. |
static java.lang.String |
FUNC_STARTS_WITH_STRING
starts-with function string. |
static java.lang.String |
FUNC_STRING_LENGTH_STRING
string-length function string. |
static java.lang.String |
FUNC_STRING_STRING
string function string. |
static java.lang.String |
FUNC_SUBSTRING_AFTER_STRING
substring-after function string. |
static java.lang.String |
FUNC_SUBSTRING_BEFORE_STRING
substring-before function string. |
static java.lang.String |
FUNC_SUBSTRING_STRING
substring function string. |
static java.lang.String |
FUNC_SUM_STRING
sum function string. |
static java.lang.String |
FUNC_SYSTEM_PROPERTY_STRING
system-property function string. |
static java.lang.String |
FUNC_TRANSLATE_STRING
translate function string. |
static java.lang.String |
FUNC_TRUE_STRING
true function string. |
static java.lang.String |
FUNC_UNPARSED_ENTITY_URI_STRING
unparsed-entity-uri function string (XSLT). |
private static java.util.Hashtable |
m_axisnames
Table of axes names to opcode associations. |
private static java.util.Hashtable |
m_keywords
Table of keywords to opcode associations. |
private static java.util.Hashtable |
m_nodetests
Table of function name to function ID associations. |
private static java.util.Hashtable |
m_nodetypes
Table of node type strings to opcode associations. |
private static java.lang.String |
NODETYPE_ANYELEMENT_STRING
Wildcard element string. |
private static java.lang.String |
NODETYPE_COMMENT_STRING
comment node test string. |
private static java.lang.String |
NODETYPE_NODE_STRING
Any node test string. |
private static java.lang.String |
NODETYPE_PI_STRING
processing-instruction node test string. |
private static java.lang.String |
NODETYPE_TEXT_STRING
text node test string. |
Constructor Summary | |
---|---|
Keywords()
|
Method Summary | |
---|---|
(package private) static java.lang.Object |
getAxisName(java.lang.String key)
|
(package private) static java.lang.Object |
getKeyWord(java.lang.String key)
|
(package private) static java.lang.Object |
getNodeType(java.lang.String key)
|
(package private) static java.lang.Object |
lookupNodeTest(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.util.Hashtable m_keywords
private static java.util.Hashtable m_axisnames
private static java.util.Hashtable m_nodetests
private static java.util.Hashtable m_nodetypes
private static final java.lang.String FROM_ANCESTORS_STRING
private static final java.lang.String FROM_ANCESTORS_OR_SELF_STRING
private static final java.lang.String FROM_ATTRIBUTES_STRING
private static final java.lang.String FROM_CHILDREN_STRING
private static final java.lang.String FROM_DESCENDANTS_STRING
private static final java.lang.String FROM_DESCENDANTS_OR_SELF_STRING
private static final java.lang.String FROM_FOLLOWING_STRING
private static final java.lang.String FROM_FOLLOWING_SIBLINGS_STRING
private static final java.lang.String FROM_PARENT_STRING
private static final java.lang.String FROM_PRECEDING_STRING
private static final java.lang.String FROM_PRECEDING_SIBLINGS_STRING
private static final java.lang.String FROM_SELF_STRING
private static final java.lang.String FROM_NAMESPACE_STRING
private static final java.lang.String FROM_SELF_ABBREVIATED_STRING
private static final java.lang.String NODETYPE_COMMENT_STRING
private static final java.lang.String NODETYPE_TEXT_STRING
private static final java.lang.String NODETYPE_PI_STRING
private static final java.lang.String NODETYPE_NODE_STRING
private static final java.lang.String NODETYPE_ANYELEMENT_STRING
public static final java.lang.String FUNC_CURRENT_STRING
public static final java.lang.String FUNC_LAST_STRING
public static final java.lang.String FUNC_POSITION_STRING
public static final java.lang.String FUNC_COUNT_STRING
static final java.lang.String FUNC_ID_STRING
public static final java.lang.String FUNC_KEY_STRING
public static final java.lang.String FUNC_LOCAL_PART_STRING
public static final java.lang.String FUNC_NAMESPACE_STRING
public static final java.lang.String FUNC_NAME_STRING
public static final java.lang.String FUNC_GENERATE_ID_STRING
public static final java.lang.String FUNC_NOT_STRING
public static final java.lang.String FUNC_TRUE_STRING
public static final java.lang.String FUNC_FALSE_STRING
public static final java.lang.String FUNC_BOOLEAN_STRING
public static final java.lang.String FUNC_LANG_STRING
public static final java.lang.String FUNC_NUMBER_STRING
public static final java.lang.String FUNC_FLOOR_STRING
public static final java.lang.String FUNC_CEILING_STRING
public static final java.lang.String FUNC_ROUND_STRING
public static final java.lang.String FUNC_SUM_STRING
public static final java.lang.String FUNC_STRING_STRING
public static final java.lang.String FUNC_STARTS_WITH_STRING
public static final java.lang.String FUNC_CONTAINS_STRING
public static final java.lang.String FUNC_SUBSTRING_BEFORE_STRING
public static final java.lang.String FUNC_SUBSTRING_AFTER_STRING
public static final java.lang.String FUNC_NORMALIZE_SPACE_STRING
public static final java.lang.String FUNC_TRANSLATE_STRING
public static final java.lang.String FUNC_CONCAT_STRING
public static final java.lang.String FUNC_SYSTEM_PROPERTY_STRING
public static final java.lang.String FUNC_EXT_FUNCTION_AVAILABLE_STRING
public static final java.lang.String FUNC_EXT_ELEM_AVAILABLE_STRING
public static final java.lang.String FUNC_SUBSTRING_STRING
public static final java.lang.String FUNC_STRING_LENGTH_STRING
public static final java.lang.String FUNC_UNPARSED_ENTITY_URI_STRING
public static final java.lang.String FUNC_DOCLOCATION_STRING
Constructor Detail |
---|
public Keywords()
Method Detail |
---|
static java.lang.Object getAxisName(java.lang.String key)
static java.lang.Object lookupNodeTest(java.lang.String key)
static java.lang.Object getKeyWord(java.lang.String key)
static java.lang.Object getNodeType(java.lang.String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |