public class ParserController extends Object
A Controller that can act as the front door for parsing or when you need to locate a parser that is capable of parsing a
QName
Constructor and Description |
---|
ParserController() |
Modifier and Type | Method and Description |
---|---|
static void |
add(ParserNamespaceSupport parser)
Add an
ParserNamespaceSupport parser |
static void |
clearAll()
Clear the registered parsers.
|
static ParserNamespaceSupport |
get(QName qname)
Get an
ParserNamespaceSupport that supports parsing the qname |
public static void add(ParserNamespaceSupport parser)
Add an ParserNamespaceSupport
parser
Under a Java security manager, the following run time permission is required. "org.picketlink.parser.permission"
parser
- public static ParserNamespaceSupport get(QName qname)
ParserNamespaceSupport
that supports parsing the qnameqname
- public static void clearAll()
Clear the registered parsers. Note: You really need to have a reason to perform this operation. Once you have
cleared the parsers, you have the opportunity to register new parsers with #add(ParserNamespaceSupport)
call.
Under a Java security manager, the following run time permission is required. "org.picketlink.parser.permission"
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.