Package com.thoughtworks.xstream.security

Examples of com.thoughtworks.xstream.security.RegExpTypePermission


     *
     * @param regexps the regular expressions to allow type names
     * @since 1.4.7
     */
    public void allowTypesByRegExp(final String... regexps) {
        addPermission(new RegExpTypePermission(regexps));
    }
View Full Code Here


     *
     * @param regexps the regular expressions to allow type names
     * @since 1.4.7
     */
    public void allowTypesByRegExp(final Pattern... regexps) {
        addPermission(new RegExpTypePermission(regexps));
    }
View Full Code Here

     *
     * @param regexps the regular expressions to forbid type names
     * @since 1.4.7
     */
    public void denyTypesByRegExp(final String... regexps) {
        denyPermission(new RegExpTypePermission(regexps));
    }
View Full Code Here

     *
     * @param regexps the regular expressions to forbid type names
     * @since 1.4.7
     */
    public void denyTypesByRegExp(final Pattern... regexps) {
        denyPermission(new RegExpTypePermission(regexps));
    }
View Full Code Here

TOP

Related Classes of com.thoughtworks.xstream.security.RegExpTypePermission

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.