nl.flotsam.pecia
Interface AnnotatedSection<T>
- Type Parameters:
T
- The type of content.
- All Superinterfaces:
- Contents<Section<T>>, DocumentElement<T>, Section<T>, SimpleContents<Section<T>>
- All Known Subinterfaces:
- SectionBuilder<T>
- All Known Implementing Classes:
- DefaultSectionBuilder
public interface AnnotatedSection<T>
- extends Section<T>
A specialization of Section
, allowing you to add some
Section
metadata. Once you start adding content to the
Section
, there is no way turning back to the Section
itself.
- Author:
- Wilfred Springer
mark
AnnotatedSection<T> mark(String id)
- Marks the section with a certain unique identifier. (Relevant for cross
references.)
- Parameters:
id
- The identifier of that section.
- Returns:
- The start of the
Section
, allowing you to potentially
add more metadata.)
Copyright © 2010. All Rights Reserved.