Package ucar.unidata.idv.publish
Class IdvPublisher
java.lang.Object
ucar.unidata.idv.publish.IdvPublisher
- All Implemented Interfaces:
Cloneable
This is the start to an abstract base class that represents
classes that can "publish" IDV content.
Note: This framework is very much in flux
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.
- Author:
- IDV development team
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIdvPublisher(IntegratedDataViewer idv, Element element) Construct the object with the reference to the idv -
Method Summary
Modifier and TypeMethodDescriptioncloneMe()voidbooleanbooleanvoidgetIdv()booleangetLocal()Get the Local property.getName()Get the Name property.abstract StringGet the name of this publisherbooleanidentifiedBy(String url) protected voidinit()Initialize this publisher.voidpublishContent(String file, ViewManager fromViewmanager) voidpublishIslImage(Element tag, Image image) protected voidvoidsetLocal(boolean value) Set the Local property.voidSet the Name property.toString()
-
Constructor Details
-
IdvPublisher
public IdvPublisher() -
IdvPublisher
Construct the object with the reference to the idv- Parameters:
idv- Reference to the idvelement- The xml element that defined this publisher
-
-
Method Details
-
cloneMe
- Throws:
CloneNotSupportedException
-
getIdv
-
setIdv
-
doInitNew
public boolean doInitNew() -
initMenu
-
publishIslImage
-
identifiedBy
-
doPublish
public void doPublish() -
publishContent
-
init
protected void init()Initialize this publisher. A hook so derived classes can get initialized -
getTypeName
Get the name of this publisher- Returns:
- The name
-
configurexxx
public boolean configurexxx() -
configure
public void configure() -
setName
Set the Name property.- Parameters:
value- The new value for Name
-
getName
Get the Name property.- Returns:
- The Name
-
toString
-
setLocal
public void setLocal(boolean value) Set the Local property.- Parameters:
value- The new value for Local
-
getLocal
public boolean getLocal()Get the Local property.- Returns:
- The Local
-