Interface XMLClassifier.Builder

    • Method Detail

      • name

        XMLClassifier.Builder name​(String name)

        The name of the classifier.

        Parameters:
        name - The name of the classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • classification

        XMLClassifier.Builder classification​(String classification)

        An identifier of the data format that the classifier matches.

        Parameters:
        classification - An identifier of the data format that the classifier matches.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        XMLClassifier.Builder creationTime​(Instant creationTime)

        The time that this classifier was registered.

        Parameters:
        creationTime - The time that this classifier was registered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdated

        XMLClassifier.Builder lastUpdated​(Instant lastUpdated)

        The time that this classifier was last updated.

        Parameters:
        lastUpdated - The time that this classifier was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        XMLClassifier.Builder version​(Long version)

        The version of this classifier.

        Parameters:
        version - The version of this classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rowTag

        XMLClassifier.Builder rowTag​(String rowTag)

        The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).

        Parameters:
        rowTag - The XML tag designating the element that contains each record in an XML document being parsed. This can't identify a self-closing element (closed by />). An empty row element that contains only attributes can be parsed as long as it ends with a closing tag (for example, <row item_a="A" item_b="B"></row> is okay, but <row item_a="A" item_b="B" /> is not).
        Returns:
        Returns a reference to this object so that method calls can be chained together.