Daisy Open Source CMS

org.outerj.daisy.tools.importexport.model.schema
Class ImpExpPartType

java.lang.Object
  extended by org.outerj.daisy.tools.importexport.model.schema.ImpExpPartType
All Implemented Interfaces:
Comparable, ImpExpDescriptionEnabled, ImpExpLabelEnabled

public class ImpExpPartType
extends Object
implements ImpExpLabelEnabled, ImpExpDescriptionEnabled, Comparable


Constructor Summary
ImpExpPartType(String name)
           
 
Method Summary
 void addDescription(Locale locale, String description)
           
 void addLabel(Locale locale, String label)
           
 void clearDescriptions()
           
 void clearLabels()
           
 int compareTo(Object o)
           
 Map<Locale,String> getDescriptions()
           
 Map<Locale,String> getLabels()
           
 String getLinkExtractor()
           
 String getMimeTypes()
           
 String getName()
           
 boolean isDaisyHtml()
           
 boolean isDeprecated()
           
 void setDaisyHtml(boolean daisyHtml)
           
 void setDeprecated(boolean deprecated)
           
 void setLinkExtractor(String linkExtractor)
           
 void setMimeTypes(String mimeTypes)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImpExpPartType

public ImpExpPartType(String name)
Method Detail

getName

public String getName()

getMimeTypes

public String getMimeTypes()

setMimeTypes

public void setMimeTypes(String mimeTypes)

isDaisyHtml

public boolean isDaisyHtml()

setDaisyHtml

public void setDaisyHtml(boolean daisyHtml)

getLinkExtractor

public String getLinkExtractor()

setLinkExtractor

public void setLinkExtractor(String linkExtractor)

isDeprecated

public boolean isDeprecated()

setDeprecated

public void setDeprecated(boolean deprecated)

addLabel

public void addLabel(Locale locale,
                     String label)
Specified by:
addLabel in interface ImpExpLabelEnabled

clearLabels

public void clearLabels()
Specified by:
clearLabels in interface ImpExpLabelEnabled

getLabels

public Map<Locale,String> getLabels()
Specified by:
getLabels in interface ImpExpLabelEnabled

addDescription

public void addDescription(Locale locale,
                           String description)
Specified by:
addDescription in interface ImpExpDescriptionEnabled

clearDescriptions

public void clearDescriptions()
Specified by:
clearDescriptions in interface ImpExpDescriptionEnabled

getDescriptions

public Map<Locale,String> getDescriptions()
Specified by:
getDescriptions in interface ImpExpDescriptionEnabled

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

Daisy Open Source CMS