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, waitgetParserpublic 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 RepositoryParserExceptionpublic RepositoryImpl parseRepository(Reader r) throws Exception
parseRepository in class RepositoryParserExceptionpublic ResourceImpl parseResource(Reader r) throws Exception
parseResource in class RepositoryParserExceptionpublic CapabilityImpl parseCapability(Reader r) throws Exception
parseCapability in class RepositoryParserExceptionpublic PropertyImpl parseProperty(Reader r) throws Exception
parseProperty in class RepositoryParserExceptionpublic RequirementImpl parseRequirement(Reader r) throws Exception
parseRequirement in class RepositoryParserExceptionpublic RepositoryImpl parseRepository(javax.xml.stream.XMLStreamReader reader) throws Exception
ExceptionCopyright © 2018. All rights reserved.