@PublicApi public interface ScanningAttributeContext extends RowAttributeContext
The context interface for scanning attribute loaders.
ScanningAttributeLoader
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Returns the depth of the row currently being loaded.
|
StructureRow |
getPrecedingRow()
Returns the row that immediately precedes this row in the forest.
|
int |
getPrecedingRowDepth()
Returns the depth of the row that immediately precedes this row in the forest.
|
getRow
addTrail, addTrail, getDependencyAttributeValue, getDependencyValue, valueExpires
getBaseStructureId, getBaseUrl, getI18n, getI18nHelper, getLoadTimeMillis, getLoadTimeNanos, getLocale, getObject, getTimeZone, getUser, putObject
int getDepth()
Returns the depth of the row currently being loaded.
Root elements have depth of 0
. Super-root is never loaded with a scanning loader.
@Nullable StructureRow getPrecedingRow()
null
(and not the super-root!)int getPrecedingRowDepth()
Returns the depth of the row that immediately precedes this row in the forest. When calculating the very first row, returns -1
.
Root elements have depth of 0
. Super-root is never loaded with a scanning loader.
Copyright © 2024 Tempo Software. All Rights Reserved.