org.oXML.type
Class CoreModule
java.lang.Object
org.oXML.type.CoreModule
- All Implemented Interfaces:
- Module
- public class CoreModule
- extends java.lang.Object
- implements Module
ObjectBox - o:XML compiler and interpreter
for more information see http://www.o-xml.org/objectbox
Copyright (C) 2002/2003 Martin Klang, Alpha Plus Technology Ltd
email: martin at hack.org
This class has been generated from an o:XML template
|
Method Summary |
Node |
_boolean(Node value)
|
Node |
_false()
|
Node |
_true()
|
Node |
ceiling(Node value)
|
Node |
concat(Node[] values)
|
Node |
contains(Node value,
Node match)
|
Node |
count(Node value)
|
Node |
current(RuntimeContext ctxt)
|
Node |
floor(Node value)
|
Function |
getFunction(Name name,
Type[] args)
|
Functions |
getFunctions()
|
Type |
getType(Name name)
|
java.util.Map |
getTypes()
|
Node |
id(RuntimeContext ctxt,
Node value)
|
Node |
lang(RuntimeContext ctxt,
Node value)
|
Node |
last(RuntimeContext ctxt)
|
Node |
local_name(Node node)
|
Node |
local_name(RuntimeContext ctxt)
|
Node |
match(Node value,
Node pattern)
|
Node |
match(Node value,
Node pattern,
Node limit)
|
Node |
matches(Node value,
Node pattern)
|
Node |
name(Node value)
|
Node |
name(RuntimeContext ctxt)
|
Node |
namespace_uri(Node value)
|
Node |
namespace_uri(RuntimeContext ctxt)
|
Node |
normalize_space(Node value)
|
Node |
normalize_space(RuntimeContext ctxt)
|
Node |
not(Node value)
|
Node |
number(Node value)
|
Node |
number(RuntimeContext ctxt)
|
Node |
position(RuntimeContext ctxt)
|
Node |
round(Node value)
|
Node |
split(Node value,
Node pattern)
|
Node |
split(Node value,
Node pattern,
Node limit)
|
Node |
starts_with(Node value,
Node match)
|
Node |
string_length(Node value)
|
Node |
string_length(RuntimeContext ctxt)
|
Node |
string(Node value)
|
Node |
string(RuntimeContext ctxt)
|
Node |
substitute(Node value,
Node pattern,
Node substitution)
|
Node |
substitute(Node value,
Node pattern,
Node substitution,
Node limit)
|
Node |
substring_after(Node value,
Node match)
|
Node |
substring_before(Node value,
Node match)
|
Node |
substring(Node value,
Node from)
|
Node |
substring(Node value,
Node from,
Node count)
|
Node |
sum(Node value)
|
Node |
translate(Node value,
Node from,
Node to)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreModule
public CoreModule()
getFunction
public Function getFunction(Name name,
Type[] args)
- Specified by:
getFunction in interface Module
getFunctions
public Functions getFunctions()
- Specified by:
getFunctions in interface Module
getType
public Type getType(Name name)
- Specified by:
getType in interface Module
getTypes
public java.util.Map getTypes()
- Specified by:
getTypes in interface Module
concat
public Node concat(Node[] values)
contains
public Node contains(Node value,
Node match)
match
public Node match(Node value,
Node pattern)
throws ObjectBoxException
- Throws:
ObjectBoxException
match
public Node match(Node value,
Node pattern,
Node limit)
throws ObjectBoxException
- Throws:
ObjectBoxException
matches
public Node matches(Node value,
Node pattern)
throws ObjectBoxException
- Throws:
ObjectBoxException
normalize_space
public Node normalize_space(RuntimeContext ctxt)
normalize_space
public Node normalize_space(Node value)
split
public Node split(Node value,
Node pattern)
throws ObjectBoxException
- Throws:
ObjectBoxException
split
public Node split(Node value,
Node pattern,
Node limit)
throws ObjectBoxException
- Throws:
ObjectBoxException
starts_with
public Node starts_with(Node value,
Node match)
string
public Node string(RuntimeContext ctxt)
string
public Node string(Node value)
string_length
public Node string_length(RuntimeContext ctxt)
string_length
public Node string_length(Node value)
substitute
public Node substitute(Node value,
Node pattern,
Node substitution)
throws ObjectBoxException
- Throws:
ObjectBoxException
substitute
public Node substitute(Node value,
Node pattern,
Node substitution,
Node limit)
throws ObjectBoxException
- Throws:
ObjectBoxException
substring
public Node substring(Node value,
Node from)
substring
public Node substring(Node value,
Node from,
Node count)
substring_after
public Node substring_after(Node value,
Node match)
substring_before
public Node substring_before(Node value,
Node match)
translate
public Node translate(Node value,
Node from,
Node to)
ceiling
public Node ceiling(Node value)
floor
public Node floor(Node value)
number
public Node number(RuntimeContext ctxt)
number
public Node number(Node value)
round
public Node round(Node value)
sum
public Node sum(Node value)
_boolean
public Node _boolean(Node value)
_false
public Node _false()
not
public Node not(Node value)
_true
public Node _true()
count
public Node count(Node value)
current
public Node current(RuntimeContext ctxt)
id
public Node id(RuntimeContext ctxt,
Node value)
throws ObjectBoxException
- Throws:
ObjectBoxException
lang
public Node lang(RuntimeContext ctxt,
Node value)
last
public Node last(RuntimeContext ctxt)
local_name
public Node local_name(RuntimeContext ctxt)
local_name
public Node local_name(Node node)
name
public Node name(RuntimeContext ctxt)
name
public Node name(Node value)
namespace_uri
public Node namespace_uri(RuntimeContext ctxt)
namespace_uri
public Node namespace_uri(Node value)
position
public Node position(RuntimeContext ctxt)