org.apache.felix.bundlerepository.impl
Class RepositoryParser

java.lang.Object
  extended by org.apache.felix.bundlerepository.impl.RepositoryParser
Direct Known Subclasses:
PullParser, StaxParser

public abstract class RepositoryParser
extends Object


Field Summary
static String CAPABILITY
           
static String CATEGORY
           
static String DEPTH
           
static String EXTEND
           
static String FILTER
           
static String ID
           
static String LASTMODIFIED
           
static String MULTIPLE
           
static String N
           
static String NAME
           
static String OBR_PARSER_CLASS
           
static String OPTIONAL
           
static String P
           
static String REFERRAL
           
static String REPOSITORY
           
static String REQUIRE
           
static String RESOURCE
           
static String T
           
static String URL
           
static String V
           
 
Constructor Summary
RepositoryParser()
           
 
Method Summary
static RepositoryParser getParser()
           
abstract  CapabilityImpl parseCapability(Reader reader)
           
abstract  PropertyImpl parseProperty(Reader reader)
           
abstract  RepositoryImpl parseRepository(InputStream is)
           
abstract  RepositoryImpl parseRepository(Reader r)
           
abstract  RequirementImpl parseRequirement(Reader reader)
           
abstract  ResourceImpl parseResource(Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REPOSITORY

public static final String REPOSITORY
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

LASTMODIFIED

public static final String LASTMODIFIED
See Also:
Constant Field Values

REFERRAL

public static final String REFERRAL
See Also:
Constant Field Values

RESOURCE

public static final String RESOURCE
See Also:
Constant Field Values

DEPTH

public static final String DEPTH
See Also:
Constant Field Values

URL

public static final String URL
See Also:
Constant Field Values

CATEGORY

public static final String CATEGORY
See Also:
Constant Field Values

ID

public static final String ID
See Also:
Constant Field Values

CAPABILITY

public static final String CAPABILITY
See Also:
Constant Field Values

REQUIRE

public static final String REQUIRE
See Also:
Constant Field Values

P

public static final String P
See Also:
Constant Field Values

N

public static final String N
See Also:
Constant Field Values

T

public static final String T
See Also:
Constant Field Values

V

public static final String V
See Also:
Constant Field Values

FILTER

public static final String FILTER
See Also:
Constant Field Values

EXTEND

public static final String EXTEND
See Also:
Constant Field Values

MULTIPLE

public static final String MULTIPLE
See Also:
Constant Field Values

OPTIONAL

public static final String OPTIONAL
See Also:
Constant Field Values

OBR_PARSER_CLASS

public static final String OBR_PARSER_CLASS
See Also:
Constant Field Values
Constructor Detail

RepositoryParser

public RepositoryParser()
Method Detail

getParser

public static RepositoryParser getParser()

parseRepository

public abstract RepositoryImpl parseRepository(InputStream is)
                                        throws Exception
Throws:
Exception

parseRepository

public abstract RepositoryImpl parseRepository(Reader r)
                                        throws Exception
Throws:
Exception

parseResource

public abstract ResourceImpl parseResource(Reader reader)
                                    throws Exception
Throws:
Exception

parseCapability

public abstract CapabilityImpl parseCapability(Reader reader)
                                        throws Exception
Throws:
Exception

parseProperty

public abstract PropertyImpl parseProperty(Reader reader)
                                    throws Exception
Throws:
Exception

parseRequirement

public abstract RequirementImpl parseRequirement(Reader reader)
                                          throws Exception
Throws:
Exception


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.