public abstract class XmlParser<M> extends InputStreamReader
XmlPullParser| Modifier and Type | Method and Description |
|---|---|
M |
getModel() |
protected abstract M |
parseModel(org.xmlpull.v1.XmlPullParser parser) |
boolean |
parserEqual(org.xmlpull.v1.XmlPullParser parser,
String name) |
close, getEncoding, read, read, readypublic XmlParser(File file) throws FileNotFoundException, UnsupportedEncodingException
public M getModel() throws org.xmlpull.v1.XmlPullParserException, IOException, ParseException
org.xmlpull.v1.XmlPullParserExceptionIOExceptionParseExceptionprotected abstract M parseModel(org.xmlpull.v1.XmlPullParser parser) throws IOException, org.xmlpull.v1.XmlPullParserException, ParseException
IOExceptionorg.xmlpull.v1.XmlPullParserExceptionParseExceptionpublic boolean parserEqual(org.xmlpull.v1.XmlPullParser parser,
String name)
Copyright © 2011-2012 Code Lutin. All Rights Reserved.