Up
Authors
- Manuel Guesdon (
mguesdon@orange-concept.com)
-
Date: Generated at 2025-12-01
Copyright: (C) 1999-2002 Free Software Foundation, Inc.
- Declared in:
- WebObjects/GSWApplet.h
Availability: OpenStep
GSWApplet is a dynamic element that generates HTML
applet tags for embedding Java applets in GSWeb
applications. It extends GSWHTMLDynamicElement
to provide comprehensive support for Java applet
deployment, including archive management,
parameter passing, and client-side attribute
handling. This component manages both traditional
applet archives and AGC (Apple Generic Container)
archives, making it suitable for various Java
deployment scenarios in web applications.
GSWApplet declares 10 Instance Variables
- (BOOL)
appendStringAtRight: (id)unkwnon
withMapping: (char*)mapping;
Availability: OpenStep
Internal method that appends string content at the
right position using the specified mapping
. This method is used for specialized content positioning
within the applet element.
- (id)
contextID;
Availability: OpenStep
Returns the current context ID associated with this
applet instance.
- (void)
dealloc;
Availability: OpenStep
Deallocates the applet instance and cleans up
associated resources, including client-side
attributes and snapshot data.
- (
NSString*)
elementID;
Availability: OpenStep
Returns the unique element ID for this applet
instance.
- (
NSString*)
elementName;
Availability: OpenStep
Returns the HTML element name used for this applet
component, typically "applet".
- (id)
paramWithName: (id)name
value: (id)value
target: (id)target
key: (id)key
treatNilValueAsGSWNull: (BOOL)treatNilValueAsGSWNull;
Availability: OpenStep
Creates and returns a parameter object with the
specified name, value,
target, and key. The
treatNilValueAsGSWNull flag determines how
nil values are handled during parameter
creation.
- (void)
setContextID: (id)contextID;
Availability: OpenStep
Sets the context ID for this applet instance.
- (void)
setElementID: (
NSString*)elementID;
Availability: OpenStep
Sets the unique element ID for this applet instance.
- (void)
setURL: (id)url;
Availability: OpenStep
Sets the URL for this applet instance.
- (id)
url;
Availability: OpenStep
Returns the URL associated with this applet.
Instance Variables for GSWApplet Class
@protected GSWAssociation*
_agcArchive;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected GSWAssociation*
_agcArchiveNames;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected GSWAssociation*
_archive;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected GSWAssociation*
_archiveNames;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableDictionary*
_clientSideAttributes;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected GSWAssociation*
_codeBase;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString*
_contextID;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString*
_elementID;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableDictionary*
_snapshots;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSString*
_url;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
- Declared in:
- WebObjects/GSWApplet.h
Availability: OpenStep
Category providing core functionality for GSWApplet
request/response handling and archive
management. This category contains the main
methods for processing HTTP requests, generating
responses, and managing both traditional and AGC
archive configurations.
+ (BOOL)
hasGSWebObjectsAssociations;
Availability: OpenStep
Class method that returns whether
the applet class has GSWeb-specific object
associations. This determines if additional
framework-specific processing is
required.
- (id)
_agcArchiveNamesListInContext: (
GSWContext*)aContext;
Availability: OpenStep
Returns a list of AGC archive names within the
specified context. This method collects the names
of all AGC archives to be loaded.
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (id)
_agcArchiveURLsListInContext: (
GSWContext*)aContext;
Availability: OpenStep
Returns a list of AGC archive URLs within the
specified context. This method resolves and
collects all AGC archive locations.
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (id)
_archiveNamesListInContext: (
GSWContext*)aContext;
Availability: OpenStep
Returns a list of traditional archive names within
the specified context. This method collects standard
Java archive names.
Warning the
underscore at the start of the name of this
method indicates that it is private, for internal
use only, and you should not use the method in your
code.
- (id)
_archiveURLsListInContext: (
GSWContext*)aContext;
Availability: OpenStep
Returns a list of traditional archive URLs within
the specified context. This method resolves standard
Java archive locations.
Warning the
underscore at the start of the name of this
method indicates that it is private, for internal
use only, and you should not use the method in your
code.
- (void)
_awakeForComponent: (id)component;
Availability: OpenStep
Performs initialization operations when the applet
is awakened for the specified component. This
internal method sets up necessary resources and
configurations.
Warning the
underscore at the start of the name of this
method indicates that it is private, for internal
use only, and you should not use the method in your
code.
- (void)
_computeAgcArchiveStringInContext: (
GSWContext*)aContext;
Availability: OpenStep
Computes and prepares the AGC archive string
within the specified context. This internal method
processes AGC archive configurations for
Apple-specific deployment scenarios.
Warning the underscore at the start of the
name of this method indicates that it is private, for
internal use only, and you should not use the
method in your code.
- (void)
_deallocForComponent: (id)component;
Availability: OpenStep
Performs cleanup operations when the applet is
deallocated for the specified
component. This internal method ensures
proper resource management.
Warning
the underscore at the start of the name of this method
indicates that it is private, for internal use
only, and you should not use the method in your code.
- (void)
appendGSWebObjectsAssociationsToResponse: (
GSWResponse*)aResponse
inContext: (
GSWContext*)aContext;
Availability: OpenStep
Appends GSWeb-specific object associations to the
response. This method adds framework-specific
parameters and configurations to the applet
output.
- (void)
appendToResponse: (
GSWResponse*)aResponse
inContext: (
GSWContext*)aContext;
Availability: OpenStep
Appends the applet's HTML representation to the
response within the specified context. This method
generates the complete applet tag with all
necessary parameters and attributes.
- (
GSWElement*)
invokeActionForRequest: (
GSWRequest*)aRequest
inContext: (
GSWContext*)aContext;
Availability: OpenStep
Invokes the appropriate action for the incoming
request within the specified context. Returns the
element that should handle the action, if any.
- (void)
takeValuesFromRequest: (
GSWRequest*)aRequest
inContext: (
GSWContext*)aContext;
Availability: OpenStep
Takes values from the incoming request and processes
them within the specified context. This method handles
form data and parameter values related to the applet.
Up