Package com.floragunn.codova.documents
Class UnparsedDocument.StringDoc
java.lang.Object
com.floragunn.codova.documents.UnparsedDocument<Object>
com.floragunn.codova.documents.UnparsedDocument.StringDoc
- Enclosing class:
- UnparsedDocument<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.floragunn.codova.documents.UnparsedDocument
UnparsedDocument.BytesDoc, UnparsedDocument.StringDoc -
Field Summary
Fields inherited from class com.floragunn.codova.documents.UnparsedDocument
contentType, format -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.floragunn.codova.documents.UnparsedDocument
from, from, from, from, from, fromJson, getContentType, getMediaType, toBasicObjectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.floragunn.codova.documents.Document
meta, toBytes, toDeepBasicObject, toDocNode, toJsonString, toPrettyJsonString, toSmile, toYamlString
-
Constructor Details
-
StringDoc
-
StringDoc
-
-
Method Details
-
parseAsMap
public Map<String,Object> parseAsMap() throws DocumentParseException, UnexpectedDocumentStructureException- Specified by:
parseAsMapin classUnparsedDocument<Object>- Throws:
DocumentParseExceptionUnexpectedDocumentStructureException
-
parseAsDocNode
- Specified by:
parseAsDocNodein classUnparsedDocument<Object>- Throws:
DocumentParseException
-
parse
- Specified by:
parsein classUnparsedDocument<Object>- Throws:
DocumentParseException
-
getSource
-
getFormat
- Overrides:
getFormatin classUnparsedDocument<Object>
-
toString
-
getSourceAsString
- Specified by:
getSourceAsStringin classUnparsedDocument<Object>
-
createParser
public com.fasterxml.jackson.core.JsonParser createParser() throws com.fasterxml.jackson.core.JsonParseException, IOException- Specified by:
createParserin classUnparsedDocument<Object>- Throws:
com.fasterxml.jackson.core.JsonParseExceptionIOException
-
toString
-