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 (::subpart
syntax).- Since:
- 8086 (creation), 10600 (functional interface)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Subpart.ExpressionSubpart
Subpart identifier given by an expression.static class
Subpart.StringSubpart
Simple static subpart identifier.
-
Field Summary
Fields Modifier and Type Field Description static Subpart
DEFAULT_SUBPART
The default subpart for normal rules
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId(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
String getId(Environment env)
Gets the ID of the subpart- Parameters:
env
- The environment to get it from- Returns:
- The id
-
-