インタフェース
com.werken.xpath.function.Function の使用

Function を使用しているパッケージ
com.werken.xpath Provides the core tools needed to use XPath 
com.werken.xpath.function Provides implementations for the core XPath Function Library From The W3C XPath Specification Section 4.1 -- Node Set Function Section 4.2 -- String Functions Section 4.3 -- Boolean Functions Section 4.4 -- Number Functions  
com.werken.xpath.impl Contains implementation classes for evaluating XPath components 
 

com.werken.xpath での Function の使用
 

Function を返す com.werken.xpath のメソッド
 Function Context.getFunction(java.lang.String name)
           
 Function FunctionContext.getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 Function ContextSupport.getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 Function XPathFunctionContext.getFunction(java.lang.String name)
          Retrieve a named function Retrieve the named function object, or null if no such function exists.
 

Function 型のパラメータを持つ com.werken.xpath のメソッド
protected  void XPathFunctionContext.addFunction(java.lang.String name, Function func)
          Add a function to this FunctionContext
 

com.werken.xpath.function での Function の使用
 

Function を実装している com.werken.xpath.function のクラス
 class BooleanFunction
          4.3 boolean boolean(object)
 class CeilingFunction
          4.4 number ceiling(number)
 class ConcatFunction
          4.2 boolean concat(string,string,string*)
 class ContainsFunction
          4.2 boolean contains(string,string)
 class CountFunction
          4.1 number count(node-set)
 class FalseFunction
          4.3 boolean false()
 class FloorFunction
          4.4 number floor(number)
 class LastFunction
          4.1 number last()
 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 NotFunction
          4.3 boolean not(boolean)
 class NumberFunction
          4.4 number number(object)
 class PositionFunction
          4.1 number position()
 class RoundFunction
          4.4 number round(number)
 class StartsWithFunction
          4.2 boolean starts-with(string,string)
 class StringFunction
          4.2 string string(object)
 class StringLengthFunction
          4.2 number string-length(string)
 class SubstringAfterFunction
          4.2 string substring-after(string,string)
 class SubstringBeforeFunction
          4.2 string substring-before(string,string)
 class SubstringFunction
          4.2 string substring(string,number,number?
 class SumFunction
          4.4 number sum(node-set)
 class TrueFunction
          4.3 boolean true()
 

com.werken.xpath.impl での Function の使用
 

Function を返す com.werken.xpath.impl のメソッド
 Function Context.getFunction(java.lang.String name)
           
 



Copyright ? 2000 bob mcwhirter and The Werken & Sons Company. All Rights Reserved.