org.apache.james.jspf.core
Class SPF1Record

java.lang.Object
  extended by org.apache.james.jspf.core.SPF1Record

public class SPF1Record
extends java.lang.Object

The Class represent the SPF1 Record and provide methods to get all directives and modifiers.


Constructor Summary
SPF1Record()
           
SPF1Record(java.lang.String record)
           
 
Method Summary
 java.util.List<Directive> getDirectives()
          Return the directives as Collection
 java.util.List<Modifier> getModifiers()
          Return the modifiers as Collection
 java.lang.String getRecord()
           
 java.util.Iterator<SPFChecker> iterator()
          Return a single iterator over Directives and Modifiers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPF1Record

public SPF1Record()

SPF1Record

public SPF1Record(java.lang.String record)
Method Detail

getDirectives

public java.util.List<Directive> getDirectives()
Return the directives as Collection

Returns:
directives Collection of all qualifier+mechanism which should be used

getModifiers

public java.util.List<Modifier> getModifiers()
Return the modifiers as Collection

Returns:
modifiers Collection of all modifiers which should be used

getRecord

public java.lang.String getRecord()
Returns:
the record in its string source format

iterator

public java.util.Iterator<SPFChecker> iterator()
Return a single iterator over Directives and Modifiers

Returns:
a chained iterator of the terms


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