com.liferay.faces.util.application.internal
Class ResourceValidatorImpl
java.lang.Object
com.liferay.faces.util.application.internal.ResourceValidatorImpl
- All Implemented Interfaces:
- ResourceValidator
public class ResourceValidatorImpl
- extends Object
- implements ResourceValidator
- Author:
- Neil Griffin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_FACELETS_SUFFIX
protected static final String DEFAULT_FACELETS_SUFFIX
- See Also:
- Constant Field Values
FACELETS_SUFFIX_PARAM_NAME
protected static final String FACELETS_SUFFIX_PARAM_NAME
- See Also:
- Constant Field Values
VIEW_MAPPINGS_PARAM_NAMES
protected static final String[] VIEW_MAPPINGS_PARAM_NAMES
ResourceValidatorImpl
public ResourceValidatorImpl(List<Pattern> excludeResourcePatterns,
List<Pattern> excludeLibraryPatterns)
containsBannedPath
public boolean containsBannedPath(String resourceId)
- Specified by:
containsBannedPath in interface ResourceValidator
isBannedSequence
public boolean isBannedSequence(String resourceId)
- Specified by:
isBannedSequence in interface ResourceValidator
isValidLibraryName
public boolean isValidLibraryName(String libraryName)
- Specified by:
isValidLibraryName in interface ResourceValidator
isValidResourceName
public boolean isValidResourceName(String resourceName)
- Specified by:
isValidResourceName in interface ResourceValidator
isSelfReferencing
public boolean isSelfReferencing(javax.faces.context.FacesContext facesContext,
String resourceId)
- Specified by:
isSelfReferencing in interface ResourceValidator
isFaceletsVDL
protected boolean isFaceletsVDL(String viewId)
isFaceletDocument
public boolean isFaceletDocument(javax.faces.context.FacesContext facesContext,
String resourceId)
- Specified by:
isFaceletDocument in interface ResourceValidator
Copyright © 2015 Liferay, Inc.. All rights reserved.