org.wso2.balana
Class TargetFactory

java.lang.Object
  extended by org.wso2.balana.TargetFactory

public class TargetFactory
extends Object

Factory that creates the AbstractTarget


Constructor Summary
TargetFactory()
           
 
Method Summary
static TargetFactory getFactory()
          Returns an instance of this factory.
 AbstractTarget getTarget(Node node, PolicyMetaData metaData)
          Returns AbstractTarget based one the XACML version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetFactory

public TargetFactory()
Method Detail

getTarget

public AbstractTarget getTarget(Node node,
                                PolicyMetaData metaData)
                         throws ParsingException
Returns AbstractTarget based one the XACML version

Parameters:
node - DOM node
metaData - policy meta data
Returns:
AbstractTarget
Throws:
ParsingException

getFactory

public static TargetFactory getFactory()
Returns an instance of this factory. This method enforces a singleton model, meaning that this always returns the same instance, creating the factory if it hasn't been requested before.

Returns:
the factory instance


Copyright © 2015 WSO2. All rights reserved.