com.liferay.faces.util.application
Class ResourceValidatorWrapper

java.lang.Object
  extended by com.liferay.faces.util.application.ResourceValidatorWrapper
All Implemented Interfaces:
ResourceValidator, javax.faces.FacesWrapper<ResourceValidator>

public abstract class ResourceValidatorWrapper
extends Object
implements ResourceValidator, javax.faces.FacesWrapper<ResourceValidator>

Author:
Neil Griffin

Constructor Summary
ResourceValidatorWrapper()
           
 
Method Summary
 boolean containsBannedPath(String resourceId)
           
abstract  ResourceValidator getWrapped()
           
 boolean isBannedSequence(String resourceId)
           
 boolean isFaceletDocument(javax.faces.context.FacesContext facesContext, String resourceId)
           
 boolean isSelfReferencing(javax.faces.context.FacesContext facesContext, String resourceId)
           
 boolean isValidLibraryName(String libraryName)
           
 boolean isValidResourceName(String resourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceValidatorWrapper

public ResourceValidatorWrapper()
Method Detail

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

isFaceletDocument

public boolean isFaceletDocument(javax.faces.context.FacesContext facesContext,
                                 String resourceId)
Specified by:
isFaceletDocument in interface ResourceValidator

getWrapped

public abstract ResourceValidator getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<ResourceValidator>


Copyright © 2015 Liferay, Inc.. All rights reserved.