org.wso2.balana
Class TargetFactory
java.lang.Object
org.wso2.balana.TargetFactory
public class TargetFactory
- extends Object
Factory that creates the AbstractTarget
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetFactory
public TargetFactory()
getTarget
public AbstractTarget getTarget(Node node,
PolicyMetaData metaData)
throws ParsingException
- Returns AbstractTarget based one the XACML version
- Parameters:
node
- DOM nodemetaData
- 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.