Class NullDocument
java.lang.Object
software.amazon.awssdk.core.document.internal.NullDocument
- All Implemented Interfaces:
 Serializable,Document
- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.core.document.Document
Document.ListBuilder, Document.MapBuilder - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<R> Raccept(DocumentVisitor<? extends R> visitor) Accepts a visitor with the Document.voidaccept(VoidDocumentVisitor visitor) Accepts a visitor with the Document.booleanasList()asMap()asNumber()asString()booleaninthashCode()booleanisNull()Checks if the document is anullvalue.toString()unwrap()Unwraps NullDocument as null. 
- 
Constructor Details
- 
NullDocument
public NullDocument() 
 - 
 - 
Method Details
- 
unwrap
Unwraps NullDocument as null. - 
asBoolean
public boolean asBoolean() - 
asString
 - 
asNumber
 - 
asMap
 - 
isNull
public boolean isNull()Description copied from interface:DocumentChecks if the document is anullvalue. - 
asList
 - 
accept
Accepts a visitor with the Document. - 
accept
Accepts a visitor with the Document. Calls visitNull of visitor. - 
toString
 - 
hashCode
public int hashCode() - 
equals
 
 -