All Packages Class Hierarchy This Package Previous Next Index
oracle.jsp.jml.JmlString
int
in a Java bean. It has
a single property, value
that represents the bean's typed value.
It is designed to work more effectively in JSPs than Java primitive types
or their corresponding wrapper java.lang.*
objects. Specifically,
JmlString overcomes:
java.lang.*
objects using java.lang.*
object's value after created.
JmlString
object.
JmlString
object whose value is
JmlString
.
JmlString
object whose value is
java.lang.String
.
value
property is equal to the JmlString.
value
property is equal to the java.lang.String.
value
property as a
java.lang.String
.
value
property is "".
value
property to the
JmlString
.
value
property to the
java.lang.String
.
public JmlString()
JmlString
object. The object's default
value
is a zero length (empty) string, "".
public JmlString(String str)
JmlString
object whose value is
java.lang.String
.
public JmlString(JmlString str)
JmlString
object whose value is
JmlString
.
public String getValue()
value
property as a
java.lang.String
.
public void setValue(String str)
value
property to the
java.lang.String
. If the java.lang.String
is null
, the value is set to an zero length (empty)
string.
public void setTypedValue(JmlString str)
value
property to the
JmlString
. If the JmlString
is null
, the value is set to an zero length (empty)
string.
public boolean isEmpty()
value
property is "".
public boolean equals(String s)
value
property is equal to the java.lang.String.
public boolean equals(JmlString s)
value
property is equal to the JmlString.
All Packages Class Hierarchy This Package Previous Next Index