| de.finix.contelligent.components.Folder de.finix.contelligent.components.legacy.GenericCollectionXML
GenericCollectionXML | public class GenericCollectionXML extends Folder implements StringContent,ContentProvider,Renderable,Renderer,ExternalRelationSource(Code) | | This component is both a
ContentProvider /
StringContent and
a
Renderable /
Renderer combination. In both cases an XML
representation of a component-tree specified by property folder
is generated which may be restricted by setting property depth
to a positive value or -1 in which case a representation of the whole tree
gets generated.
If used as
GenericCollectionXML.getString StringContent always the whole component-tree
is returned as XML representation. If used as
Renderer the output may
be both restricted and ordered by setting property
querySubcomponents to true. In this case
QueryEngine.querySubcomponentNames gets used to fetch the names and
properties sortedBySubPath , numericSort ,
ascending are used as method-parameters where a
NumberConstraint gets constructed from properties
relation and relationArgument if numericSort is
true.
The render method takes to parameters start, number,
folder to determine the start index (start) and number of names
(number) to create an XML representation of and finally the folder (folder)
to start traversing the tree If number is not specified the number property
is taken instead or else or if number is negative all names are used.
|
getAscending | public boolean getAscending()(Code) | | |
getDepth | public int getDepth()(Code) | | |
getDynamicRelationArgument | public String getDynamicRelationArgument()(Code) | | |
getFullXML | public boolean getFullXML()(Code) | | |
getNumber | public int getNumber()(Code) | | |
getNumericSort | public boolean getNumericSort()(Code) | | |
getQuerySubcomponents | public boolean getQuerySubcomponents()(Code) | | |
getRelationArgument | public double getRelationArgument()(Code) | | |
getTargetIsFolder | public boolean getTargetIsFolder()(Code) | | |
setAscending | public void setAscending(boolean v)(Code) | | |
setDepth | public void setDepth(int d)(Code) | | |
setDynamicRelationArgument | public void setDynamicRelationArgument(String s)(Code) | | |
setFullXML | public void setFullXML(boolean v)(Code) | | |
setNumber | public void setNumber(int d)(Code) | | |
setNumericSort | public void setNumericSort(boolean v)(Code) | | |
setQuerySubcomponents | public void setQuerySubcomponents(boolean v)(Code) | | |
setRelationArgument | public void setRelationArgument(double d)(Code) | | |
setTargetIsFolder | public void setTargetIsFolder(boolean targetIsFolder)(Code) | | |
Fields inherited from de.finix.contelligent.components.Folder | final public static String METAINFO_NAME(Code)(Java Doc)
|
|
|