public class DefaultContentType extends java.lang.Object implements ContentType
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
mime |
protected java.lang.String |
name |
| Constructor and Description |
|---|
DefaultContentType() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(java.util.Properties p)
Configure the EditorKit and the FormatterFactory (as returned by factory methods),
from the given Properties.
|
AbstractCustomizer |
createCustomizer(java.util.Properties prop)
Returns a customizer panel for this content-type.
|
FormatterFactory |
createFormatter()
creates a FormatterFactory suited for the JPIC-XML content-type
|
ViewFactory |
createViewFactory()
Creates a ViewFactory that's suited for this content-type
|
java.lang.String |
getPresentationName()
Return the presentation name of the JPIC-XML content-type
|
public java.lang.String getPresentationName()
getPresentationName in interface ContentTypepublic ViewFactory createViewFactory()
createViewFactory in interface ContentTypepublic FormatterFactory createFormatter()
createFormatter in interface ContentTypepublic AbstractCustomizer createCustomizer(java.util.Properties prop)
createCustomizer in interface ContentTypeprop - used to init the component or to store preferences on-demand.public void configure(java.util.Properties p)
configure in interface ContentTypeSubmit a bug : syd@jpicedt.org