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