Package cds.astrores.sax
Class AstroresSAXParser
- java.lang.Object
-
- cds.astrores.sax.AstroresSAXParser
-
public class AstroresSAXParser extends java.lang.Object
Savot Pull Parser, t has been tested with kXML Pull parser implementation
but it is possible to use other pull parsers
Designed to use with Pull parsers complient with Standard Pull Implementation v1
- Author:
- Andre Schaaff
-
-
Constructor Summary
Constructors Constructor Description AstroresSAXParser(AstroresSAXConsumer consumer, java.io.InputStream instream, java.lang.String enc)
ConstructorAstroresSAXParser(AstroresSAXConsumer consumer, java.io.InputStream instream, java.lang.String enc, boolean debug)
ConstructorAstroresSAXParser(AstroresSAXConsumer consumer, java.lang.String file)
ConstructorAstroresSAXParser(AstroresSAXConsumer consumer, java.lang.String file, boolean debug)
ConstructorAstroresSAXParser(AstroresSAXConsumer consumer, java.net.URL url, java.lang.String enc)
ConstructorAstroresSAXParser(AstroresSAXConsumer consumer, java.net.URL url, java.lang.String enc, boolean debug)
Constructor
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] argv)
Main
-
-
-
Constructor Detail
-
AstroresSAXParser
public AstroresSAXParser(AstroresSAXConsumer consumer, java.lang.String file)
Constructor- Parameters:
consumer
- AstroresSAXConsumerfile
- a file to parse
-
AstroresSAXParser
public AstroresSAXParser(AstroresSAXConsumer consumer, java.lang.String file, boolean debug)
Constructor- Parameters:
consumer
- AstroresSAXConsumerfile
- a file to parsedebug
- boolean
-
AstroresSAXParser
public AstroresSAXParser(AstroresSAXConsumer consumer, java.net.URL url, java.lang.String enc)
Constructor- Parameters:
consumer
- AstroresSAXConsumerurl
- url to parseenc
- encoding (example : UTF-8)
-
AstroresSAXParser
public AstroresSAXParser(AstroresSAXConsumer consumer, java.net.URL url, java.lang.String enc, boolean debug)
Constructor- Parameters:
consumer
- AstroresSAXConsumerurl
- url to parseenc
- encoding (example : UTF-8)debug
- boolean
-
AstroresSAXParser
public AstroresSAXParser(AstroresSAXConsumer consumer, java.io.InputStream instream, java.lang.String enc)
Constructor- Parameters:
consumer
- AstroresSAXConsumerinstream
- stream to parseenc
- encoding (example : UTF-8)
-
AstroresSAXParser
public AstroresSAXParser(AstroresSAXConsumer consumer, java.io.InputStream instream, java.lang.String enc, boolean debug)
Constructor- Parameters:
consumer
- AstroresSAXConsumerinstream
- stream to parseenc
- encoding (example : UTF-8)debug
- boolean
-
-