01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.desktop.encode;
06:
07: /**
08: * This interface is the pluggable component of the encoder subsystem.
09: * The pluggable, markup or client type specific decoding schemes
10: * are integrated into the system by classes that implement this
11: * interface in an appropriate manner.
12: * <br><br>
13: * See <code>Decoder</code> for details on the encoder subsystem
14: * and how this interface plays in the encoder SPI.
15: *
16: * @see com.sun.portal.desktop.encode.Decoder
17: */
18: public interface TypeDecoder {
19:
20: /**
21: * Decodes text.
22: *
23: * @param text a <code>String</code> value, the string to be decoded.
24: * @return a <code>String</code> value, the decoded string.
25: */
26: public String decode(String text);
27: }
|