nbi.xmlsec.xacml.builder
Class FunctionBuilder

java.lang.Object
  extended bynbi.xmlsec.xacml.builder.FunctionBuilder

public class FunctionBuilder
extends Object

Creates a Functioninstance.

Since:
Version:
$Revision: 1.2 $
Author:
Lutz Suhrbier

Field Summary
static String FUNCTION_NAMESPACE
           
 
Constructor Summary
FunctionBuilder()
           
 
Method Summary
static Function getInstance(String function, boolean namespace)
          Returns the Functioninstance.
static boolean isBagFunction(Function function)
           
static boolean isBagFunction(String function, boolean namespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FUNCTION_NAMESPACE

public static final String FUNCTION_NAMESPACE
See Also:
Constant Field Values
Constructor Detail

FunctionBuilder

public FunctionBuilder()
Method Detail

getInstance

public static Function getInstance(String function,
                                   boolean namespace)
                            throws UnknownIdentifierException,
                                   FunctionTypeException
Returns the Functioninstance.

Parameters:
function - SyntaxScheme expression to parse.
namespace - Indicates, if function has a namespace, otherwise FunctionBase.FUNCTION_NSis prepended.
Returns:
the Functioninstance. or null.
Throws:
FunctionTypeException
UnknownIdentifierException

isBagFunction

public static boolean isBagFunction(String function,
                                    boolean namespace)

isBagFunction

public static boolean isBagFunction(Function function)


Copyright © 2006 Lutz Suhrbier, Freie Universität Berlin. All Rights Reserved.