Overview | Package | Class | Tree | Deprecated | Index | Help
| The PDK Java API is part of the Portal Developer Kit on Portal Studio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.portal.provider.v2
Class DefaultParameterDefinition

    java.lang.Object
      |
      +--oracle.portal.provider.v2.ParameterDefinition
            |
            +--oracle.portal.provider.v2.DefaultParameterDefinition

All Implemented Interfaces:
  InitializableXMLObject, Validateable

public class DefaultParameterDefinition
extends ParameterDefinition
implements InitializableXMLObject

DefaultParameterDefinition extends ParameterDefinition to handle getting the the resource bundle for a parameter from it's parent portlet. It is encouraged for all strings for a portlet to be specified in a single resource bundle, rather than specifying a separate one for each parameter.

Constructor Summary
`DefaultParameterDefinition()`

Method Summary
`java.util.ResourceBundle` | `getResourceBundle(java.util.Locale l)` Gets the resource bundle for this parameter in the given Locale.
`void` | `postInitialize()` Not used.
`void` | `preInitialize(java.lang.Object parent)` Called during parsing of provider.xml when this object is created.

Methods inherited from class oracle.portal.provider.v2.ParameterDefinition
`getDescription, getDescriptionKey, getDisplayName, getDisplayNameKey, getName, setDescription, setDescriptionKey, setDisplayName, setDisplayNameKey, setName, setResource, validate`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultParameterDefinition

    public DefaultParameterDefinition()

Method Detail

### preInitialize

    public void preInitialize(java.lang.Object parent)
                       throws NodeHandlerException

  Called during parsing of provider.xml when this object is created. Used here to store the parent portlet. This could be a portlet or an event. If it's an event, then get it's parent portlet.
  Specified by:
    `preInitialize` in interface `InitializableXMLObject`
  Following copied from interface: `oracle.portal.utils.xml.v2.InitializableXMLObject`
  Parameters:
    `o` - the application object that will become this object's parent
  Throws:
    `NodeHandlerException` - if an error occurs while initializing this application object

### postInitialize

    public void postInitialize()
                        throws NodeHandlerException

  Not used.
  Specified by:
    `postInitialize` in interface `InitializableXMLObject`
  Following copied from interface: `oracle.portal.utils.xml.v2.InitializableXMLObject`
  Throws:
    `NodeHandlerException` - if an error occurs while initializing or validating this application object

### getResourceBundle

    public java.util.ResourceBundle getResourceBundle(java.util.Locale l)

  Gets the resource bundle for this parameter in the given Locale.
  Overrides:
    `getResourceBundle` in class `ParameterDefinition`
  Parameters:
    `l` - the Locale of the resource bundle being requested.
  Returns:
    the resource bundle for this parameter. null if there isn't one.

Overview | Package | Class | Tree | Deprecated | Index | Help
| The PDK Java API is part of the Portal Developer Kit on Portal Studio
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2002, Oracle Corporation. All Rights Reserved.