public abstract class IdvPublisher
extends java.lang.Object
implements java.lang.Cloneable
Right no we just have a single concrete derived class, InfoceteraBlogger, that publishes weblog content to an Infocetera web log.
The idea is that we might a variety of publishing mechanisms: other weblog clients, email, wiki, etc.
Instances of publishers are defined by the
resources/publishers.xml
file.
Modifier | Constructor and Description |
---|---|
|
IdvPublisher() |
protected |
IdvPublisher(IntegratedDataViewer idv,
org.w3c.dom.Element element)
Construct the object with the reference to the idv
|
Modifier and Type | Method and Description |
---|---|
IdvPublisher |
cloneMe() |
void |
configure() |
boolean |
configurexxx() |
boolean |
doInitNew() |
void |
doPublish() |
IntegratedDataViewer |
getIdv() |
boolean |
getLocal()
Get the Local property.
|
java.lang.String |
getName()
Get the Name property.
|
abstract java.lang.String |
getTypeName()
Get the name of this publisher
|
boolean |
identifiedBy(java.lang.String url) |
protected void |
init()
Initialize this publisher.
|
void |
initMenu(javax.swing.JMenu menu) |
java.lang.String |
publishContent(java.lang.String file,
ViewManager fromViewmanager) |
void |
publishIslImage(org.w3c.dom.Element tag,
java.awt.Image image) |
protected void |
setIdv(IntegratedDataViewer idv) |
void |
setLocal(boolean value)
Set the Local property.
|
void |
setName(java.lang.String value)
Set the Name property.
|
java.lang.String |
toString() |
public IdvPublisher()
protected IdvPublisher(IntegratedDataViewer idv, org.w3c.dom.Element element)
idv
- Reference to the idvelement
- The xml element that defined this publisherpublic IdvPublisher cloneMe() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public IntegratedDataViewer getIdv()
protected void setIdv(IntegratedDataViewer idv)
public boolean doInitNew()
public void initMenu(javax.swing.JMenu menu)
public void publishIslImage(org.w3c.dom.Element tag, java.awt.Image image)
public boolean identifiedBy(java.lang.String url)
public void doPublish()
public java.lang.String publishContent(java.lang.String file, ViewManager fromViewmanager)
protected void init()
public abstract java.lang.String getTypeName()
public boolean configurexxx()
public void configure()
public void setName(java.lang.String value)
value
- The new value for Namepublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public void setLocal(boolean value)
value
- The new value for Localpublic boolean getLocal()