public abstract class AccessControlParser
extends java.lang.Object
Creates an AccessControl instance by parsing a set of name/value parameters.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ParameterAccess |
| Constructor and Description |
|---|
AccessControlParser() |
| Modifier and Type | Method and Description |
|---|---|
abstract AccessControl |
createAccessControl(org.springframework.extensions.config.ConfigElement params)
Create an AccessControl instance by parsing the set of name/value parameters
|
abstract java.lang.String |
getType()
Return the access control type name that uniquely identifies this type of access control.
|
protected int |
parseAccessType(org.springframework.extensions.config.ConfigElement params)
Find the access parameter and parse the value
|
static int |
parseAccessTypeString(java.lang.String accessType)
Parse the access level type and validate
|
java.lang.String |
toString()
Return the parser details as a string
|
public static final java.lang.String ParameterAccess
public abstract java.lang.String getType()
public abstract AccessControl createAccessControl(org.springframework.extensions.config.ConfigElement params) throws ACLParseException
params - ConfigElementACLParseExceptionprotected final int parseAccessType(org.springframework.extensions.config.ConfigElement params)
throws ACLParseException
params - ConfigElementACLParseExceptionpublic static final int parseAccessTypeString(java.lang.String accessType)
throws ACLParseException
accessType - StringACLParseExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.