This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.management.loading
class MLetContent

java.lang.Object extended by javax.management.loading.MLetContent

public class MLetContent
extends Object

This class represents the contents of the MLET tag. It can be consulted by a subclass of {@link MLet} that overrides the {@link MLet#check MLet.check} method.


Constructor Summary
MLetContent(URL url, Map attributes, List types, List values)

          Creates an MLet instance initialized with attributes read from an MLET tag in an MLet text file.
 
Method Summary
 Map

          Gets the attributes of the MLET tag.
 String

          Gets the value of the CODE attribute of the MLET tag.
 URL

          Gets the code base URL.
 URL

          Gets the MLet text file's base URL.
 String

          Gets the list of .jar files specified by the ARCHIVE attribute of the MLET tag.
 String

          Gets the value of the NAME attribute of the MLET tag.
 List

          Gets the list of values of the TYPE attribute in each nested <PARAM> tag within the MLET tag.
 List

          Gets the list of values of the VALUE attribute in each nested <PARAM> tag within the MLET tag.
 String

          Gets the value of the OBJECT attribute of the MLET tag.
 String

          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(URL url,
                   Map attributes,
                   List types,
                   List values)
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 map of the attributes of the MLET tag. The keys in this map are the attribute names in lowercase, for example codebase. The values are the associated attribute values.
types - A list of the TYPE attributes that appeared in nested <PARAM> tags.
values - A list of the VALUE attributes that appeared in nested <PARAM> tags.
Method Detail

getAttributes

public Map getAttributes()
Gets the attributes of the MLET tag. The keys in the returned map are the attribute names in lowercase, for example codebase. The values are the associated attribute values.

Returns:
A map of the attributes of the MLET tag and their values.

getCode

public String getCode()
Gets the value of the CODE attribute of the MLET tag.

Returns:
The value of the CODE attribute of the MLET tag.

getCodeBase

public URL getCodeBase()
Gets the code base URL.

Returns:
The code base URL.

getDocumentBase

public URL getDocumentBase()
Gets the MLet text file's base URL.

Returns:
The MLet text file's base URL.

getJarFiles

public 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.

getName

public String getName()
Gets the value of the NAME attribute of the MLET tag.

Returns:
The value of the NAME attribute of the MLET tag.

getParameterTypes

public List getParameterTypes()
Gets the list of values of the TYPE attribute in each nested <PARAM> tag within the MLET tag.

Returns:
the list of types.

getParameterValues

public List getParameterValues()
Gets the list of values of the VALUE attribute in each nested <PARAM> tag within the MLET tag.

Returns:
the list of values.

getSerializedObject

public String getSerializedObject()
Gets the value of the OBJECT attribute of the MLET tag.

Returns:
The value of the OBJECT attribute of the MLET tag.

getVersion

public String getVersion()
Gets the value of the VERSION attribute of the MLET tag.

Returns:
The value of the VERSION attribute of the MLET tag.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.