FileDocCategorySizeDatePackage
WbxmlPrimitiveParser.javaAPI DocAndroid 1.5 API1490Wed May 06 22:42:46 BST 2009com.android.im.imps

WbxmlPrimitiveParser

public class WbxmlPrimitiveParser extends Object implements PrimitiveParser

Fields Summary
private WbxmlParser
mParser
private PrimitiveContentHandler
mContentHandler
Constructors Summary
public WbxmlPrimitiveParser()

        mParser= new WbxmlParser();
        mContentHandler = new PrimitiveContentHandler();
    
Methods Summary
public Primitiveparse(java.io.InputStream in)

        mContentHandler.reset();
        mParser.reset();
        mParser.setContentHandler(mContentHandler);
        try {
            mParser.parse(new InputSource(in));
        } catch (SAXException e) {
            throw new ParserException(e);
        }
        return mContentHandler.getPrimitive();