uk.ac.ebi.intenz.webapp.controller
Class ChangeCharacterRepresentationCommand

java.lang.Object
  extended by uk.ac.ebi.intenz.webapp.controller.Command
      extended by uk.ac.ebi.intenz.webapp.controller.NonDatabaseCommand
          extended by uk.ac.ebi.intenz.webapp.controller.ChangeCharacterRepresentationCommand

public class ChangeCharacterRepresentationCommand
extends NonDatabaseCommand

This class provides methods to switch between a pure Unicode based special character representation and a browser dependent non-pure Unicode encoding.

Version:
0.9 - 21-July-2003
Author:
Michael Darsow

Field Summary
 
Fields inherited from class uk.ac.ebi.intenz.webapp.controller.NonDatabaseCommand
context, request, response
 
Constructor Summary
ChangeCharacterRepresentationCommand()
           
 
Method Summary
 void process()
          Depending on the given parameter this method switches between a Unicode representation for some very special characters (scissile, activated, ...) and a browser-dependent encoding.
 
Methods inherited from class uk.ac.ebi.intenz.webapp.controller.NonDatabaseCommand
forward, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeCharacterRepresentationCommand

public ChangeCharacterRepresentationCommand()
Method Detail

process

public void process()
             throws javax.servlet.ServletException,
                    IOException
Depending on the given parameter this method switches between a Unicode representation for some very special characters (scissile, activated, ...) and a browser-dependent encoding.

This class makes use of the Special Characters API, which allows to define a representation for special characters in different ways. See documentation (TODO: Insert link here).

Specified by:
process in class Command
Throws:
javax.servlet.ServletException
IOException


Copyright © 2013 EMBL-EBI. All Rights Reserved.