Package com.sun.xacml

Examples of com.sun.xacml.ParsingException


            return Apply.getInstance(root, metaData, manager);
        } else if (name.equals("AttributeValue")) {
            try {
                return AttributeFactory.getInstance().createValue(root);
            } catch (UnknownIdentifierException uie) {
                throw new ParsingException("Unknown DataType", uie);
            }
        } else if (name.equals("SubjectAttributeDesignator")) {
            return AttributeDesignator.getInstance(root, AttributeDesignator.SUBJECT_TARGET,
                    metaData);
        } else if (name.equals("ResourceAttributeDesignator")) {
View Full Code Here


        try {
            // try to get an instance of the given function
            return factory.createFunction(functionName);
        } catch (UnknownIdentifierException uie) {
            throw new ParsingException("Unknown FunctionId", uie);
        } catch (FunctionTypeException fte) {
            // try creating as an abstract function
            try {
                FunctionFactory ff = FunctionFactory.getGeneralInstance();
                return ff.createAbstractFunction(functionName, root, metaData.getXPathIdentifier());
            } catch (Exception e) {
                // any exception at this point is a failure
                throw new ParsingException("failed to create abstract function" + " "
                        + functionName, e);
            }
        }
    }
View Full Code Here

        if (proxy != null) {
            try {
                return proxy.getInstance(root);
            } catch (Exception e) {
                throw new ParsingException("couldn't create " + type
                        + " attribute based on DOM node");
            }
        } else {
            throw new UnknownIdentifierException("Attributes of type " + type
                    + " aren't supported.");
View Full Code Here

        if (proxy != null) {
            try {
                return proxy.getInstance(value);
            } catch (Exception e) {
                throw new ParsingException("couldn't create " + type + " attribute from input: "
                        + value);
            }
        } else {
            throw new UnknownIdentifierException("Attributes of type " + type
                    + " aren't supported.");
View Full Code Here

TOP

Related Classes of com.sun.xacml.ParsingException

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.