Package com.azure.xml

Interface XmlElementConsumer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface XmlElementConsumer
A callback used when processing an XML element.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    consume(String namespaceUri, String localName, XmlReader reader)
    Consume an XML element.
  • Method Details

    • consume

      void consume(String namespaceUri, String localName, XmlReader reader) throws XMLStreamException
      Consume an XML element.
      Parameters:
      namespaceUri - The namespace URI of the element being processed.
      localName - The local name of the element being processed.
      reader - The XmlReader processing the element.
      Throws:
      XMLStreamException - If an XML stream error occurs during processing of the element.