Uses of Interface
org.owasp.esapi.Encoder

Packages that use Encoder
org.owasp.esapi The ESAPI interfaces and Exception classes model the most important security functions to enterprise web applications. 
org.owasp.esapi.reference This package contains reference implementations of the ESAPI interfaces. 
org.owasp.esapi.reference.validation This package contains data format-specific validation rule functions. 
org.owasp.esapi.tags This package contains sample JSP tags that demonstrate how to use the ESAPI functions to protect an application from within a JSP page. 
 

Uses of Encoder in org.owasp.esapi
 

Methods in org.owasp.esapi that return Encoder
static Encoder ESAPI.encoder()
           
 

Methods in org.owasp.esapi with parameters of type Encoder
 void ValidationRule.setEncoder(Encoder encoder)
           
 

Uses of Encoder in org.owasp.esapi.reference
 

Classes in org.owasp.esapi.reference that implement Encoder
 class DefaultEncoder
          Reference implementation of the Encoder interface.
 

Methods in org.owasp.esapi.reference that return Encoder
static Encoder DefaultEncoder.getInstance()
           
 

Constructors in org.owasp.esapi.reference with parameters of type Encoder
DefaultValidator(Encoder encoder)
          Construct a new DefaultValidator that will use the specified Encoder for canonicalization.
 

Uses of Encoder in org.owasp.esapi.reference.validation
 

Fields in org.owasp.esapi.reference.validation declared as Encoder
protected  Encoder BaseValidationRule.encoder
           
 

Methods in org.owasp.esapi.reference.validation that return Encoder
 Encoder BaseValidationRule.getEncoder()
           
 

Methods in org.owasp.esapi.reference.validation with parameters of type Encoder
 void BaseValidationRule.setEncoder(Encoder encoder)
          
 

Constructors in org.owasp.esapi.reference.validation with parameters of type Encoder
BaseValidationRule(java.lang.String typeName, Encoder encoder)
           
CreditCardValidationRule(java.lang.String typeName, Encoder encoder)
          Creates a CreditCardValidator using the rule found in security configuration
CreditCardValidationRule(java.lang.String typeName, Encoder encoder, StringValidationRule validationRule)
           
DateValidationRule(java.lang.String typeName, Encoder encoder, java.text.DateFormat newFormat)
           
HTMLValidationRule(java.lang.String typeName, Encoder encoder)
           
HTMLValidationRule(java.lang.String typeName, Encoder encoder, java.lang.String whitelistPattern)
           
IntegerValidationRule(java.lang.String typeName, Encoder encoder)
           
IntegerValidationRule(java.lang.String typeName, Encoder encoder, int minValue, int maxValue)
           
NumberValidationRule(java.lang.String typeName, Encoder encoder)
           
NumberValidationRule(java.lang.String typeName, Encoder encoder, double minValue, double maxValue)
           
StringValidationRule(java.lang.String typeName, Encoder encoder)
           
StringValidationRule(java.lang.String typeName, Encoder encoder, java.lang.String whitelistPattern)
           
 

Uses of Encoder in org.owasp.esapi.tags
 

Methods in org.owasp.esapi.tags with parameters of type Encoder
protected  java.lang.String EncodeForXPathTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in XPath.
protected  java.lang.String EncodeForXMLTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in XML.
protected  java.lang.String EncodeForXMLAttributeTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage as a XML attribute.
protected  java.lang.String EncodeForVBScriptTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in VBScript.
protected  java.lang.String EncodeForURLTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in a URL.
protected  java.lang.String EncodeForJavaScriptTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in JavaScript
protected  java.lang.String EncodeForHTMLTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in HTML.
protected  java.lang.String EncodeForHTMLAttributeTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage as a HTML attribute.
protected  java.lang.String EncodeForCSSTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content for usage in CSS.
protected  java.lang.String EncodeForBase64Tag.encode(java.lang.String content, Encoder enc)
          Encode tag's content using Base64.
protected abstract  java.lang.String BaseEncodeTag.encode(java.lang.String content, Encoder enc)
          Encode tag's content.
 



Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.