All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.mb.MBMoniker

java.lang.Object
   |
   +----com.ibm.beans.mb.MBMoniker

public class MBMoniker
extends Object
implements Serializable
This is the wrapper class for monikers. A moniker is the name and path of a file element, typically used to refer to an MBElement. When monikers have a pathname syntax, they should always use the forward slash (/), not the backslash or the system dependent file separator character. By default, monikers specified using backslash notation are converted to the proper forward slash notation. You can control this behavior with the setAutoForwardSlash() method.


Constructor Index

 o MBMoniker()
Constructs an MBMoniker with a null moniker value.
 o MBMoniker(String)
Constructs an MBMoniker with the specified value.

Method Index

 o doAutoForwardSlash(String)
Performs forward slash correction.
 o getAutoForwardSlash()
Gets the autoForwardSlash flag.
 o getMoniker()
Gets the moniker value.
 o setAutoForwardSlash(boolean)
Sets or resets the autoForwardSlash flag.
 o setMoniker(String)
Sets the moniker value.
 o toString()
Gets the moniker value.

Constructors

 o MBMoniker
 public MBMoniker()
Constructs an MBMoniker with a null moniker value.

 o MBMoniker
 public MBMoniker(String m)
Constructs an MBMoniker with the specified value.

Parameters:
m - The moniker value.

Methods

 o getMoniker
 public String getMoniker()
Gets the moniker value.

Returns:
The moniker value.
 o toString
 public String toString()
Gets the moniker value.

Returns:
The moniker value.
Overrides:
toString in class Object
 o setMoniker
 public void setMoniker(String s)
Sets the moniker value.

Parameters:
s - The new moniker value.
 o getAutoForwardSlash
 public boolean getAutoForwardSlash()
Gets the autoForwardSlash flag.

Returns:
The autoForwardSlash flag value.
 o setAutoForwardSlash
 public void setAutoForwardSlash(boolean v)
Sets or resets the autoForwardSlash flag.

Parameters:
v - The new autoForwardSlash value.
 o doAutoForwardSlash
 protected String doAutoForwardSlash(String m)
Performs forward slash correction. Controlled by setAutoForwardSlash().

Parameters:
m - The moniker to be corrected.
Returns:
The corrected moniker.

All Packages  Class Hierarchy  This Package  Previous  Next  Index