Project Wonder 2.0

er.extensions
Class ERXPatcher

java.lang.Object
  extended byer.extensions.ERXPatcher

public class ERXPatcher
extends Object

Wrapper around the WO-private NSUtilities which allows for some Objective-C-Style poseAs. Using these methods may or may not break in the future.


Nested Class Summary
static class ERXPatcher.DynamicElementsPatches
          This class holds patches for WebObjects dynamic elements, which have always a closing tag and all attribute values are enclosed in quotes.
static class ERXPatcher.Entity
           
static class ERXPatcher.EntityTable
           
 
Field Summary
static ERXLogger log
          logging support
 
Constructor Summary
ERXPatcher()
           
 
Method Summary
static Class classForName(String className)
          Returns the class registered for the name className.
static void installPatches()
           
static void setClassForName(Class clazz, String className)
          Sets the class registered for the name className to the given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final ERXLogger log
logging support

Constructor Detail

ERXPatcher

public ERXPatcher()
Method Detail

classForName

public static Class classForName(String className)
Returns the class registered for the name className.
Uses the private WebObjects class cache.

Parameters:
className - class name
Returns:
class for the registered name or null

setClassForName

public static void setClassForName(Class clazz,
                                   String className)
Sets the class registered for the name className to the given class.
Changes the private WebObjects class cache.

Parameters:
clazz - class object
className - name for the class - normally clazz.getName()

installPatches

public static void installPatches()

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.