org.apache.felix.bundlerepository.impl
Class PullParser
java.lang.Object
org.apache.felix.bundlerepository.impl.RepositoryParser
org.apache.felix.bundlerepository.impl.PullParser
public class PullParser
- extends RepositoryParser
Repository XML xml based on StaX
| Fields inherited from class org.apache.felix.bundlerepository.impl.RepositoryParser |
CAPABILITY, CATEGORY, DEPTH, EXTEND, FILTER, ID, LASTMODIFIED, MULTIPLE, N, NAME, OBR_PARSER_CLASS, OPTIONAL, P, REFERRAL, REPOSITORY, REQUIRE, RESOURCE, T, URL, V |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PullParser
public PullParser()
parseRepository
public RepositoryImpl parseRepository(InputStream is)
throws Exception
- Specified by:
parseRepository in class RepositoryParser
- Throws:
Exception
parseRepository
public RepositoryImpl parseRepository(Reader r)
throws Exception
- Specified by:
parseRepository in class RepositoryParser
- Throws:
Exception
parseResource
public ResourceImpl parseResource(Reader r)
throws Exception
- Specified by:
parseResource in class RepositoryParser
- Throws:
Exception
parseCapability
public CapabilityImpl parseCapability(Reader r)
throws Exception
- Specified by:
parseCapability in class RepositoryParser
- Throws:
Exception
parseProperty
public PropertyImpl parseProperty(Reader r)
throws Exception
- Specified by:
parseProperty in class RepositoryParser
- Throws:
Exception
parseRequirement
public RequirementImpl parseRequirement(Reader r)
throws Exception
- Specified by:
parseRequirement in class RepositoryParser
- Throws:
Exception
parse
public RepositoryImpl parse(org.xmlpull.v1.XmlPullParser reader)
throws Exception
- Throws:
Exception
parseReferral
public Referral parseReferral(org.xmlpull.v1.XmlPullParser reader)
throws Exception
- Throws:
Exception
parseResource
public ResourceImpl parseResource(org.xmlpull.v1.XmlPullParser reader)
throws Exception
- Throws:
Exception
parseCategory
public String parseCategory(org.xmlpull.v1.XmlPullParser reader)
throws IOException,
org.xmlpull.v1.XmlPullParserException
- Throws:
IOException
org.xmlpull.v1.XmlPullParserException
parseCapability
public CapabilityImpl parseCapability(org.xmlpull.v1.XmlPullParser reader)
throws Exception
- Throws:
Exception
parseProperty
public PropertyImpl parseProperty(org.xmlpull.v1.XmlPullParser reader)
throws Exception
- Throws:
Exception
parseRequire
public RequirementImpl parseRequire(org.xmlpull.v1.XmlPullParser reader)
throws Exception
- Throws:
Exception
ignoreTag
public void ignoreTag(org.xmlpull.v1.XmlPullParser reader)
throws IOException,
org.xmlpull.v1.XmlPullParserException
- Throws:
IOException
org.xmlpull.v1.XmlPullParserException
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.