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
-
-
Field Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description PullParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryImplparse(org.xmlpull.v1.XmlPullParser reader)CapabilityImplparseCapability(java.io.Reader r)CapabilityImplparseCapability(org.xmlpull.v1.XmlPullParser reader)java.lang.StringparseCategory(org.xmlpull.v1.XmlPullParser reader)PropertyImplparseProperty(java.io.Reader r)PropertyImplparseProperty(org.xmlpull.v1.XmlPullParser reader)ReferralparseReferral(org.xmlpull.v1.XmlPullParser reader)RepositoryImplparseRepository(java.io.InputStream is, java.lang.String repositoryURI)RepositoryImplparseRepository(java.io.Reader r)RequirementImplparseRequire(org.xmlpull.v1.XmlPullParser reader)RequirementImplparseRequirement(java.io.Reader r)ResourceImplparseResource(java.io.Reader r)ResourceImplparseResource(org.xmlpull.v1.XmlPullParser reader)-
Methods inherited from class org.apache.felix.bundlerepository.impl.RepositoryParser
getParser
-
-
-
-
Method Detail
-
parseRepository
public RepositoryImpl parseRepository(java.io.InputStream is, java.lang.String repositoryURI) throws java.lang.Exception
- Specified by:
parseRepositoryin classRepositoryParser- Throws:
java.lang.Exception
-
parseRepository
public RepositoryImpl parseRepository(java.io.Reader r) throws java.lang.Exception
- Specified by:
parseRepositoryin classRepositoryParser- Throws:
java.lang.Exception
-
parseResource
public ResourceImpl parseResource(java.io.Reader r) throws java.lang.Exception
- Specified by:
parseResourcein classRepositoryParser- Throws:
java.lang.Exception
-
parseCapability
public CapabilityImpl parseCapability(java.io.Reader r) throws java.lang.Exception
- Specified by:
parseCapabilityin classRepositoryParser- Throws:
java.lang.Exception
-
parseProperty
public PropertyImpl parseProperty(java.io.Reader r) throws java.lang.Exception
- Specified by:
parsePropertyin classRepositoryParser- Throws:
java.lang.Exception
-
parseRequirement
public RequirementImpl parseRequirement(java.io.Reader r) throws java.lang.Exception
- Specified by:
parseRequirementin classRepositoryParser- Throws:
java.lang.Exception
-
parse
public RepositoryImpl parse(org.xmlpull.v1.XmlPullParser reader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseReferral
public Referral parseReferral(org.xmlpull.v1.XmlPullParser reader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseResource
public ResourceImpl parseResource(org.xmlpull.v1.XmlPullParser reader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseCategory
public java.lang.String parseCategory(org.xmlpull.v1.XmlPullParser reader) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException- Throws:
java.io.IOExceptionorg.xmlpull.v1.XmlPullParserException
-
parseCapability
public CapabilityImpl parseCapability(org.xmlpull.v1.XmlPullParser reader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseProperty
public PropertyImpl parseProperty(org.xmlpull.v1.XmlPullParser reader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseRequire
public RequirementImpl parseRequire(org.xmlpull.v1.XmlPullParser reader) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-