Project Wonder 5.0

er.extensions.foundation
Class ERXPatcher

java.lang.Object
  extended by er.extensions.foundation.ERXPatcher

public class ERXPatcher
extends java.lang.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 org.apache.log4j.Logger log
          logging support
 
Constructor Summary
ERXPatcher()
           
 
Method Summary
static java.lang.Class classForName(java.lang.String className)
          Returns the class registered for the name className.
Uses the private WebObjects class cache.
static void installPatches()
           
static void setClassForName(java.lang.Class clazz, java.lang.String className)
          Sets the class registered for the name className to the given class.
Changes the private WebObjects class cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log
logging support

Constructor Detail

ERXPatcher

public ERXPatcher()
Method Detail

classForName

public static java.lang.Class classForName(java.lang.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(java.lang.Class clazz,
                                   java.lang.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: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.