Package com.floragunn.codova.documents
Interface Document<T>
-
- All Known Subinterfaces:
DocPatch,Metadata<T>,PatchableDocument<T>,Pattern
- All Known Implementing Classes:
CacheConfig,ConfigValidationException,DocNode,DocumentParseException,DocumentParseException.DocParseError,FileDoesNotExist,InvalidAttributeValue,InvalidExpression,JacksonJsonNodeAdapter,JsonPatch,JsonPatch.Operation.Add,JsonPatch.Operation.Copy,JsonPatch.Operation.Move,JsonPatch.Operation.Remove,JsonPatch.Operation.Replace,JsonPatch.Operation.Test,JsonPathPatch,JsonPathPatch.Operation,JsonValidationError,MergePatch,MissingAttribute,PatternImpl,SimplePathPatch,SimplePathPatch.Operation,SimplePatternImpl,TLSConfig,TLSConfig.ClientCertAuthConfig,UnexpectedDocumentStructureException,UnparsedDocument,UnparsedDocument.BytesDoc,UnparsedDocument.StringDoc,UnsupportedAttribute,ValidationError,ValidationErrors,ValidationResult
public interface Document<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <T> Document<T>assertedType(Object object, Class<T> type)default Metadata<T>meta()ObjecttoBasicObject()default byte[]toBytes(Format format)default ObjecttoDeepBasicObject()static ObjecttoDeepBasicObject(Object object)default DocNodetoDocNode()default StringtoJsonString()default StringtoPrettyJsonString()default byte[]toSmile()default StringtoString(Format format)default StringtoYamlString()
-
-
-
Method Detail
-
toBasicObject
Object toBasicObject()
-
toBytes
default byte[] toBytes(Format format)
-
toJsonString
default String toJsonString()
-
toPrettyJsonString
default String toPrettyJsonString()
-
toYamlString
default String toYamlString()
-
toSmile
default byte[] toSmile()
-
toDocNode
default DocNode toDocNode()
-
toDeepBasicObject
default Object toDeepBasicObject()
-
-