CAAMLParser Class
CAAML file parser.
Constructor
CAAMLParser
()
Item Index
Properties
Methods
_parse
()
protected
This method needs to be implemented by all children of class Parser.
Parse the complete document and return the result.
Returns:
end
()
chainable
This method must be called by the parsing methods
when the parsing has finished.
parse
(
Object
-
[callback]
Starts the parsing process; in sync mode this
method blocks until the parsing has finished,
otherwise it should return immediately!
If given a callback, it must be bound to the
end
and error
events.
Parameters:
-
[callback]
Function optional
Returns:
Object:
The parse result.
parse_custom_data
()
private
parse_general_data
()
private
parse_xml
()
private
Main CAAML parser routine.
verify
()
chainable
Verify that all syntactic and semantic requirements are met
by the parsed entity.
Properties
add_feature
Unknown
private
dates
ArrayA list of date/time formats recognized by the parser.
parse_caaml_version
Unknown
private
parse_date
Unknown
private
parse_feature
Unknown
private
parse_gml_id
Unknown
private
parse_meta_data
Unknown
private
parse_name
Unknown
private
parse_ntuple
Unknown
private
parse_position
Unknown
private
station
Station
The snow station instance; the instance should be populated by the parsing methods and represents the parse result.