public class StaxParser extends RepositoryParser
CAPABILITY, CATEGORY, DEPTH, EXTEND, FILTER, ID, LASTMODIFIED, MULTIPLE, N, NAME, OBR_PARSER_CLASS, OPTIONAL, P, REFERRAL, REPOSITORY, REQUIRE, RESOURCE, T, URL, V
Constructor | Description |
---|---|
StaxParser() |
Modifier and Type | Method | Description |
---|---|---|
static javax.xml.stream.XMLInputFactory |
getFactory() |
|
CapabilityImpl |
parseCapability(Reader r) |
|
PropertyImpl |
parseProperty(Reader r) |
|
RepositoryImpl |
parseRepository(InputStream is,
String repositoryURI) |
|
RepositoryImpl |
parseRepository(Reader r) |
|
RepositoryImpl |
parseRepository(javax.xml.stream.XMLStreamReader reader) |
|
RequirementImpl |
parseRequirement(Reader r) |
|
ResourceImpl |
parseResource(Reader r) |
|
static void |
setFactory(javax.xml.stream.XMLInputFactory factory) |
|
protected static boolean |
setProperty(javax.xml.stream.XMLInputFactory factory,
String name,
boolean value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParser
public static void setFactory(javax.xml.stream.XMLInputFactory factory)
public static javax.xml.stream.XMLInputFactory getFactory()
protected static boolean setProperty(javax.xml.stream.XMLInputFactory factory, String name, boolean value)
public RepositoryImpl parseRepository(InputStream is, String repositoryURI) throws Exception
parseRepository
in class RepositoryParser
Exception
public RepositoryImpl parseRepository(Reader r) throws Exception
parseRepository
in class RepositoryParser
Exception
public ResourceImpl parseResource(Reader r) throws Exception
parseResource
in class RepositoryParser
Exception
public CapabilityImpl parseCapability(Reader r) throws Exception
parseCapability
in class RepositoryParser
Exception
public PropertyImpl parseProperty(Reader r) throws Exception
parseProperty
in class RepositoryParser
Exception
public RequirementImpl parseRequirement(Reader r) throws Exception
parseRequirement
in class RepositoryParser
Exception
public RepositoryImpl parseRepository(javax.xml.stream.XMLStreamReader reader) throws Exception
Exception
Copyright © 2018. All rights reserved.