Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.internal.services
Interface ComponentClassCache

All Known Implementing Classes:
  ComponentClassCacheImpl

    public interface ComponentClassCache

A cache for converting between class names and component (or other) classes. For component classes, ensures that the class is the transformed class.

Method Summary
`java.lang.Object` | `defaultValueForType(java.lang.String className)` Computes the default value for a field of the given type, returns the appropriate default value.
`java.lang.Class` | `forName(java.lang.String className)` Gets the Class instance for the given fully-qualified class name.

Method Detail

### forName

    java.lang.Class forName(java.lang.String className)

  Gets the Class instance for the given fully-qualified class name.

  Parameters:
    `className` - fully qualified class name, or a primitive type name, or an array name (in source format)
  Returns:
    the class instance

### defaultValueForType

    java.lang.Object defaultValueForType(java.lang.String className)

  Computes the default value for a field of the given type, returns the appropriate default value. This is typically null, but may be false (for a primitive boolean) or some version of 0 (for a primitive numeric field). Wrapper types will still be null.

  Parameters:
    `className` - type of field
  Since:
    5.2.0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.