|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.web.BaseVarPack
com.plumtree.uiinfrastructure.application.varpacks.DevicesVarPack
public class DevicesVarPack
This var pack handles all of the different devices and markup formats that we support.
| Field Summary | |
|---|---|
static java.lang.String |
PORTAL_DEVICES_COMPONENT_TYPE
|
static java.lang.String |
VARPACK_ID
The string ID of this variable package. |
| Constructor Summary | |
|---|---|
DevicesVarPack()
|
|
| Method Summary | |
|---|---|
protected void |
ExpireContent()
You cannot expire the x_config.xml content. |
java.lang.String |
GetApplicationBaseURL()
This method returns the Application Base URL. |
java.lang.String |
GetDevice(java.lang.String strAcceptsHeader,
java.lang.String strUserAgentHeader)
This method determines the proper markup type to use for whatever device the user is using. |
protected java.lang.Object |
GetValue(java.lang.String arg0)
This method will return a chunk of from one level under the PTConfig node. |
java.lang.String |
GetVarPackID()
Get the id of this var pack instance. |
IXPEnumerator |
GetVarPackKeys()
This method will return an enumeration of the top level nodes in the XML tree that is x_config.xml. |
protected java.lang.String |
InternalGetDeviceValueAsString(java.lang.String _strSection,
java.lang.String _strSubSection)
This is an internal helper method. |
protected java.lang.Object[] |
InternalGetDeviceValues(java.lang.String _strSection)
This is an internal helper method |
protected void |
Load()
This method loads the x_config.xml file into memory. |
protected void |
Reload()
This method reloads the x_config.xml file into memory. |
| Methods inherited from class com.plumtree.uiinfrastructure.web.BaseVarPack |
|---|
CanReloadVarPackFromUI, ExpireVarPackContent, GetConfigPath, GetExpireTimeout, GetLastAccessedTimeStamp, GetReloadInterval, GetVarPackValue, IsLoaded, LoadVarPack, ReloadVarPack, SetExpireTimeout, SetReloadInterval |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String VARPACK_ID
public static final java.lang.String PORTAL_DEVICES_COMPONENT_TYPE
| Constructor Detail |
|---|
public DevicesVarPack()
| Method Detail |
|---|
public java.lang.String GetApplicationBaseURL()
public java.lang.String GetDevice(java.lang.String strAcceptsHeader,
java.lang.String strUserAgentHeader)
String - the accepts header for the device
protected java.lang.String InternalGetDeviceValueAsString(java.lang.String _strSection,
java.lang.String _strSubSection)
xmlDoc - the base xml doc to read the values from_strSection - _strSubSection - _strAttribute - bReportErrors - true implies report errors
protected java.lang.Object[] InternalGetDeviceValues(java.lang.String _strSection)
xmlDoc - the base xml doc to read the values from_strSection - _strSubSection - _strAttribute - bReportErrors - true implies report errors
public java.lang.String GetVarPackID()
BaseVarPack
GetVarPackID in interface IVarPackGetVarPackID in class BaseVarPackIVarPack.GetVarPackID()public IXPEnumerator GetVarPackKeys()
GetVarPackKeys in interface IVarPackGetVarPackKeys in class BaseVarPackIVarPack.GetVarPackKeys()protected void ExpireContent()
ExpireContent in class BaseVarPackcom.plumtree.xpsupport.web.BaseVarPack#ExpireContent()protected java.lang.Object GetValue(java.lang.String arg0)
GetValue in class BaseVarPackarg0 - The key for the lookup
com.plumtree.xpsupport.web.BaseVarPack#GetValue(String)protected void Load()
Load in class BaseVarPackcom.plumtree.xpsupport.web.BaseVarPack#Load()protected void Reload()
Reload in class BaseVarPackcom.plumtree.xpsupport.web.BaseVarPack#Reload()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||