Interface Subpart
-
- All Known Implementing Classes:
Subpart.ExpressionSubpart,Subpart.StringSubpart
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Subpart
A subpart identifies different rendering layers (::subpartsyntax).- Since:
- 8086 (creation), 10600 (functional interface)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSubpart.ExpressionSubpartSubpart identifier given by an expression.static classSubpart.StringSubpartSimple static subpart identifier.
-
Field Summary
Fields Modifier and Type Field Description static SubpartDEFAULT_SUBPARTThe default subpart for normal rules
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetId(Environment env)Gets the ID of the subpart
-
-
-
Field Detail
-
DEFAULT_SUBPART
static final Subpart DEFAULT_SUBPART
The default subpart for normal rules
-
-
Method Detail
-
getId
java.lang.String getId(Environment env)
Gets the ID of the subpart- Parameters:
env- The environment to get it from- Returns:
- The id
-
-