Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.1.0)
E17488-02


oracle.adf.view.rich.datatransfer
Class ClientEncoder

java.lang.Object
  extended by oracle.adf.view.rich.datatransfer.ClientEncoder


public abstract class ClientEncoder
extends java.lang.Object

Class used by Renderers to write Java Objects to the client using the correct syntax for the client environment. As the client environment may be very different from the server environment, there may be some loss of functionality when objects are transferred or the object may not be tranferrable at all.

Each of the methods takes an Appendable that the value is to be appended to.


Constructor Summary
ClientEncoder()
           

 

Method Summary
abstract  void appendBoolean(java.lang.Appendable out, boolean value)
          Encodes a boolean to the Appendable
abstract  void appendByte(java.lang.Appendable out, byte value)
          Encodes a byte to the Appendable
abstract  void appendChar(java.lang.Appendable out, char value)
          Encodes a char to the Appendable
abstract  void appendCharSequence(java.lang.Appendable out, java.lang.CharSequence value)
          Encodes a CharSequence to the Appendable
abstract  void appendCollection(java.lang.Appendable out, java.util.Collection value)
          Encodes a Collection to the Appendable
abstract  void appendDouble(java.lang.Appendable out, double value)
          Encodes a double to the Appendable
abstract  void appendFloat(java.lang.Appendable out, float value)
          Encodes a float to the Appendable
abstract  void appendInt(java.lang.Appendable out, int value)
          Encodes an int to the Appendable
abstract  void appendLong(java.lang.Appendable out, long value)
          Encodes a long to the Appendable
abstract  void appendMap(java.lang.Appendable out, java.util.Map value)
          Encodes a Map to the Appendable
abstract  boolean appendObject(java.lang.Appendable out, java.lang.Object value)
          Appends an Object to the output appendable, returning true if it was able to append the Object in some form.
abstract  void appendShort(java.lang.Appendable out, short value)
          Encodes a short to the Appendable

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ClientEncoder

public ClientEncoder()

Method Detail

appendObject

public abstract boolean appendObject(java.lang.Appendable out,
                                     java.lang.Object value)
                              throws java.io.IOException
Appends an Object to the output appendable, returning true if it was able to append the Object in some form.
Parameters:
out - Appendable to append the encoded value to
value - Object to encode
Throws:
java.io.IOException

appendCollection

public abstract void appendCollection(java.lang.Appendable out,
                                      java.util.Collection value)
                               throws java.io.IOException
Encodes a Collection to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - Collection to encode
Throws:
java.io.IOException

appendMap

public abstract void appendMap(java.lang.Appendable out,
                               java.util.Map value)
                        throws java.io.IOException
Encodes a Map to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - Map to encode
Throws:
java.io.IOException

appendBoolean

public abstract void appendBoolean(java.lang.Appendable out,
                                   boolean value)
                            throws java.io.IOException
Encodes a boolean to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - boolean to encode
Throws:
java.io.IOException

appendByte

public abstract void appendByte(java.lang.Appendable out,
                                byte value)
                         throws java.io.IOException
Encodes a byte to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - byte to encode
Throws:
java.io.IOException

appendChar

public abstract void appendChar(java.lang.Appendable out,
                                char value)
                         throws java.io.IOException
Encodes a char to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - char to encode
Throws:
java.io.IOException

appendDouble

public abstract void appendDouble(java.lang.Appendable out,
                                  double value)
                           throws java.io.IOException
Encodes a double to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - double to encode
Throws:
java.io.IOException

appendFloat

public abstract void appendFloat(java.lang.Appendable out,
                                 float value)
                          throws java.io.IOException
Encodes a float to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - float to encode
Throws:
java.io.IOException

appendLong

public abstract void appendLong(java.lang.Appendable out,
                                long value)
                         throws java.io.IOException
Encodes a long to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - long to encode
Throws:
java.io.IOException

appendInt

public abstract void appendInt(java.lang.Appendable out,
                               int value)
                        throws java.io.IOException
Encodes an int to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - int to encode
Throws:
java.io.IOException

appendShort

public abstract void appendShort(java.lang.Appendable out,
                                 short value)
                          throws java.io.IOException
Encodes a short to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - short to encode
Throws:
java.io.IOException

appendCharSequence

public abstract void appendCharSequence(java.lang.Appendable out,
                                        java.lang.CharSequence value)
                                 throws java.io.IOException
Encodes a CharSequence to the Appendable
Parameters:
out - Appendable to append the encoded value to
value - CharSequence to encode
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 2 (11.1.2.1.0)
E17488-02


Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.