Class TextParseNodeFactory

java.lang.Object
com.microsoft.kiota.serialization.TextParseNodeFactory
All Implemented Interfaces:
com.microsoft.kiota.serialization.ParseNodeFactory

public class TextParseNodeFactory extends Object implements com.microsoft.kiota.serialization.ParseNodeFactory
Creates new text parse nodes
  • Constructor Details

    • TextParseNodeFactory

      public TextParseNodeFactory()
      Creates a new instance of the factory
  • Method Details

    • getValidContentType

      @Nonnull public String getValidContentType()
      Specified by:
      getValidContentType in interface com.microsoft.kiota.serialization.ParseNodeFactory
    • getParseNode

      @Nonnull public com.microsoft.kiota.serialization.ParseNode getParseNode(@Nonnull String contentType, @Nonnull InputStream rawResponse)
      Specified by:
      getParseNode in interface com.microsoft.kiota.serialization.ParseNodeFactory