Exemple #1
0
 /** Converts to a string. */
 public String toString() {
   if (_object != null) {
     return String.valueOf(_object);
   } else {
     return String.valueOf(_classDef.getName());
   }
 }
Exemple #2
0
  private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
    _env = Env.getInstance();

    _classDef = _env.getJavaClassDefinition((String) in.readObject());

    int id = _env.getQuercus().getClassId(_classDef.getName());

    setQuercusClass(_env.createQuercusClass(id, _classDef, null));

    _object = in.readObject();
  }
Exemple #3
0
 @Override
 public String getClassName() {
   return _classDef.getName();
 }