Class: Saxon::ParseOptions
- Inherits:
-
Object
- Object
- Saxon::ParseOptions
- Defined in:
- lib/saxon/parse_options.rb
Overview
Wraps the net.sf.saxon.lib.ParseOptions
class, which holds default options to be passed to the parser
Instance Method Summary collapse
-
#features ⇒ Saxon::ParseOptions::ParserFeatures
Provide hash-like access to SAX parser features.
-
#initialize(parse_options = nil) ⇒ ParseOptions
constructor
private
A new instance of ParseOptions.
-
#properties ⇒ Saxon::ParseOptions::ParserProperties
Provide hash-like access to SAX parser properties.
Constructor Details
#initialize(parse_options = nil) ⇒ ParseOptions
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ParseOptions.
13 14 15 |
# File 'lib/saxon/parse_options.rb', line 13 def initialize( = nil) @parse_options = || Saxon::S9API::ParseOptions.new end |
Instance Method Details
#features ⇒ Saxon::ParseOptions::ParserFeatures
Provide hash-like access to SAX parser features
25 26 27 |
# File 'lib/saxon/parse_options.rb', line 25 def features @features ||= ParserFeatures.new() end |
#properties ⇒ Saxon::ParseOptions::ParserProperties
Provide hash-like access to SAX parser properties
19 20 21 |
# File 'lib/saxon/parse_options.rb', line 19 def properties @properties ||= ParserProperties.new() end |