org.apache.james.jspf.core
Class SPF1Record

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

public class SPF1Record
extends Object

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


Constructor Summary
SPF1Record()
           
SPF1Record(String record)
           
 
Method Summary
 List<Directive> getDirectives()
          Return the directives as Collection
 List<Modifier> getModifiers()
          Return the modifiers as Collection
 String getRecord()
           
 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(String record)
Method Detail

getDirectives

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

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

getModifiers

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

Returns:
modifiers Collection of all modifiers which should be used

getRecord

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

iterator

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

Returns:
a chained iterator of the terms


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