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.
-
MBMoniker()
- Constructs an MBMoniker with a null moniker value.
-
MBMoniker(String)
- Constructs an MBMoniker with the
specified value.
-
doAutoForwardSlash(String)
- Performs forward slash correction.
-
getAutoForwardSlash()
- Gets the autoForwardSlash flag.
-
getMoniker()
- Gets the moniker value.
-
setAutoForwardSlash(boolean)
- Sets or resets the autoForwardSlash flag.
-
setMoniker(String)
- Sets the moniker value.
-
toString()
- Gets the moniker value.
MBMoniker
public MBMoniker()
- Constructs an MBMoniker with a null moniker value.
MBMoniker
public MBMoniker(String m)
- Constructs an MBMoniker with the
specified value.
- Parameters:
- m - The moniker value.
getMoniker
public String getMoniker()
- Gets the moniker value.
- Returns:
- The moniker value.
toString
public String toString()
- Gets the moniker value.
- Returns:
- The moniker value.
- Overrides:
- toString in class Object
setMoniker
public void setMoniker(String s)
- Sets the moniker value.
- Parameters:
- s - The new moniker value.
getAutoForwardSlash
public boolean getAutoForwardSlash()
- Gets the autoForwardSlash flag.
- Returns:
- The autoForwardSlash flag value.
setAutoForwardSlash
public void setAutoForwardSlash(boolean v)
- Sets or resets the autoForwardSlash flag.
- Parameters:
- v - The new autoForwardSlash value.
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