| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.loading.MLetContent
public class MLetContent
This class represents the contents of the MLET tag.
 It can be consulted by a subclass of MLet that overrides
 the MLet.check method.
| Constructor Summary | |
|---|---|
| MLetContent(URL url,
            Map<String,String> attributes,
            List<String> types,
            List<String> values)Creates an MLetinstance initialized with attributes read
 from anMLETtag in an MLet text file. | |
| Method Summary | |
|---|---|
|  Map<String,String> | getAttributes()Gets the attributes of the MLETtag. | 
|  String | getCode()Gets the value of the CODEattribute of theMLETtag. | 
|  URL | getCodeBase()Gets the code base URL. | 
|  URL | getDocumentBase()Gets the MLet text file's base URL. | 
|  String | getJarFiles()Gets the list of .jarfiles specified by theARCHIVEattribute of theMLETtag. | 
|  String | getName()Gets the value of the NAMEattribute of theMLETtag. | 
|  List<String> | getParameterTypes()Gets the list of values of the TYPEattribute in
 each nested <PARAM> tag within theMLETtag. | 
|  List<String> | getParameterValues()Gets the list of values of the VALUEattribute in
 each nested <PARAM> tag within theMLETtag. | 
|  String | getSerializedObject()Gets the value of the OBJECTattribute of theMLETtag. | 
|  String | getVersion()Gets the value of the VERSIONattribute of theMLETtag. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MLetContent(URL url,
                   Map<String,String> attributes,
                   List<String> types,
                   List<String> values)
MLet instance initialized with attributes read
 from an MLET tag in an MLet text file.
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 | 
|---|
public Map<String,String> getAttributes()
MLET tag.  The keys in
 the returned map are the attribute names in lowercase, for
 example codebase.  The values are the associated
 attribute values.
MLET tag 
 and their values.public URL getDocumentBase()
public URL getCodeBase()
public String getJarFiles()
.jar files specified by the ARCHIVE 
 attribute of the MLET tag.
.jar file names.public String getCode()
CODE 
 attribute of the MLET tag.
CODE 
 attribute of the MLET tag.public String getSerializedObject()
OBJECT
 attribute of the MLET tag.
OBJECT 
 attribute of the MLET tag.public String getName()
NAME
 attribute of the MLET tag.
NAME
 attribute of the MLET tag.public String getVersion()
VERSION
 attribute of the MLET tag.
VERSION
 attribute of the MLET tag.public List<String> getParameterTypes()
TYPE attribute in
 each nested <PARAM> tag within the MLET
 tag.
public List<String> getParameterValues()
VALUE attribute in
 each nested <PARAM> tag within the MLET
 tag.
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.