|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMarkupFragment
This interface is used to access data in a markup fragment. IMPORTANT: DO NOT ADD ANY SETTERS to the IMarkupFragment interface! i.e. do NOT add a method like SetFragmentValue(...) A shallow copy of markup array is put into the portlet content cache. This means that if an actual object (i.e. MarkupFragment) that's inside the array changes in PostProcess, then what's inside the cache changes as well! So instead of having setters on a MarkupFragment, in PostProcess we create new MarkupFragments and place them into the array that will be returned to the UI. This assures that the cached markup array will not be affected by PostProcess.
Method Summary | |
---|---|
java.lang.Object |
GetFragment()
Get the fragment. |
int |
GetFragmentType()
|
java.lang.String |
GetStringFragment()
Get the string fragment. |
IXMLFragment |
GetXMLFragment()
Get the xml fragment. |
Method Detail |
---|
int GetFragmentType()
java.lang.String GetStringFragment()
XPFormatException
- if the fragment is of the wrong type.IXMLFragment GetXMLFragment()
XPFormatException
- if the fragment is of the wrong type.java.lang.Object GetFragment()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |