org.apache.felix.bundlerepository.impl
Class StaxParser

java.lang.Object
  extended by org.apache.felix.bundlerepository.impl.RepositoryParser
      extended by org.apache.felix.bundlerepository.impl.StaxParser

public class StaxParser
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
StaxParser()
           
 
Method Summary
static javax.xml.stream.XMLInputFactory getFactory()
           
 CapabilityImpl parseCapability(java.io.Reader r)
           
 PropertyImpl parseProperty(java.io.Reader r)
           
 RepositoryImpl parseRepository(java.io.InputStream is)
           
 RepositoryImpl parseRepository(java.io.Reader r)
           
 RepositoryImpl parseRepository(javax.xml.stream.XMLStreamReader reader)
           
 RequirementImpl parseRequirement(java.io.Reader r)
           
 ResourceImpl parseResource(java.io.Reader r)
           
static void setFactory(javax.xml.stream.XMLInputFactory factory)
           
protected static boolean setProperty(javax.xml.stream.XMLInputFactory factory, java.lang.String name, boolean value)
           
 
Methods inherited from class org.apache.felix.bundlerepository.impl.RepositoryParser
getParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaxParser

public StaxParser()
Method Detail

setFactory

public static void setFactory(javax.xml.stream.XMLInputFactory factory)

getFactory

public static javax.xml.stream.XMLInputFactory getFactory()

setProperty

protected static boolean setProperty(javax.xml.stream.XMLInputFactory factory,
                                     java.lang.String name,
                                     boolean value)

parseRepository

public RepositoryImpl parseRepository(java.io.InputStream is)
                               throws java.lang.Exception
Specified by:
parseRepository in class RepositoryParser
Throws:
java.lang.Exception

parseRepository

public RepositoryImpl parseRepository(java.io.Reader r)
                               throws java.lang.Exception
Specified by:
parseRepository in class RepositoryParser
Throws:
java.lang.Exception

parseResource

public ResourceImpl parseResource(java.io.Reader r)
                           throws java.lang.Exception
Specified by:
parseResource in class RepositoryParser
Throws:
java.lang.Exception

parseCapability

public CapabilityImpl parseCapability(java.io.Reader r)
                               throws java.lang.Exception
Specified by:
parseCapability in class RepositoryParser
Throws:
java.lang.Exception

parseProperty

public PropertyImpl parseProperty(java.io.Reader r)
                           throws java.lang.Exception
Specified by:
parseProperty in class RepositoryParser
Throws:
java.lang.Exception

parseRequirement

public RequirementImpl parseRequirement(java.io.Reader r)
                                 throws java.lang.Exception
Specified by:
parseRequirement in class RepositoryParser
Throws:
java.lang.Exception

parseRepository

public RepositoryImpl parseRepository(javax.xml.stream.XMLStreamReader reader)
                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.