Class EmptyDocumentSend
java.lang.Object
eu.cloudnetservice.driver.impl.document.empty.EmptyDocumentSend
- All Implemented Interfaces:
eu.cloudnetservice.driver.document.send.DocumentSend
final class EmptyDocumentSend
extends Object
implements eu.cloudnetservice.driver.document.send.DocumentSend
A document send implementation that contains nothing.
- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final eu.cloudnetservice.driver.document.send.DocumentSendThe singleton instance of this document send implementation.private static final eu.cloudnetservice.driver.document.send.element.ObjectElementThe singleton instance of the root element returned by this document send. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSealed constructor to prevent accidental instantiations of this class. -
Method Summary
Modifier and TypeMethodDescriptioneu.cloudnetservice.driver.document.Document.Mutable@NonNull eu.cloudnetservice.driver.document.send.element.ObjectElement
-
Field Details
-
INSTANCE
public static final eu.cloudnetservice.driver.document.send.DocumentSend INSTANCEThe singleton instance of this document send implementation. -
ROOT_ELEMENT
private static final eu.cloudnetservice.driver.document.send.element.ObjectElement ROOT_ELEMENTThe singleton instance of the root element returned by this document send. This element has no child elements set.
-
-
Constructor Details
-
EmptyDocumentSend
private EmptyDocumentSend()Sealed constructor to prevent accidental instantiations of this class. Use the singleton instance fromINSTANCEinstead.
-
-
Method Details
-
rootElement
-
into
-