Package org.eclipse.wst.xml.xpath2.processor
public class DynamicContext extendsInterface for dynamic context.
Field Summary | |
public static java.lang.String | CODEPOINT_COLLATION The default collation which is guaranteed to always be implemented |
Method Summary | |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType | context_item() Get context item. |
public int | context_position() Get context node position. |
public java.util.GregorianCalendar | current_date_time() Returns the current date time using the GregorianCalendar. |
public java.lang.String | default_collation_name() Returns the current default collator |
public org.eclipse.wst.xml.xpath2.processor.ResultSequence | evaluate_function(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name
,
java.util.Collection args) Evaluate the function of the arguments. |
public org.eclipse.wst.xml.xpath2.processor.internal.Focus | focus() Return focus. |
public java.util.Comparator | get_collation(java.lang.String uri) Return a useful collator for the specified URI |
public org.eclipse.wst.xml.xpath2.processor.ResultSequence | get_doc(java.net.URI uri) Get document. |
public java.lang.Object | get_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) Get variable. |
public int | last() Get position of last item. |
public int | node_position(org.w3c.dom.Node node) |
public java.net.URI | resolve_uri(java.lang.String uri) Resolve an URI |
public void | set_focus(org.eclipse.wst.xml.xpath2.processor.internal.Focus focus) Set focus. |
public void | set_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName var
,
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType val) Set variable. |
public void | set_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName var
,
org.eclipse.wst.xml.xpath2.processor.ResultSequence val) Sets a XPath2 sequence into a variable. |
public org.eclipse.wst.xml.xpath2.processor.internal.types.XSDuration | tz() Reads the day from a TimeDuration type |
Field Detail |
public static java.lang.String CODEPOINT_COLLATION
The default collation which is guaranteed to always be implemented |
Methods Detail |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType context_item()
Get context item.
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType
- the context item.
public int context_position()
Get context node position.
int
- position of context node.
public java.util.GregorianCalendar current_date_time()
Returns the current date time using the GregorianCalendar.
java.util.GregorianCalendar
- The current date and time, which will always be same for the dynamic context.
public java.lang.String default_collation_name()
Returns the current default collator
java.lang.String
- The default name to use as the collator
public org.eclipse.wst.xml.xpath2.processor.ResultSequence evaluate_function(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name
,
java.util.Collection args)
Evaluate the function of the arguments.
name
- is the name.
args
- are the arguments.
org.eclipse.wst.xml.xpath2.processor.ResultSequence
- result of the function evaluation.
org.eclipse.wst.xml.xpath2.processor.DynamicError - dynamic error.
public org.eclipse.wst.xml.xpath2.processor.internal.Focus focus()
Return focus.
org.eclipse.wst.xml.xpath2.processor.internal.Focus
- Focus
public java.util.Comparator get_collation(java.lang.String uri)
Return a useful collator for the specified URI
uri
java.util.Comparator
- A Jaa collator, or null, if no such Collator exists
public org.eclipse.wst.xml.xpath2.processor.ResultSequence get_doc(java.net.URI uri)
Get document.
uri
- is the URI of the document.
org.eclipse.wst.xml.xpath2.processor.ResultSequence
- document.
public java.lang.Object get_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
Get variable.
name
- is the name of the variable.
java.lang.Object
- variable.
public int last()
Get position of last item.
int
- last item position.
public int node_position(org.w3c.dom.Node node)
node
int
public java.net.URI resolve_uri(java.lang.String uri)
Resolve an URI
uri
- is the possibly relative URI to resolve
java.net.URI
- the absolutized, resolved URI.
public void set_focus(org.eclipse.wst.xml.xpath2.processor.internal.Focus focus)
Set focus.
focus
- is focus to be set.
public void set_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName var
,
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType val)
Set variable.
var
- is name of the variable.
val
- is the value to be set for the variable.
public void set_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName var
,
org.eclipse.wst.xml.xpath2.processor.ResultSequence val)
Sets a XPath2 sequence into a variable.
var
val
public org.eclipse.wst.xml.xpath2.processor.internal.types.XSDuration tz()
Reads the day from a TimeDuration type
org.eclipse.wst.xml.xpath2.processor.internal.types.XSDuration
- current date time and implicit timezone.