Package org.eclipse.wst.xml.xpath2.processor
public class StaticContext extendsinterface to static context
Method Summary | |
public void | add_function_library(FunctionLibrary fl) add function to library |
public void | add_namespace(java.lang.String prefix
,
java.lang.String ns) add namespace |
public void | add_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) add variable |
public boolean | attribute_declared(org.eclipse.wst.xml.xpath2.processor.internal.types.QName attr) is the attribute declared? |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition | attribute_type_definition(org.eclipse.wst.xml.xpath2.processor.internal.types.QName attr) |
public org.eclipse.wst.xml.xpath2.processor.internal.types.XSAnyURI | base_uri() base uri |
public java.lang.String | default_function_namespace() the default function namespace |
public java.lang.String | default_namespace() the default namespace |
public boolean | del_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) delete the variable |
public boolean | derives_from(org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType at
,
org.eclipse.wst.xml.xpath2.processor.internal.types.QName et) |
public boolean | derives_from(org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType at
,
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition et) |
public void | destroy_scope() destroy scope |
public boolean | element_declared(org.eclipse.wst.xml.xpath2.processor.internal.types.QName elem) is the element declared? |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition | element_type_definition(org.eclipse.wst.xml.xpath2.processor.internal.types.QName elem) |
public boolean | expand_elem_type_qname(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) expand element type qname |
public boolean | expand_function_qname(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) expand function |
public boolean | expand_qname(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) expand qname |
public boolean | function_exists(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name
,
int arity) is the element declared? |
public java.util.Map | get_collections() |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel | getTypeModel(org.w3c.dom.Node element) Gets the type provider in use for the specified DOM node. |
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType | make_atomic(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) |
public void | new_scope() new scope |
public boolean | prefix_exists(java.lang.String prefix) namespaces does the prefix exist |
public java.lang.String | resolve_prefix(java.lang.String prefix) |
public void | set_base_uri(java.lang.String baseuri) Sets the base uri for the context. |
public void | set_collections(java.util.Map collections) |
public boolean | type_defined(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) |
public boolean | variable_exists(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name) |
public boolean | variable_in_scope(org.eclipse.wst.xml.xpath2.processor.internal.types.QName var) |
public boolean | xpath1_compatible() is it xpath 1.0 compatible. |
Methods Detail |
public void add_function_library(FunctionLibrary fl)
add function to library
fl
- is the function library
public void add_namespace(java.lang.String prefix
,
java.lang.String ns)
add namespace
prefix
- the prefix of the namespace
ns
- is the XSTypeDefinition of the node
public void add_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
add variable
name
- is the qname
public boolean attribute_declared(org.eclipse.wst.xml.xpath2.processor.internal.types.QName attr)
is the attribute declared?
attr
- is the attribute of the qname
boolean
- boolean
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition attribute_type_definition(org.eclipse.wst.xml.xpath2.processor.internal.types.QName attr)
attr
- is the qname variable
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition
- attributes's type definition
public org.eclipse.wst.xml.xpath2.processor.internal.types.XSAnyURI base_uri()
base uri
org.eclipse.wst.xml.xpath2.processor.internal.types.XSAnyURI
- uri
public java.lang.String default_function_namespace()
the default function namespace
java.lang.String
- string
public java.lang.String default_namespace()
the default namespace
java.lang.String
- string
public boolean del_variable(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
delete the variable
name
- is the qname
boolean
- boolean if deleted variable
public boolean derives_from(org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType at
,
org.eclipse.wst.xml.xpath2.processor.internal.types.QName et)
at
- the node type
et
- is the qname
boolean
- boolean
public boolean derives_from(org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType at
,
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition et)
at
- the node type
et
- is the XSTypeDefinition of the node
boolean
- boolean
public void destroy_scope()
destroy scope
public boolean element_declared(org.eclipse.wst.xml.xpath2.processor.internal.types.QName elem)
is the element declared?
elem
- is the elem of the qname
boolean
- boolean
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition element_type_definition(org.eclipse.wst.xml.xpath2.processor.internal.types.QName elem)
elem
- is the elem of the qname
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition
- element's type definition
public boolean expand_elem_type_qname(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
expand element type qname
name
- is the qname
boolean
- boolean if function can be expanded
public boolean expand_function_qname(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
expand function
name
- is the qname
boolean
- boolean if function can be expanded
public boolean expand_qname(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
expand qname
name
- is the qname
boolean
- boolean if function can be expanded
public boolean function_exists(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name
,
int arity)
is the element declared?
name
- is the qname name
arity
- integer of qname
boolean
- boolean
public java.util.Map get_collections()
java.util.Map
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel getTypeModel(org.w3c.dom.Node element)
Gets the type provider in use for the specified DOM node.
element
org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType make_atomic(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
name
- is the qname
org.eclipse.wst.xml.xpath2.processor.internal.types.AnyAtomicType
- any atomic type
public void new_scope()
new scope
public boolean prefix_exists(java.lang.String prefix)
namespaces does the prefix exist
prefix
- is the prefix
boolean
- boolean
public java.lang.String resolve_prefix(java.lang.String prefix)
prefix
- is the prefix
java.lang.String
- string
public void set_base_uri(java.lang.String baseuri)
Sets the base uri for the context.
baseuri
public void set_collections(java.util.Map collections)
collections
public boolean type_defined(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
name
- is qname
boolean
- boolean
public boolean variable_exists(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name)
name
- is the qname
boolean
- boolean if variable exists
public boolean variable_in_scope(org.eclipse.wst.xml.xpath2.processor.internal.types.QName var)
var
- is the variable of qname
boolean
public boolean xpath1_compatible()
is it xpath 1.0 compatible.
boolean
- boolean