|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.xpshared.htmlconstructs.PTStyleSheetLink
public class PTStyleSheetLink
This construct creates a style sheet HTMLLink. Eventually, this should programmatically determine the correct style sheet based upon the user's preferences and language/locale.
Constructor Summary | |
---|---|
PTStyleSheetLink(HTMLLink link)
Pass in an HTMLLink object with the complete stylesheet link, overriding base URL on this object |
|
PTStyleSheetLink(java.lang.String sFullURL)
Pass in the full URL; ignore the base URL set on this object. |
|
PTStyleSheetLink(java.lang.String sStyleSheetName,
java.lang.String sUserLanguage)
Pass in the style sheet name (without the -en and without the .css), and the user's language. |
Method Summary | |
---|---|
HTMLElement |
GetLinkAsHTMLElement(java.lang.String _strStyleSheetsBaseURL)
|
java.lang.String |
GetStyleSheetAsString(java.lang.String _strStyleSheetsBaseURL)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PTStyleSheetLink(java.lang.String sStyleSheetName, java.lang.String sUserLanguage)
sStyleSheetName
- URL to style sheetsUserLanguage
-
XPException
public PTStyleSheetLink(HTMLLink link)
link
- with full URL to style sheet
XPException
public PTStyleSheetLink(java.lang.String sFullURL)
sFullURL
- URL to style sheet
XPException
Method Detail |
---|
public HTMLElement GetLinkAsHTMLElement(java.lang.String _strStyleSheetsBaseURL)
java.lang.Exception
public java.lang.String GetStyleSheetAsString(java.lang.String _strStyleSheetsBaseURL)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |