public class MailingList extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
archive
The link to a URL where you can browse the mailing list
archive.
|
private InputLocation |
archiveLocation
Field archiveLocation.
|
private InputLocation |
location
Field location.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
name
The name of the mailing list.
|
private InputLocation |
nameLocation
Field nameLocation.
|
private java.util.List<java.lang.String> |
otherArchives
Field otherArchives.
|
private InputLocation |
otherArchivesLocation
Field otherArchivesLocation.
|
private java.lang.String |
post
The email address or link that can be used to
post to
the mailing list.
|
private InputLocation |
postLocation
Field postLocation.
|
private java.lang.String |
subscribe
The email address or link that can be used to
subscribe to
the mailing list.
|
private InputLocation |
subscribeLocation
Field subscribeLocation.
|
private java.lang.String |
unsubscribe
The email address or link that can be used to
unsubscribe to
the mailing list.
|
private InputLocation |
unsubscribeLocation
Field unsubscribeLocation.
|
Constructor and Description |
---|
MailingList() |
Modifier and Type | Method and Description |
---|---|
void |
addOtherArchive(java.lang.String string)
Method addOtherArchive.
|
MailingList |
clone()
Method clone.
|
java.lang.String |
getArchive()
Get the link to a URL where you can browse the mailing list
archive.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
java.lang.String |
getName()
Get the name of the mailing list.
|
java.util.List<java.lang.String> |
getOtherArchives()
Method getOtherArchives.
|
private InputLocation |
getOtherLocation(java.lang.Object key) |
java.lang.String |
getPost()
Get the email address or link that can be used to post to
the mailing list.
|
java.lang.String |
getSubscribe()
Get the email address or link that can be used to subscribe
to
the mailing list.
|
java.lang.String |
getUnsubscribe()
Get the email address or link that can be used to
unsubscribe to
the mailing list.
|
void |
removeOtherArchive(java.lang.String string)
Method removeOtherArchive.
|
void |
setArchive(java.lang.String archive)
Set the link to a URL where you can browse the mailing list
archive.
|
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(java.lang.String name)
Set the name of the mailing list.
|
void |
setOtherArchives(java.util.List<java.lang.String> otherArchives)
Set the link to alternate URLs where you can browse the list
archive.
|
void |
setOtherLocation(java.lang.Object key,
InputLocation location) |
void |
setPost(java.lang.String post)
Set the email address or link that can be used to post to
the mailing list.
|
void |
setSubscribe(java.lang.String subscribe)
Set the email address or link that can be used to subscribe
to
the mailing list.
|
void |
setUnsubscribe(java.lang.String unsubscribe)
Set the email address or link that can be used to
unsubscribe to
the mailing list.
|
private java.lang.String name
private java.lang.String subscribe
mailto:
link will automatically be
created
when the documentation is created.private java.lang.String unsubscribe
mailto:
link will automatically be
created
when the documentation is created.private java.lang.String post
mailto:
link will automatically be
created
when the documentation is created.private java.lang.String archive
private java.util.List<java.lang.String> otherArchives
private java.util.Map<java.lang.Object,InputLocation> locations
private InputLocation location
private InputLocation nameLocation
private InputLocation subscribeLocation
private InputLocation unsubscribeLocation
private InputLocation postLocation
private InputLocation archiveLocation
private InputLocation otherArchivesLocation
public void addOtherArchive(java.lang.String string)
string
- public MailingList clone()
clone
in class java.lang.Object
public java.lang.String getArchive()
public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public java.lang.String getName()
public java.util.List<java.lang.String> getOtherArchives()
public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(java.lang.Object key, InputLocation location)
key
- location
- private InputLocation getOtherLocation(java.lang.Object key)
key
- public java.lang.String getPost()
mailto:
link will automatically be
created
when the documentation is created.public java.lang.String getSubscribe()
mailto:
link will automatically be
created
when the documentation is created.public java.lang.String getUnsubscribe()
mailto:
link will automatically be
created
when the documentation is created.public void removeOtherArchive(java.lang.String string)
string
- public void setArchive(java.lang.String archive)
archive
- public void setName(java.lang.String name)
name
- public void setOtherArchives(java.util.List<java.lang.String> otherArchives)
otherArchives
- public void setPost(java.lang.String post)
mailto:
link will automatically be
created
when the documentation is created.post
- public void setSubscribe(java.lang.String subscribe)
mailto:
link will automatically be
created
when the documentation is created.subscribe
- public void setUnsubscribe(java.lang.String unsubscribe)
mailto:
link will automatically be
created
when the documentation is created.unsubscribe
-