com.ibm.xsp.page.compiled
Class AbstractCompiledPage.ComponentInfo

java.lang.Object
  extended by com.ibm.xsp.page.compiled.AbstractCompiledPage.ComponentInfo
Enclosing class:
AbstractCompiledPage

public static class AbstractCompiledPage.ComponentInfo
extends java.lang.Object

Used in one of the classes in the generated XPage .java file, not intended to be used programmatically by application developers or third party Java developers. See AbstractCompiledPage for details.


Field Summary
static AbstractCompiledPage.ComponentInfo EMPTY_MARKUP
          A markup componentInfo with no children and no facets.
static AbstractCompiledPage.ComponentInfo EMPTY_NORMAL
          A non-markup componentInfo with no children and no facets.
 
Constructor Summary
AbstractCompiledPage.ComponentInfo(boolean markup)
           
AbstractCompiledPage.ComponentInfo(boolean markup, int[] children)
           
AbstractCompiledPage.ComponentInfo(boolean markup, int[] children, java.lang.Object[][] facets)
           
 
Method Summary
 java.lang.Object getChildren()
           
 java.lang.String[] getFacetNames()
           
 java.lang.Object[][] getFacets()
           
 boolean isMarkup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_MARKUP

public static final AbstractCompiledPage.ComponentInfo EMPTY_MARKUP
A markup componentInfo with no children and no facets.


EMPTY_NORMAL

public static final AbstractCompiledPage.ComponentInfo EMPTY_NORMAL
A non-markup componentInfo with no children and no facets.

Constructor Detail

AbstractCompiledPage.ComponentInfo

public AbstractCompiledPage.ComponentInfo(boolean markup,
                                          int[] children,
                                          java.lang.Object[][] facets)
Parameters:
id -
markup -
children -
facets - An array of String arrays with 2 elements - the first the facetName, the 2nd it's component Id. The array may be empty if there are no facets for the component. If null an empty string array array will be used.
Throws:
java.lang.IllegalArgumentException - if the id is null or the facets String[][] contains a String[] with length less than 2.

AbstractCompiledPage.ComponentInfo

public AbstractCompiledPage.ComponentInfo(boolean markup,
                                          int[] children)

AbstractCompiledPage.ComponentInfo

public AbstractCompiledPage.ComponentInfo(boolean markup)
Method Detail

getChildren

public java.lang.Object getChildren()

getFacets

public java.lang.Object[][] getFacets()

isMarkup

public boolean isMarkup()

getFacetNames

public java.lang.String[] getFacetNames()