private static void processDefinicniBodElement(final XMLStreamReader reader,
            final Connection con, final Object item, final String namespace)
            throws XMLStreamException {
        final String curNamespace = reader.getNamespaceURI();

        if (namespace.equals(curNamespace)) {
            final String localName = reader.getLocalName();

            if ("AdresniBod".equals(localName)
                    && item instanceof ItemWithDefinicniBod) {
                final ItemWithDefinicniBod itemDefinicniBod =
                        (ItemWithDefinicniBod) item;
                itemDefinicniBod.setDefinicniBod(
                        processGML(reader, con, namespace, "AdresniBod"));
            } else if ("Hasici".equals(localName)
                    && item instanceof ItemWithEmergency) {
                final ItemWithEmergency itemEmergency =
                        (ItemWithEmergency) item;
                itemEmergency.setHasici(
                        processGML(reader, con, namespace, "Hasici"));
            } else if ("Zachranka".equals(localName)
                    && item instanceof ItemWithEmergency) {
                final ItemWithEmergency itemEmergency =
                        (ItemWithEmergency) item;
                itemEmergency.setZachranka(
                        processGML(reader, con, namespace, "Zachranka"));
            } else {
                XMLUtils.processUnsupported(reader);
            }
        } else if (Namespaces.GML.equals(curNamespace)
                && item instanceof ItemWithDefinicniBod) {
            final ItemWithDefinicniBod itemDefinicniBod =
                    (ItemWithDefinicniBod) item;
            itemDefinicniBod.setDefinicniBod(processGML(
                    reader, con, curNamespace, reader.getLocalName()));
        } else {
            XMLUtils.processUnsupported(reader);
        }
    }