Class ElementCountParser

  • All Implemented Interfaces:
    de.westnordost.osmapi.ApiResponseReader<ElementCount>

    public class ElementCountParser
    extends de.westnordost.osmapi.common.XmlParser
    implements de.westnordost.osmapi.ApiResponseReader<ElementCount>
    Parses a out count; response.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void onEndElement()  
      protected void onStartElement()  
      ElementCount parse​(java.io.InputStream in)  
      • Methods inherited from class de.westnordost.osmapi.common.XmlParser

        doParse, getAttribute, getBooleanAttribute, getByteAttribute, getDoubleAttribute, getFloatAttribute, getIntAttribute, getLongAttribute, getName, getParentName, getText, onTextNode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ElementCountParser

        public ElementCountParser()
    • Method Detail

      • parse

        @NotNull
        public ElementCount parse​(@NotNull
                                  java.io.InputStream in)
                           throws java.io.IOException
        Specified by:
        parse in interface de.westnordost.osmapi.ApiResponseReader<ElementCount>
        Throws:
        java.io.IOException
      • onStartElement

        protected void onStartElement()
        Specified by:
        onStartElement in class de.westnordost.osmapi.common.XmlParser
      • onEndElement

        protected void onEndElement()
        Specified by:
        onEndElement in class de.westnordost.osmapi.common.XmlParser