public class XMLCitation extends AbstractLink implements NoteContent
isAbsolute, isValid
TYPE_NONE
Constructor and Description |
---|
XMLCitation()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
bind(java.lang.String urlS)
Bind the link URL.
|
java.lang.String |
getAuthor()
Return the link reference author.
|
java.lang.String |
getDate()
Return the link reference date.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.lang.String |
getID()
Return the node ID.
|
int |
getIndex()
Return the node index.
|
java.util.List<XMLNoteRef> |
getNoteReferences()
Return the list of note references which refer to this note.
|
java.lang.String |
getPublisher()
Return the link reference publisher.
|
java.lang.String |
getQuote()
Return the noteRef associated quote.
|
java.lang.String |
getText()
Return the link description text.
|
java.net.URL |
getURL()
Return the link URL.
|
boolean |
hasID()
Return true if the node has an ID.
|
void |
setAuthor(java.lang.String author)
Set the link reference author.
|
void |
setDate(java.lang.String date)
Set the link reference date.
|
void |
setID(java.lang.String id)
Set the node ID
|
void |
setIndex(int index)
Set the node index.
|
void |
setPublisher(java.lang.String publisher)
Set the link reference publisher.
|
void |
setQuote(java.lang.String quote)
Set the noteRef associated quote.
|
void |
setText(java.lang.String text)
Set the link text.
|
getCustomStyles, getLineNumber, isAbsolute, isValid, setCustomStyles, setLineNumber, setValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRef
getNotNullURL, getPath, getURLAsString, getURLAsString, getURLAsString
getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setInlinedStyle
hasLineNumber
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public void setAuthor(java.lang.String author)
author
- the link reference authorpublic java.lang.String getAuthor()
public void setPublisher(java.lang.String publisher)
publisher
- the link reference publisherpublic java.lang.String getPublisher()
public void setDate(java.lang.String date)
date
- the link reference datepublic java.lang.String getDate()
public void setQuote(java.lang.String quote)
quote
- the noteRef associated quotepublic java.lang.String getQuote()
public void setText(java.lang.String text)
text
- the link textpublic java.net.URL getURL()
getURL
in interface ExternalLink
public java.lang.String getText()
getText
in interface ExternalLink
public void bind(java.lang.String urlS) throws java.net.MalformedURLException
urlS
- the URL as Stringjava.net.MalformedURLException
public void setIndex(int index)
setIndex
in interface NoteContent
index
- the node indexpublic void setID(java.lang.String id)
id
- the node IDpublic boolean hasID()
hasID
in interface NoteContent
public java.lang.String getID()
getID
in interface NoteContent
public int getIndex()
getIndex
in interface NoteContent
public java.util.List<XMLNoteRef> getNoteReferences()
NoteContent
getNoteReferences
in interface NoteContent
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence