com.anwrt.anycontent.extensions.content
Class ContentEditionFormat

java.lang.Object
  extended bycom.anwrt.anycontent.extensions.content.ContentEditionFormat

public class ContentEditionFormat
extends java.lang.Object

Handle the style formats for the htmleditor button


Constructor Summary
ContentEditionFormat()
          Creates a html editor button to choose style
 
Method Summary
 void configure(Configuration configuration, java.lang.String defaultCatalogue)
          Configure the style button from its configuration with elements:
<style name="HTMLEDITOR_STYLE_HEADING_1" tag="h1" class="">
 void toSAX(org.xml.sax.ContentHandler contentHandler)
          Send the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentEditionFormat

public ContentEditionFormat()
Creates a html editor button to choose style

Method Detail

configure

public void configure(Configuration configuration,
                      java.lang.String defaultCatalogue)
               throws ConfigurationException
Configure the style button from its configuration with elements:
<style name="HTMLEDITOR_STYLE_HEADING_1" tag="h1" class="">

Parameters:
configuration - The configuration to read
defaultCatalogue - The i18n catalogue for styles
Throws:
ConfigurationException - If the configuration is incorrect

toSAX

public void toSAX(org.xml.sax.ContentHandler contentHandler)
           throws org.xml.sax.SAXException
Send the configuration

Parameters:
contentHandler - where to sax the configuration of the buttons
Throws:
org.xml.sax.SAXException


Copyright © 2006 Anyware Technologies. All Rights Reserved.