- java.lang.Object
- 
- javax.management.loading.MLetContent
 
- 
 
 public class MLetContent extends Object This class represents the contents of theMLETtag. It can be consulted by a subclass ofMLetthat overrides theMLet.checkmethod.- Since:
- 1.6
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getAttributes()Gets the attributes of theMLETtag.StringgetCode()Gets the value of theCODEattribute of theMLETtag.URLgetCodeBase()Gets the code base URL.URLgetDocumentBase()Gets the MLet text file's base URL.StringgetJarFiles()Gets the list of.jarfiles specified by theARCHIVEattribute of theMLETtag.StringgetName()Gets the value of theNAMEattribute of theMLETtag.List<String>getParameterTypes()Gets the list of values of theTYPEattribute in each nested <PARAM> tag within theMLETtag.List<String>getParameterValues()Gets the list of values of theVALUEattribute in each nested <PARAM> tag within theMLETtag.StringgetSerializedObject()Gets the value of theOBJECTattribute of theMLETtag.StringgetVersion()Gets the value of theVERSIONattribute of theMLETtag.
 
- 
- 
- 
Constructor Detail- 
MLetContentpublic MLetContent(URL url, Map<String,String> attributes, List<String> types, List<String> values) Creates anMLetinstance initialized with attributes read from anMLETtag in an MLet text file.- Parameters:
- url- The URL of the MLet text file containing the- MLETtag.
- attributes- A map of the attributes of the- MLETtag. 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- 
getAttributespublic Map<String,String> getAttributes() Gets the attributes of theMLETtag. The keys in the returned map are the attribute names in lowercase, for examplecodebase. The values are the associated attribute values.- Returns:
- A map of the attributes of the MLETtag and their values.
 
 - 
getDocumentBasepublic URL getDocumentBase() Gets the MLet text file's base URL.- Returns:
- The MLet text file's base URL.
 
 - 
getCodeBasepublic URL getCodeBase() Gets the code base URL.- Returns:
- The code base URL.
 
 - 
getJarFilespublic String getJarFiles() Gets the list of.jarfiles specified by theARCHIVEattribute of theMLETtag.- Returns:
- A comma-separated list of .jarfile names.
 
 - 
getCodepublic String getCode() Gets the value of theCODEattribute of theMLETtag.- Returns:
- The value of the CODEattribute of theMLETtag.
 
 - 
getSerializedObjectpublic String getSerializedObject() Gets the value of theOBJECTattribute of theMLETtag.- Returns:
- The value of the OBJECTattribute of theMLETtag.
 
 - 
getNamepublic String getName() Gets the value of theNAMEattribute of theMLETtag.- Returns:
- The value of the NAMEattribute of theMLETtag.
 
 - 
getVersionpublic String getVersion() Gets the value of theVERSIONattribute of theMLETtag.- Returns:
- The value of the VERSIONattribute of theMLETtag.
 
 - 
getParameterTypespublic List<String> getParameterTypes() Gets the list of values of theTYPEattribute in each nested <PARAM> tag within theMLETtag.- Returns:
- the list of types.
 
 
- 
 
-