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 and Description |
|---|
StaxParser() |
| Modifier and Type | Method and Description |
|---|---|
static javax.xml.stream.XMLInputFactory |
getFactory() |
CapabilityImpl |
parseCapability(java.io.Reader r) |
PropertyImpl |
parseProperty(java.io.Reader r) |
RepositoryImpl |
parseRepository(java.io.InputStream is,
java.lang.String repositoryURI) |
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) |
getParserpublic static void setFactory(javax.xml.stream.XMLInputFactory factory)
public static javax.xml.stream.XMLInputFactory getFactory()
protected static boolean setProperty(javax.xml.stream.XMLInputFactory factory,
java.lang.String name,
boolean value)
public RepositoryImpl parseRepository(java.io.InputStream is, java.lang.String repositoryURI) throws java.lang.Exception
parseRepository in class RepositoryParserjava.lang.Exceptionpublic RepositoryImpl parseRepository(java.io.Reader r) throws java.lang.Exception
parseRepository in class RepositoryParserjava.lang.Exceptionpublic ResourceImpl parseResource(java.io.Reader r) throws java.lang.Exception
parseResource in class RepositoryParserjava.lang.Exceptionpublic CapabilityImpl parseCapability(java.io.Reader r) throws java.lang.Exception
parseCapability in class RepositoryParserjava.lang.Exceptionpublic PropertyImpl parseProperty(java.io.Reader r) throws java.lang.Exception
parseProperty in class RepositoryParserjava.lang.Exceptionpublic RequirementImpl parseRequirement(java.io.Reader r) throws java.lang.Exception
parseRequirement in class RepositoryParserjava.lang.Exceptionpublic RepositoryImpl parseRepository(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception
java.lang.ExceptionCopyright © 2006-2017 The Apache Software Foundation. All Rights Reserved.