パッケージ | 説明 |
---|---|
org.jaxen |
This package defines the core Jaxen API to the XPath engine.
|
org.jaxen.function |
Standard XPath function library.
|
org.jaxen.function.ext |
Extension functions to the standard XPath function library.
|
org.jaxen.function.xslt |
XPath functions which are defined in XSLT.
|
修飾子とタイプ | メソッドと説明 |
---|---|
Function |
SimpleFunctionContext.getFunction(String namespaceURI,
String prefix,
String localName) |
Function |
FunctionContext.getFunction(String namespaceURI,
String prefix,
String localName)
An implementation should return a
Function implementation object
based on the namespace URI and local name of the function-call
expression. |
Function |
ContextSupport.getFunction(String namespaceURI,
String prefix,
String localName)
Retrieve a
Function . |
Function |
Context.getFunction(String namespaceURI,
String prefix,
String localName)
Retrieve a
Function . |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
SimpleFunctionContext.registerFunction(String namespaceURI,
String localName,
Function function)
Register a new function.
|
修飾子とタイプ | クラスと説明 |
---|---|
class |
BooleanFunction
4.3
boolean boolean(object)
The boolean function converts its argument to a boolean as follows: a number is true if and only if it is neither positive or negative zero nor NaN a node-set is true if and only if it is non-empty a string is true if and only if its length is non-zero an object of a type other than the four basic types is converted to a boolean in a way that is dependent on that type |
class |
CeilingFunction
4.4
number ceiling(number)
The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer....If the argument is NaN, then NaN is returned. |
class |
ConcatFunction
4.2
string concat(string,string,string*)
Concatenates its arguments and returns the resulting string. |
class |
ContainsFunction
4.2
boolean contains(string,string)
The contains function returns true if the first argument string contains the second argument string, and otherwise returns false. |
class |
CountFunction
4.1
number count(node-set)
The count function returns the number of nodes in the argument node-set. |
class |
FalseFunction
4.3
boolean false()
Returns false. |
class |
FloorFunction
4.4
number floor(number)
The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.... |
class |
IdFunction
4.1
node-set id(object)
The id function returns a List
of all the elements in the context document that have an ID
matching one of a specified list of IDs. |
class |
LangFunction
4.3
boolean lang(string)
The lang function returns true or false depending on whether
the language of the context node as specified by
|
class |
LastFunction
4.1
number last()
The last function returns a number equal to the context size from the expression evaluation context. |
class |
LocalNameFunction
4.1
string local-name(node-set? |
class |
NameFunction
4.1
string name(node-set? |
class |
NamespaceUriFunction
4.1
string namespace-uri(node-set? |
class |
NormalizeSpaceFunction
4.2
string normalize-space(string)
The normalize-space function returns the argument string with whitespace normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. |
class |
NotFunction
4.3
boolean not(boolean)
The not function returns true if its argument is false, and false otherwise. |
class |
NumberFunction
4.4
number number(object)
The number function converts its argument to a number as follows: a string that consists of optional whitespace followed by an optional minus sign followed by a Number followed by whitespace is converted to the IEEE 754 number that is nearest (according to the IEEE 754 round-to-nearest rule) to the mathematical value represented by the string; any other string is converted to NaN boolean true is converted to 1; boolean false is converted to 0 a node-set is first converted to a string as if by a call to the string function and then converted in the same way as a string argument an object of a type other than the four basic types is converted to a number in a way that is dependent on that type If the argument is omitted, it defaults to a node-set with the context node as its only member. |
class |
PositionFunction
4.1
number position()
The position function returns a number equal to the context position from the expression evaluation context. |
class |
RoundFunction
4.4
number round(number)
The round function returns the number that is closest to the argument and that is an integer. |
class |
StartsWithFunction
4.2
boolean starts-with(string,string)
The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false. |
class |
StringFunction
4.2
string string(object)
The string function converts an object to a string as follows: A node-set is converted to a string by returning the string-value of the node in the node-set that is first in document order. |
class |
StringLengthFunction
4.2
number string-length(string)
The string-length function returns the number of Unicode characters
in its argument. |
class |
SubstringAfterFunction
4.2
string substring-after(string,string)
The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. |
class |
SubstringBeforeFunction
4.2
string substring-before(string,string)
The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. |
class |
SubstringFunction
4.2
string substring(string,number,number? |
class |
SumFunction
4.4
number sum(node-set)
The sum function returns the sum, for each node in the argument node-set, of the result of converting the string-values of the node to a number. |
class |
TranslateFunction
4.2
string translate(string,string,string)
The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. |
class |
TrueFunction
4.3
boolean true()
Returns true. |
修飾子とタイプ | クラスと説明 |
---|---|
class |
EndsWithFunction
boolean ends-with(string,string) |
class |
EvaluateFunction
node-set evaluate(string) |
class |
LocaleFunctionSupport
An abstract base class for Locale-specific extension
functions.
|
class |
LowerFunction
string lower-case(string)
This function can take a second parameter of the
Locale to use for the String conversion. |
class |
UpperFunction
string upper-case(string)
This function can take a second parameter of the
Locale to use for the String conversion. |
修飾子とタイプ | クラスと説明 |
---|---|
class |
DocumentFunction
Implements the XSLT document() function
|
Copyright © 2001-2013 Codehaus. All Rights Reserved.