Namespace: OpenEdge.Net.HTTP
Class 
BuilderRegistry
Parent classes:
Progress.Lang.Object

Inherits: Progress.Lang.Object

Copyright (c) 2015 by Progress Software Corporation. All rights reserved.
File:BuilderRegistry
Purpose:General registry for name/Progress.Lang.Class pairs used
by the various HTTP-related builders.
Author(s):pjudge
Created:Thu Feb 12 11:39:54 EST 2015
Notes:* this is technically a typed Map, but will be kept separate




Method Summary
Options Name Purpose
# Clear () /** Clears all the entries from this registry */
# Progress.Lang.Class Get (character) /** Returns a registered type, if it exists. returns null otherwise. @param character The name of the content type to register @return Progress.Lang.Class A valid value if it exists. Null otherwise .*/
# CHARACTER GetKeys () /** Returns an array of the key names in this registry. @return character[] The key values. Indeterminate array if empty. */
# LOGICAL Has (character) /** Indicates whether a content type is registered or not. @param character The name of the content type to register @return logical True if the content type is registered */
# LOGICAL Put (character, Class) /** Registers type for a key @param character The key of the type to register @param Class The type of the writer used to process that type @return logical True if the type was previously registered */
# LOGICAL Remove (character) /** Deregisters a content type writer @param character The name of the content type to register @return logical True if the content type was previously registered */

Constructor Summary
Options Name Purpose
# BuilderRegistry () /** Default constructor */
# BuilderRegistry (Class) /** Constructor @param Progress.Lang.Class The type that the registered value must conform to (via IsA() ). */

Property Summary
Options Name Purpose
# INTEGER Size /* Returns the number of mappings in this map.*/
# Progress.Lang.Class ValueType /** (optional) The type of the registered Type (defaults to PLO) */


Method Detail
Top

PROTECTED Clear ()

Purpose: Clears all the entries from this registry
Top

PROTECTED Progress.Lang.Class Get (character)

Purpose: Returns a registered type, if it exists. returns null otherwise.
Parameters:
pcTypeKey CHARACTER
Returns Progress.Lang.Class
Progress.Lang.Class A valid value if it exists. Null otherwise .
Top

PROTECTED CHARACTER GetKeys ()

Purpose: Returns an array of the key names in this registry.
Returns CHARACTER
character[] The key values. Indeterminate array if empty.
Top

PROTECTED LOGICAL Has (character)

Purpose: Indicates whether a content type is registered or not.
Parameters:
pcTypeKey CHARACTER
Returns LOGICAL
logical True if the content type is registered
Top

PROTECTED LOGICAL Put (character, Class)

Purpose: Registers type for a key
Parameters:
pcTypeKey CHARACTER
poType Progress.Lang.Class
Returns LOGICAL
logical True if the type was previously registered
Top

PROTECTED LOGICAL Remove (character)

Purpose: Deregisters a content type writer
Parameters:
pcTypeKey CHARACTER
Returns LOGICAL
logical True if the content type was previously registered


Constructor Detail
Top

PROTECTED BuilderRegistry ()

Purpose: Default constructor
Top

PROTECTED BuilderRegistry (Class)

Purpose: Constructor
(via IsA() ).
Parameters:
poValueType Progress.Lang.Class


Property Detail
Top

PROTECTED INTEGER Size

/* Returns the number of mappings in this map.
Returns INTEGER
Top

PROTECTED Progress.Lang.Class ValueType

Purpose: (optional) The type of the registered Type (defaults to PLO)
Returns Progress.Lang.Class


10.27.2015 12:36:34