public class XMLMailLink extends AbstractStyledElement implements ElementReference
TYPE_NONE
Constructor and Description |
---|
XMLMailLink() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
int |
getLineNumber()
Return the line where the reference appear.
|
java.lang.String |
getMail()
Return the mail.
|
java.lang.String |
getText()
Return the mail description text.
|
boolean |
isValid()
Return true.
|
void |
setLineNumber(int lineNumber)
Set the line number where the reference appear.
|
boolean |
setMail(java.lang.String email)
Set the email.
|
void |
setText(java.lang.String text)
Set the mail description text.
|
getCustomStyles, getInlinedStyle, setCustomStyles, setInlinedStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasLineNumber
getStyle, hasInlinedStyle, setCustomStyles
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public boolean isValid()
public void setText(java.lang.String text)
text
- the mail description textpublic java.lang.String getMail()
public java.lang.String getText()
public boolean setMail(java.lang.String email)
email
- the mail.public void setLineNumber(int lineNumber)
lineNumber
- the line numberpublic int getLineNumber()
getLineNumber
in interface ElementReference
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence