public static PolicyCollection policiesFromSource(
            final YamlSource source,
            final Set<Attribute> forcedContext,
            final ValidationSet validation
    )
            throws IOException
    {

        return factory.policiesFromSource(source, forcedContext, validation);
    }
public static PolicyCollection policiesFromSource ( final YamlSource source , final Set < Attribute > forcedContext , final ValidationSet validation ) throws IOException { return factory . policiesFromSource ( source , forcedContext , validation ) ; }
Load policies from a source

@param source        source
@param forcedContext Context to require for all policies parsed

@return policies

@throws IOException