nl.flotsam.pecia
Interface Author<T>

Type Parameters:
T - The type of the document element holding the author metadata.

public interface Author<T>

The interface for producing the metadata of an author.

Author:
Wilfred Springer

Method Summary
 Author<T> email(String email)
          Passes the email address of the author.
 T end()
          Returns focus to the parent document element.
 Author<T> firstname(String firstname)
          Passes the first name of the author.
 Author<T> surname(String surname)
          Passes the surname of the author.
 

Method Detail

firstname

Author<T> firstname(String firstname)
Passes the first name of the author.

Parameters:
firstname - The first name of the author.
Returns:
The current author element.

surname

Author<T> surname(String surname)
Passes the surname of the author.

Parameters:
surname - The surname of the author.
Returns:
The current author element.

email

Author<T> email(String email)
Passes the email address of the author.

Parameters:
email - The email address of the author.
Returns:
The current author element.

end

T end()
Returns focus to the parent document element.

Returns:


Copyright © 2010. All Rights Reserved.