|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.friendlyurl.FriendlyURLParser
public class FriendlyURLParser
Generic Friendly URL parser capable of parsing the name of the object.
Field Summary | |
---|---|
protected int |
m_nChildId
|
protected int |
m_nObjectId
|
protected java.lang.String |
m_strChildName
|
protected java.lang.String |
m_strClassId
|
protected java.lang.String |
m_strKeyword
|
protected java.lang.String |
m_strObjectName
|
Constructor Summary | |
---|---|
protected |
FriendlyURLParser()
DCA - this is only here in case child classes doesn't want to call the constructor below |
|
FriendlyURLParser(java.lang.String strKeyword,
java.lang.String strClassId,
XPStringTokenizer stURLTokens)
|
Method Summary | |
---|---|
int |
GetChildId()
Returns the child Id if one was parsed from the URL, 0 otherwise. |
java.lang.String |
GetChildName(boolean bDeNormalize)
Returns the child name if one was parsed from the URL, null otherwise. |
java.lang.String |
GetClassId()
Returns the class Id mapped to the keyword parsed from the URL. |
java.lang.String |
GetKeyword()
Returns the keyword if one was parsed from the URL, null otherwise. |
int |
GetObjectId()
Returns the object Id if one was parsed from the URL, 0 otherwise. |
java.lang.String |
GetObjectName(boolean bDeNormalize)
Returns the object name if one was parsed from the URL, null otherwise. |
void |
SetClassId(java.lang.String strClassId)
Sets the class Id mapped to the keyword parsed from the URL. |
protected java.lang.String |
URLDecode(java.lang.String strEncodedString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String m_strKeyword
protected java.lang.String m_strClassId
protected java.lang.String m_strObjectName
protected int m_nObjectId
protected java.lang.String m_strChildName
protected int m_nChildId
Constructor Detail |
---|
protected FriendlyURLParser()
public FriendlyURLParser(java.lang.String strKeyword, java.lang.String strClassId, XPStringTokenizer stURLTokens)
Method Detail |
---|
public int GetChildId()
IFriendlyURLParser
GetChildId
in interface IFriendlyURLParser
public java.lang.String GetClassId()
IFriendlyURLParser
GetClassId
in interface IFriendlyURLParser
public void SetClassId(java.lang.String strClassId)
IFriendlyURLParser
SetClassId
in interface IFriendlyURLParser
public int GetObjectId()
IFriendlyURLParser
GetObjectId
in interface IFriendlyURLParser
public java.lang.String GetChildName(boolean bDeNormalize)
IFriendlyURLParser
GetChildName
in interface IFriendlyURLParser
bDeNormalize
- Indicates whether the name should be denormalized before being returned
public java.lang.String GetKeyword()
IFriendlyURLParser
GetKeyword
in interface IFriendlyURLParser
public java.lang.String GetObjectName(boolean bDeNormalize)
IFriendlyURLParser
GetObjectName
in interface IFriendlyURLParser
bDeNormalize
- Indicates whether the name should be denormalized before being returned
protected java.lang.String URLDecode(java.lang.String strEncodedString)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |