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
class StringValueExp

java.lang.Object extended by javax.management.StringValueExp
All Implemented Interfaces:
ValueExp

public class StringValueExp
extends Object
implements ValueExp

Represents strings that are arguments to relational constraints. A StringValueExp may be used anywhere a ValueExp is required.


Constructor Summary

          Basic constructor.

          Creates a new StringValueExp representing the given string.
 
Method Summary
 ValueExp

          Applies the ValueExp on a MBean.
 String

          Returns the string represented by the StringValueExp instance.
 void

          Sets the MBean server on which the query is to be performed.
 String

          Returns the string representing the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringValueExp

public StringValueExp()
Basic constructor.


StringValueExp

public StringValueExp(String val)
Creates a new StringValueExp representing the given string.

Parameters:
val - the string that will be the value of this expression
Method Detail

apply

public ValueExp apply(ObjectName name)
               throws BadStringOperationException,
                      BadBinaryOpValueExpException,
                      BadAttributeValueExpException,
                      InvalidApplicationException
Applies the ValueExp on a MBean.

Parameters:
name - The name of the MBean on which the ValueExp will be applied.
Returns:
The ValueExp.
Throws:
BadStringOperationException
BadBinaryOpValueExpException
BadAttributeValueExpException
InvalidApplicationException

getValue

public String getValue()
Returns the string represented by the StringValueExp instance.

Returns:
the string.

setMBeanServer

public void setMBeanServer(MBeanServer s)
Sets the MBean server on which the query is to be performed.

Parameters:
s - The MBean server on which the query is to be performed.

toString

public String toString()
Returns the string representing the object.

Overrides:
toString in class Object


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