public class WildcardTypePermission extends RegExpTypePermission
Supported are patterns with path expressions using dot as separator:
The complete range of UTF-8 characters is supported except control characters.
Note: The wildcard pattern will not match by default anonymous types, since these classes are rarely used for serialization.
Constructor and Description |
---|
WildcardTypePermission(boolean allowAnonymous,
java.lang.String[] patterns)
Create a WildcardTypePermission.
|
WildcardTypePermission(java.lang.String[] patterns)
Create a WildcardTypePermission.
|
allows
public WildcardTypePermission(java.lang.String[] patterns)
The wildcard pattern will not match anonymous types.
patterns
- Array of wildcard patterns for typespublic WildcardTypePermission(boolean allowAnonymous, java.lang.String[] patterns)
allowAnonymous
- Flag to match also anonymous types with the wildcardpatterns
- Array of wildcard patterns for typesCopyright © 2004–2024 XStream. All rights reserved.