Interface DocumentComponent<D>
- Type Parameters:
D- the type of the document aDocumentComponentcan belong to
public interface DocumentComponent<D>
A
DocumentComponent can belong to a document.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
belongsToDocument
boolean belongsToDocument()- Returns:
- true if the current
DocumentComponentbelongs to a document, false otherwise
-
getStoredParentDocument
D getStoredParentDocument()- Returns:
- the parent document of the current
DocumentComponent - Throws:
RuntimeException- if the currentDocumentComponentdoes not belong to a document
-