Class | Description |
---|---|
FragmentListConverter | This helper class converts IMarkupFragment lists to (evil) Object[][] markup arrays. |
TransformerMarkupFragment | Implementation of IMarkupFragment. |
XMLFragment | Basic implementation of IXMLFragment. |
Interface | Description |
---|---|
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. |
IXMLFragment | This interface is used to access data in an xml 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. |