Modifier and Type | Field and Description |
---|---|
public static final int | FUNC_BOOLEAN
The 'boolean()' id. |
public static final int | FUNC_CEILING
The 'ceiling()' id. |
public static final int | FUNC_CONCAT
The 'concat()' id. |
public static final int | FUNC_CONTAINS
The 'contains()' id. |
public static final int | FUNC_COUNT
The 'count()' id. |
public static final int | FUNC_CURRENT
The 'current()' id. |
public static final int | FUNC_DOCLOCATION
The 'document-location()' id (Proprietary). |
public static final int | FUNC_EXT_ELEM_AVAILABLE
The 'element-available()' id (XSLT). |
public static final int | FUNC_EXT_FUNCTION_AVAILABLE
The 'function-available()' id (XSLT). |
public static final int | FUNC_FALSE
The 'false()' id. |
public static final int | FUNC_FLOOR
The 'floor()' id. |
public static final int | FUNC_GENERATE_ID
The 'generate-id()' id. |
public static final int | FUNC_HERE
The 'here()' id (XML Signature). |
public static final int | FUNC_ID
The 'id()' id. |
public static final int | FUNC_KEY
The 'key()' id (XSLT). |
public static final int | FUNC_LANG
The 'lang()' id. |
public static final int | FUNC_LAST
The 'last()' id. |
public static final int | FUNC_LOCAL_PART
The 'local-name()' id. |
public static final int | FUNC_NAMESPACE
The 'namespace-uri()' id. |
public static final int | FUNC_NORMALIZE_SPACE
The 'normalize-space()' id. |
public static final int | FUNC_NOT
The 'not()' id. |
public static final int | FUNC_NUMBER
The 'number()' id. |
public static final int | FUNC_POSITION
The 'position()' id. |
public static final int | FUNC_QNAME
The 'name()' id. |
public static final int | FUNC_ROUND
The 'round()' id. |
public static final int | FUNC_STARTS_WITH
The 'starts-with()' id. |
public static final int | FUNC_STRING
The 'string()' id. |
public static final int | FUNC_STRING_LENGTH
The 'string-length()' id. |
public static final int | FUNC_SUBSTRING
The 'substring()' id. |
public static final int | FUNC_SUBSTRING_AFTER
The 'substring-after()' id. |
public static final int | FUNC_SUBSTRING_BEFORE
The 'substring-before()' id. |
public static final int | FUNC_SUM
The 'sum()' id. |
public static final int | FUNC_SYSTEM_PROPERTY
The 'system-property()' id. |
public static final int | FUNC_TRANSLATE
The 'translate()' id. |
public static final int | FUNC_TRUE
The 'true()' id. |
public static final int | FUNC_UNPARSED_ENTITY_URI
The 'unparsed-entity-uri()' id (XSLT). |
private int | m_funcNextFreeIndex
The index to the next free function index. |
private static final Map | m_functionID
Table of function name to function ID associations. |
private Map | m_functionID_customer
Table of function name to function ID associations for customized functions |
private static Class | m_functions
The function table. |
private Class | m_functions_customer
The function table contains customized functions |
private static final int | NUM_ALLOWABLE_ADDINS
Number of built-in functions that may be added. |
private static final int | NUM_BUILT_IN_FUNCS
Number of built in functions. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: True if the function can be executed.The local name of the function. methName)Tell if a built-in, non-namespaced function is available. |
pack-priv Function | Returns: a a new Function instance.The function ID, which may correspond to one of the FUNC_XXX
values found in which)com. , but may
be a value installed by an external module.Obtain a new Function object from a function ID. |
pack-priv Integer | Returns: a function ID, which may correspond to one of the FUNC_XXX values found incom. , but may be a
value installed by an external module.the function name in a java.lang.String format. key)Obtain a function ID from a given function name |
pack-priv String | |
public int | Returns: the position of the function in the internal index.The unqualified name of the function, must not be null name, Class<?> A Implementation of an XPath Function object. func)Install a built-in function. |
FUNC_BOOLEAN | back to summary |
---|---|
public static final int FUNC_BOOLEAN The 'boolean()' id. |
FUNC_CEILING | back to summary |
---|---|
public static final int FUNC_CEILING The 'ceiling()' id. |
FUNC_CONCAT | back to summary |
---|---|
public static final int FUNC_CONCAT The 'concat()' id. |
FUNC_CONTAINS | back to summary |
---|---|
public static final int FUNC_CONTAINS The 'contains()' id. |
FUNC_COUNT | back to summary |
---|---|
public static final int FUNC_COUNT The 'count()' id. |
FUNC_CURRENT | back to summary |
---|---|
public static final int FUNC_CURRENT The 'current()' id. |
FUNC_DOCLOCATION | back to summary |
---|---|
public static final int FUNC_DOCLOCATION The 'document-location()' id (Proprietary). |
FUNC_EXT_ELEM_AVAILABLE | back to summary |
---|---|
public static final int FUNC_EXT_ELEM_AVAILABLE The 'element-available()' id (XSLT). |
FUNC_EXT_FUNCTION_AVAILABLE | back to summary |
---|---|
public static final int FUNC_EXT_FUNCTION_AVAILABLE The 'function-available()' id (XSLT). |
FUNC_FALSE | back to summary |
---|---|
public static final int FUNC_FALSE The 'false()' id. |
FUNC_FLOOR | back to summary |
---|---|
public static final int FUNC_FLOOR The 'floor()' id. |
FUNC_GENERATE_ID | back to summary |
---|---|
public static final int FUNC_GENERATE_ID The 'generate-id()' id. |
FUNC_HERE | back to summary |
---|---|
public static final int FUNC_HERE The 'here()' id (XML Signature). |
FUNC_ID | back to summary |
---|---|
public static final int FUNC_ID The 'id()' id. |
FUNC_KEY | back to summary |
---|---|
public static final int FUNC_KEY The 'key()' id (XSLT). |
FUNC_LANG | back to summary |
---|---|
public static final int FUNC_LANG The 'lang()' id. |
FUNC_LAST | back to summary |
---|---|
public static final int FUNC_LAST The 'last()' id. |
FUNC_LOCAL_PART | back to summary |
---|---|
public static final int FUNC_LOCAL_PART The 'local-name()' id. |
FUNC_NAMESPACE | back to summary |
---|---|
public static final int FUNC_NAMESPACE The 'namespace-uri()' id. |
FUNC_NORMALIZE_SPACE | back to summary |
---|---|
public static final int FUNC_NORMALIZE_SPACE The 'normalize-space()' id. |
FUNC_NOT | back to summary |
---|---|
public static final int FUNC_NOT The 'not()' id. |
FUNC_NUMBER | back to summary |
---|---|
public static final int FUNC_NUMBER The 'number()' id. |
FUNC_POSITION | back to summary |
---|---|
public static final int FUNC_POSITION The 'position()' id. |
FUNC_QNAME | back to summary |
---|---|
public static final int FUNC_QNAME The 'name()' id. |
FUNC_ROUND | back to summary |
---|---|
public static final int FUNC_ROUND The 'round()' id. |
FUNC_STARTS_WITH | back to summary |
---|---|
public static final int FUNC_STARTS_WITH The 'starts-with()' id. |
FUNC_STRING | back to summary |
---|---|
public static final int FUNC_STRING The 'string()' id. |
FUNC_STRING_LENGTH | back to summary |
---|---|
public static final int FUNC_STRING_LENGTH The 'string-length()' id. |
FUNC_SUBSTRING | back to summary |
---|---|
public static final int FUNC_SUBSTRING The 'substring()' id. |
FUNC_SUBSTRING_AFTER | back to summary |
---|---|
public static final int FUNC_SUBSTRING_AFTER The 'substring-after()' id. |
FUNC_SUBSTRING_BEFORE | back to summary |
---|---|
public static final int FUNC_SUBSTRING_BEFORE The 'substring-before()' id. |
FUNC_SUM | back to summary |
---|---|
public static final int FUNC_SUM The 'sum()' id. |
FUNC_SYSTEM_PROPERTY | back to summary |
---|---|
public static final int FUNC_SYSTEM_PROPERTY The 'system-property()' id. |
FUNC_TRANSLATE | back to summary |
---|---|
public static final int FUNC_TRANSLATE The 'translate()' id. |
FUNC_TRUE | back to summary |
---|---|
public static final int FUNC_TRUE The 'true()' id. |
FUNC_UNPARSED_ENTITY_URI | back to summary |
---|---|
public static final int FUNC_UNPARSED_ENTITY_URI The 'unparsed-entity-uri()' id (XSLT). |
m_funcNextFreeIndex | back to summary |
---|---|
private int m_funcNextFreeIndex The index to the next free function index. |
m_functionID | back to summary |
---|---|
private static final Map<String, Integer> m_functionID Table of function name to function ID associations. |
m_functionID_customer | back to summary |
---|---|
private Map<String, Integer> m_functionID_customer Table of function name to function ID associations for customized functions |
m_functions | back to summary |
---|---|
private static Class<?>[] m_functions The function table. |
m_functions_customer | back to summary |
---|---|
private Class<?>[] m_functions_customer The function table contains customized functions |
NUM_ALLOWABLE_ADDINS | back to summary |
---|---|
private static final int NUM_ALLOWABLE_ADDINS Number of built-in functions that may be added. |
NUM_BUILT_IN_FUNCS | back to summary |
---|---|
private static final int NUM_BUILT_IN_FUNCS Number of built in functions. Be sure to update this as built-in functions are added. |
FunctionTable | back to summary |
---|---|
public FunctionTable() |
functionAvailable | back to summary |
---|---|
public boolean functionAvailable(String methName) Tell if a built-in, non-namespaced function is available.
|
getFunction | back to summary |
---|---|
pack-priv Function getFunction(int which) throws TransformerException Obtain a new Function object from a function ID.
|
getFunctionID | back to summary |
---|---|
pack-priv Integer getFunctionID(String key) Obtain a function ID from a given function name
|
getFunctionName | back to summary |
---|---|
pack-priv String getFunctionName(int funcID) Return the name of the a function in the static table. Needed to avoid making the table publicly available. |
installFunction | back to summary |
---|---|
public int installFunction(String name, Class<?> func) Install a built-in function. |