public final class PermissionsXmlParser extends Object
permissions.xml files.| Constructor | Description |
|---|---|
PermissionsXmlParser() |
| Modifier and Type | Method | Description |
|---|---|---|
static FactoryPermissionCollection |
parsePermissionsXml(InputStream inputStream,
ModuleLoader moduleLoader,
String moduleName) |
Parse the
permissions.xml stream content. |
static FactoryPermissionCollection |
parsePermissionsXml(XmlPullParser reader,
ModuleLoader moduleLoader,
String moduleName) |
Parse the
permissions.xml content. |
public static FactoryPermissionCollection parsePermissionsXml(InputStream inputStream, ModuleLoader moduleLoader, String moduleName) throws XmlPullParserException, IOException
permissions.xml stream content.inputStream - the input streammoduleLoader - the module loader to load frommoduleName - the module name to load fromnull)IOException - if the input stream throws an exceptionXmlPullParserException - if the XML parser throws an exceptionpublic static FactoryPermissionCollection parsePermissionsXml(XmlPullParser reader, ModuleLoader moduleLoader, String moduleName) throws IOException, XmlPullParserException
permissions.xml content.reader - the parsermoduleLoader - the module loader to load frommoduleName - the module name to load fromnull)IOException - if the input stream throws an exceptionXmlPullParserException - if the XML parser throws an exceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.