Package org.apache.felix.bundlerepository.impl

Examples of org.apache.felix.bundlerepository.impl.PullParser


    }


    private void parseObrXml( KXmlParser kxp ) throws Exception
    {
        PullParser parser = new PullParser();
        while ( kxp.getEventType() == XmlPullParser.START_TAG )
        {
            if ( RepositoryParser.CATEGORY.equals( kxp.getName() ) )
            {
                m_resourceBundle.addCategory( parser.parseCategory( kxp ) );
            }
            else if ( RepositoryParser.REQUIRE.equals( kxp.getName() ) )
            {
                m_resourceBundle.addRequire( parser.parseRequire( kxp ) );
            }
            else if ( RepositoryParser.CAPABILITY.equals( kxp.getName() ) )
            {
                m_resourceBundle.addCapability( parser.parseCapability( kxp ) );
            }
            else
            {
                kxp.nextTag();
                parseObrXml( kxp );
View Full Code Here

TOP

Related Classes of org.apache.felix.bundlerepository.impl.PullParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.