PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.parsers
Class ParserController

java.lang.Object
  extended by org.picketlink.identity.federation.core.parsers.ParserController

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

Since:
Oct 14, 2010
Author:
Anil.Saldhana@redhat.com

Constructor Summary
ParserController()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserController

public ParserController()
Method Detail

add

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"

Parameters:
parser -

get

public static ParserNamespaceSupport get(QName qname)
Get an ParserNamespaceSupport that supports parsing the qname

Parameters:
qname -
Returns:
A supporting parser or null

clearAll

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"


PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.