Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.facelets.impl
Class DefaultFacelet.ApplyToken  view DefaultFacelet.ApplyToken download DefaultFacelet.ApplyToken.java

java.lang.Object
  extended bycom.sun.facelets.impl.DefaultFacelet.ApplyToken
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable
Enclosing class:
DefaultFacelet

private static class DefaultFacelet.ApplyToken
extends java.lang.Object
implements java.io.Externalizable


Field Summary
 java.lang.String alias
           
 long time
           
 
Constructor Summary
DefaultFacelet.ApplyToken()
           
DefaultFacelet.ApplyToken(java.lang.String alias, long time)
           
 
Method Summary
 void readExternal(java.io.ObjectInput in)
          This method restores an object's state by reading in the instance data for the object from the passed in stream.
 void writeExternal(java.io.ObjectOutput out)
          This method is responsible for writing the instance data of an object to the passed in stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alias

public java.lang.String alias

time

public long time
Constructor Detail

DefaultFacelet.ApplyToken

public DefaultFacelet.ApplyToken()

DefaultFacelet.ApplyToken

public DefaultFacelet.ApplyToken(java.lang.String alias,
                                 long time)
Method Detail

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Description copied from interface: java.io.Externalizable
This method restores an object's state by reading in the instance data for the object from the passed in stream. Note that this stream is not a subclass of InputStream, but rather is a class that implements the ObjectInput interface. That interface provides a mechanism for reading in Java data types from a stream.

Note that this method must be compatible with writeExternal. It must read back the exact same types that were written by that method in the exact order they were written.

If this method needs to read back an object instance, then the class for that object must be found and loaded. If that operation fails, then this method throws a ClassNotFoundException

Specified by:
readExternal in interface java.io.Externalizable

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Description copied from interface: java.io.Externalizable
This method is responsible for writing the instance data of an object to the passed in stream. Note that this stream is not a subclass of OutputStream, but rather is a class that implements the ObjectOutput interface. That interface provides a number of methods for writing Java data values to a stream.

Not that the implementation of this method must be coordinated with the implementation of readExternal.

Specified by:
writeExternal in interface java.io.Externalizable