Module: VCDOM::XMLLS
- Extended by:
- XMLLS
- Included in:
- XMLLS
- Defined in:
- lib/vcdom/xml_ls.rb,
lib/vcdom/xml_ls/xml_parser.rb,
lib/vcdom/xml_ls/xml_serializer.rb
Defined Under Namespace
Classes: XMLContentHandler, XMLInput, XMLParser, XMLSerializer
Constant Summary
collapse
- MODE_SYNCHRONOUS =
:mode_synchronous
- MODE_ASYNCHRONOUS =
:mode_asynchronous
Instance Method Summary
collapse
Instance Method Details
33
34
35
|
# File 'lib/vcdom/xml_ls.rb', line 33
def create_ls_input()
XMLInput.new()
end
|
#create_ls_output ⇒ Object
37
38
39
|
# File 'lib/vcdom/xml_ls.rb', line 37
def create_ls_output()
XMLOutput.new()
end
|
#create_ls_parser(mode, schema_type) ⇒ Object
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/vcdom/xml_ls.rb', line 14
def create_ls_parser( mode, schema_type )
case mode
when MODE_ASYNCHRONOUS
when MODE_SYNCHRONOUS
raise "SORRY... arg +mode+ is not supported. must be +MODE_ASYNCHRONOUS+"
else
raise ArgumentError.new( "invalid mode [" + mode.inspect + "]" )
end
if not schema_type.nil? then
raise "SORRY... arg +schema_type+ is not still supported. must be +nil+"
end
XMLParser.new()
end
|
#create_ls_serializer ⇒ Object
29
30
31
|
# File 'lib/vcdom/xml_ls.rb', line 29
def create_ls_serializer()
XMLSerializer.new()
end
|