org.apache.james.jspf.terms
Class UnknownModifier

java.lang.Object
  extended by org.apache.james.jspf.terms.UnknownModifier
All Implemented Interfaces:
SPFChecker, ConfigurationEnabled, Modifier

public class UnknownModifier
extends java.lang.Object
implements Modifier, ConfigurationEnabled

This Class represent an Unknown Modifier


Field Summary
static java.lang.String REGEX
          ABNF: name = ALPHA *( ALPHA / DIGIT / "-" / "_" / "." ) ABNF: unknown-modifier = name "=" macro-string
 
Constructor Summary
UnknownModifier()
           
 
Method Summary
 DNSLookupContinuation checkSPF(SPFSession spfData)
          Run check for SPF with the given values.
 void config(Configuration params)
          Configuration
 boolean enforceSingleInstance()
          Return true if the Modifier is only allowed once
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGEX

public static final java.lang.String REGEX
ABNF: name = ALPHA *( ALPHA / DIGIT / "-" / "_" / "." ) ABNF: unknown-modifier = name "=" macro-string

See Also:
Constant Field Values
Constructor Detail

UnknownModifier

public UnknownModifier()
Method Detail

checkSPF

public DNSLookupContinuation checkSPF(SPFSession spfData)
                               throws PermErrorException
Description copied from interface: SPFChecker
Run check for SPF with the given values.

Specified by:
checkSPF in interface SPFChecker
Parameters:
spfData - The SPF1Data which should be used to run the check
Throws:
PermErrorException - Get thrown if an error was detected
See Also:
SPFChecker.checkSPF(org.apache.james.jspf.core.SPFSession)

enforceSingleInstance

public boolean enforceSingleInstance()
Description copied from interface: Modifier
Return true if the Modifier is only allowed once

Specified by:
enforceSingleInstance in interface Modifier
Returns:
true if only one instance of this modifier is allowed
See Also:
Modifier.enforceSingleInstance()

config

public void config(Configuration params)
            throws PermErrorException
Description copied from interface: ConfigurationEnabled
Configuration

Specified by:
config in interface ConfigurationEnabled
Parameters:
params - the ConfigurationMatch which should used
Throws:
PermErrorException - get thrown if a PermError should returned
See Also:
ConfigurationEnabled.config(org.apache.james.jspf.terms.Configuration)


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.