Class: Saxon::XSLT::EvaluationContext
- Inherits:
-
Object
- Object
- Saxon::XSLT::EvaluationContext
- Includes:
- Common
- Defined in:
- lib/saxon/xslt/evaluation_context.rb
Overview
Represents the evaluation context for an XSLT compiler, and stylesheets compiled using one. EvaluationContexts are immutable.
Defined Under Namespace
Instance Attribute Summary collapse
-
#default_collation ⇒ Object
readonly
Returns the value of attribute default_collation.
-
#global_parameters ⇒ Object
readonly
Returns the value of attribute global_parameters.
-
#initial_template_parameters ⇒ Object
readonly
Returns the value of attribute initial_template_parameters.
-
#initial_template_tunnel_parameters ⇒ Object
readonly
Returns the value of attribute initial_template_tunnel_parameters.
-
#static_parameters ⇒ Object
readonly
Returns the value of attribute static_parameters.
Class Method Summary collapse
-
.define(block) ⇒ Saxon::XSLT::EvaluationContext
Executes the Proc/lambda passed in with a new instance of EvaluationContext as
self, allowing the DSL methods to be called in a DSL-ish way.
Instance Method Summary collapse
Methods included from Common
Instance Attribute Details
#default_collation ⇒ Object (readonly)
Returns the value of attribute default_collation.
143 144 145 |
# File 'lib/saxon/xslt/evaluation_context.rb', line 143 def default_collation @default_collation end |
#global_parameters ⇒ Object (readonly)
Returns the value of attribute global_parameters.
143 144 145 |
# File 'lib/saxon/xslt/evaluation_context.rb', line 143 def global_parameters @global_parameters end |
#initial_template_parameters ⇒ Object (readonly)
Returns the value of attribute initial_template_parameters.
143 144 145 |
# File 'lib/saxon/xslt/evaluation_context.rb', line 143 def initial_template_parameters @initial_template_parameters end |
#initial_template_tunnel_parameters ⇒ Object (readonly)
Returns the value of attribute initial_template_tunnel_parameters.
143 144 145 |
# File 'lib/saxon/xslt/evaluation_context.rb', line 143 def initial_template_tunnel_parameters @initial_template_tunnel_parameters end |
#static_parameters ⇒ Object (readonly)
Returns the value of attribute static_parameters.
143 144 145 |
# File 'lib/saxon/xslt/evaluation_context.rb', line 143 def static_parameters @static_parameters end |
Class Method Details
.define(block) ⇒ Saxon::XSLT::EvaluationContext
Executes the Proc/lambda passed in with a new instance of Saxon::XSLT::EvaluationContext as self, allowing the DSL methods to be called in a DSL-ish way
139 140 141 |
# File 'lib/saxon/xslt/evaluation_context.rb', line 139 def self.define(block) DSL.define(block) end |
Instance Method Details
#define(block) ⇒ Object
145 146 147 |
# File 'lib/saxon/xslt/evaluation_context.rb', line 145 def define(block) block.nil? ? self : DSL.define(block, args_hash) end |