Package org.opensaml.xml.parse

Examples of org.opensaml.xml.parse.BasicParserPool


     * @throws XMLObjectParserException if the XML parsing fails.
     */
    private static Document readDocument(Reader reader) {
        Document doc;
        try {
            BasicParserPool ppMgr = new BasicParserPool();
            ppMgr.setNamespaceAware(true);
            doc = ppMgr.parse(reader);
        } catch (XMLParserException e) {
            throw new XMLObjectException(e);
        }

        return doc;
View Full Code Here


   
    /** Constructor. */
    public BaseTestCase(){
        super();
       
        parser = new BasicParserPool();
        parser.setNamespaceAware(true);
        builderFactory = Configuration.getBuilderFactory();
        marshallerFactory = Configuration.getMarshallerFactory();
        unmarshallerFactory = Configuration.getUnmarshallerFactory();
    }
View Full Code Here

    /**
     * @return parserPool or create a default one if none was provided
     */
    public synchronized static ParserPool getPool() {
        if (pool == null) {
            setPool(new BasicParserPool());
        }
        return pool;
    }
View Full Code Here

    private final IdentifierGenerator identifierGenerator;

    public Saml11TicketValidator(final String casServerUrlPrefix) {
        super(casServerUrlPrefix);
        this.basicParserPool = new BasicParserPool();
        this.basicParserPool.setNamespaceAware(true);

        try {
            this.identifierGenerator = new SecureRandomIdentifierGenerator();
        } catch (final Exception e) {
View Full Code Here

TOP

Related Classes of org.opensaml.xml.parse.BasicParserPool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.