javax.management.loading
Class MLetContent

java.lang.Object
  |
  +--javax.management.loading.MLetContent

class MLetContent
extends java.lang.Object

This class represents the contents of the MLET tag.


Constructor Summary
MLetContent(java.net.URL url, java.util.Map attributes)
          Creates an MLet instance initialized with attributes read from an MLET tag in an MLet text file.
 
Method Summary
 java.util.Map getAttributes()
          Gets the attributes of the MLET tag.
 java.lang.String getCode()
          Gets the value of the CODE attribute of the MLET tag.
 java.net.URL getCodeBase()
          Gets the code base URL.
 java.net.URL getDocumentBase()
          Gets the MLet text file's base URL.
 java.lang.String getJarFiles()
          Gets the list of .jar files specified by the ARCHIVE attribute of the MLET tag.
 java.lang.String getName()
          Gets the value of the NAME attribute of the MLET tag.
 java.lang.Object getParameter(java.lang.String name)
          Gets the value of the specified attribute of the MLET tag.
 java.lang.String getSerializedObject()
          Gets the value of the OBJECT attribute of the MLET tag.
 java.lang.String getVersion()
          Gets the value of the VERSION attribute of the MLET tag.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLetContent

public MLetContent(java.net.URL url,
                   java.util.Map attributes)
Creates an MLet instance initialized with attributes read from an MLET tag in an MLet text file.
Parameters:
url - The URL of the MLet text file containing the MLET tag.
attributes - A list of the attributes of the MLET tag.
Method Detail

getAttributes

public java.util.Map getAttributes()
Gets the attributes of the MLET tag.
Returns:
A hash table of the attributes of the MLET tag and their values.

getDocumentBase

public java.net.URL getDocumentBase()
Gets the MLet text file's base URL.
Returns:
The MLet text file's base URL.

getCodeBase

public java.net.URL getCodeBase()
Gets the code base URL.
Returns:
The code base URL.

getJarFiles

public java.lang.String getJarFiles()
Gets the list of .jar files specified by the ARCHIVE attribute of the MLET tag.
Returns:
A comma-separated list of .jar file names.

getCode

public java.lang.String getCode()
Gets the value of the CODE attribute of the MLET tag.
Returns:
The value of the CODE attribute of the MLET tag.

getSerializedObject

public java.lang.String getSerializedObject()
Gets the value of the OBJECT attribute of the MLET tag.
Returns:
The value of the OBJECT attribute of the MLET tag.

getName

public java.lang.String getName()
Gets the value of the NAME attribute of the MLET tag.
Returns:
The value of the NAME attribute of the MLET tag.

getVersion

public java.lang.String getVersion()
Gets the value of the VERSION attribute of the MLET tag.
Returns:
The value of the VERSION attribute of the MLET tag.

getParameter

public java.lang.Object getParameter(java.lang.String name)
Gets the value of the specified attribute of the MLET tag.
Parameters:
name - A string representing the name of the attribute.
Returns:
The value of the specified attribute of the MLET tag.