text:
<?xml version="1.0" encoding="UTF-8"?>
<csw:GetRecordByIdResponse xmlns:csw="http://www.opengis.net/cat/csw/2.0.2">
  <gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:geonet="http://www.fao.org/geonetwork" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://schemas.opengis.net/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd">
    <gmd:fileIdentifier>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">ca1d704a-cdee-4968-aa65-9c353863e4b1</gco:CharacterString>
    </gmd:fileIdentifier>
    <gmd:language>
      <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="dut">Nederlands</gmd:LanguageCode>
    </gmd:language>
    <gmd:characterSet>
      <gmd:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_CharacterSetCode" codeListValue="utf8">utf8</gmd:MD_CharacterSetCode>
    </gmd:characterSet>
    <gmd:parentIdentifier>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">c9128330-1124-4c46-9d37-77796e10df71</gco:CharacterString>
    </gmd:parentIdentifier>
    <gmd:hierarchyLevel>
      <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset">dataset</gmd:MD_ScopeCode>
    </gmd:hierarchyLevel>
    <gmd:hierarchyLevelName>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">dataset</gco:CharacterString>
    </gmd:hierarchyLevelName>
    <gmd:contact>
      <gmd:CI_ResponsibleParty>
        <gmd:organisationName>
          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Databank Ondergrond Vlaanderen (DOV)</gco:CharacterString>
        </gmd:organisationName>
        <gmd:contactInfo>
          <gmd:CI_Contact>
            <gmd:phone>
              <gmd:CI_Telephone>
                <gmd:voice>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">+32 9 240 75 93</gco:CharacterString>
                </gmd:voice>
              </gmd:CI_Telephone>
            </gmd:phone>
            <gmd:address>
              <gmd:CI_Address>
                <gmd:deliveryPoint>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Technologiepark-Zwijnaarde 68</gco:CharacterString>
                </gmd:deliveryPoint>
                <gmd:city>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Gent</gco:CharacterString>
                </gmd:city>
                <gmd:postalCode>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">9052</gco:CharacterString>
                </gmd:postalCode>
                <gmd:country>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">België</gco:CharacterString>
                </gmd:country>
                <gmd:electronicMailAddress>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">dov@vlaanderen.be</gco:CharacterString>
                </gmd:electronicMailAddress>
              </gmd:CI_Address>
            </gmd:address>
            <gmd:onlineResource>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be</gmd:URL>
                </gmd:linkage>
              </gmd:CI_OnlineResource>
            </gmd:onlineResource>
          </gmd:CI_Contact>
        </gmd:contactInfo>
        <gmd:role>
          <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
        </gmd:role>
      </gmd:CI_ResponsibleParty>
    </gmd:contact>
    <gmd:dateStamp>
      <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2022-03-24</gco:Date>
    </gmd:dateStamp>
    <gmd:metadataStandardName>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">ISO 19115/2003/Cor.1:2006/INSPIRE-TG2.0</gco:CharacterString>
    </gmd:metadataStandardName>
    <gmd:metadataStandardVersion>
      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">GDI-Vlaanderen Best Practices - versie 2.0</gco:CharacterString>
    </gmd:metadataStandardVersion>
    <gmd:referenceSystemInfo>
      <gmd:MD_ReferenceSystem>
        <gmd:referenceSystemIdentifier>
          <gmd:RS_Identifier>
            <gmd:code>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.opengis.net/def/crs/EPSG/0/31370">EPSG:31370</gmx:Anchor>
            </gmd:code>
          </gmd:RS_Identifier>
        </gmd:referenceSystemIdentifier>
      </gmd:MD_ReferenceSystem>
    </gmd:referenceSystemInfo>
    <gmd:identificationInfo>
      <gmd:MD_DataIdentification id="be-dov-7a4072f6-78f4-4f21-8caa-ef5ee5a714c1">
        <gmd:citation>
          <gmd:CI_Citation>
            <gmd:title>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Informele hydrogeologische stratigrafie</gco:CharacterString>
            </gmd:title>
            <gmd:date>
              <gmd:CI_Date>
                <gmd:date>
                  <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2017-03-06</gco:Date>
                </gmd:date>
                <gmd:dateType>
                  <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                </gmd:dateType>
              </gmd:CI_Date>
            </gmd:date>
            <gmd:identifier>
              <gmd:MD_Identifier>
                <gmd:code>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">https://www.dov.vlaanderen.be/dataset/7a4072f6-78f4-4f21-8caa-ef5ee5a714c1</gco:CharacterString>
                </gmd:code>
              </gmd:MD_Identifier>
            </gmd:identifier>
          </gmd:CI_Citation>
        </gmd:citation>
        <gmd:abstract>
          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Een informele hydrogeologische stratigrafie van een boring geeft, op basis van de (gecodeerde) lithologie, een indeling weer naar de al dan niet watervoerende eigenschappen van een bepaald beschreven diepte-interval.
Het verschil met de hydrogeologische stratigrafie is dat voor de informele hydrogeologische stratigrafie geen algemene standaard gebruikt wordt.  Bij de hydrogeologische stratigrafie wordt de Hydrogeologische Codering van de Ondergrond van Vlaanderen (HCOV). Deze kan beschouwd worden als de officiele hydrogeologische codering voor het Vlaams Gewest.</gco:CharacterString>
        </gmd:abstract>
        <gmd:purpose>
          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Indeling van een bepaald beschreven diepte-interval op basis van de al dan niet watervoerende eigenschappen van dit diepte-interval.</gco:CharacterString>
        </gmd:purpose>
        <gmd:status>
          <gmd:MD_ProgressCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode" codeListValue="onGoing">onGoing</gmd:MD_ProgressCode>
        </gmd:status>
        <gmd:pointOfContact>
          <gmd:CI_ResponsibleParty>
            <gmd:organisationName>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Databank Ondergrond Vlaanderen (DOV)</gco:CharacterString>
            </gmd:organisationName>
            <gmd:contactInfo>
              <gmd:CI_Contact>
                <gmd:phone>
                  <gmd:CI_Telephone>
                    <gmd:voice>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">+32 9 240 75 93</gco:CharacterString>
                    </gmd:voice>
                  </gmd:CI_Telephone>
                </gmd:phone>
                <gmd:address>
                  <gmd:CI_Address>
                    <gmd:deliveryPoint>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Technologiepark-Zwijnaarde 68</gco:CharacterString>
                    </gmd:deliveryPoint>
                    <gmd:city>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Gent</gco:CharacterString>
                    </gmd:city>
                    <gmd:postalCode>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">9052</gco:CharacterString>
                    </gmd:postalCode>
                    <gmd:country>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">België</gco:CharacterString>
                    </gmd:country>
                    <gmd:electronicMailAddress>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">dov@vlaanderen.be</gco:CharacterString>
                    </gmd:electronicMailAddress>
                  </gmd:CI_Address>
                </gmd:address>
                <gmd:onlineResource>
                  <gmd:CI_OnlineResource>
                    <gmd:linkage>
                      <gmd:URL>https://www.dov.vlaanderen.be</gmd:URL>
                    </gmd:linkage>
                  </gmd:CI_OnlineResource>
                </gmd:onlineResource>
              </gmd:CI_Contact>
            </gmd:contactInfo>
            <gmd:role>
              <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="distributor">distributor</gmd:CI_RoleCode>
            </gmd:role>
          </gmd:CI_ResponsibleParty>
        </gmd:pointOfContact>
        <gmd:pointOfContact>
          <gmd:CI_ResponsibleParty>
            <gmd:organisationName>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Ondersteunend Centrum Databank Ondergrond Vlaanderen</gco:CharacterString>
            </gmd:organisationName>
            <gmd:contactInfo>
              <gmd:CI_Contact>
                <gmd:phone>
                  <gmd:CI_Telephone>
                    <gmd:voice>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">+32 9 240 75 93</gco:CharacterString>
                    </gmd:voice>
                  </gmd:CI_Telephone>
                </gmd:phone>
                <gmd:address>
                  <gmd:CI_Address>
                    <gmd:deliveryPoint>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Technologiepark-Zwijnaarde 68</gco:CharacterString>
                    </gmd:deliveryPoint>
                    <gmd:city>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Gent</gco:CharacterString>
                    </gmd:city>
                    <gmd:postalCode>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">9052</gco:CharacterString>
                    </gmd:postalCode>
                    <gmd:country>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">België</gco:CharacterString>
                    </gmd:country>
                    <gmd:electronicMailAddress>
                      <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">dov@vlaanderen.be</gco:CharacterString>
                    </gmd:electronicMailAddress>
                  </gmd:CI_Address>
                </gmd:address>
                <gmd:onlineResource>
                  <gmd:CI_OnlineResource>
                    <gmd:linkage>
                      <gmd:URL>https://www.dov.vlaanderen.be</gmd:URL>
                    </gmd:linkage>
                  </gmd:CI_OnlineResource>
                </gmd:onlineResource>
              </gmd:CI_Contact>
            </gmd:contactInfo>
            <gmd:role>
              <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="publisher">publisher</gmd:CI_RoleCode>
            </gmd:role>
          </gmd:CI_ResponsibleParty>
        </gmd:pointOfContact>
        <gmd:graphicOverview>
          <gmd:MD_BrowseGraphic>
            <gmd:fileName>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">https://www.dov.vlaanderen.be/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=false&STYLES&LAYERS=interpretaties:informele_hydrogeologische_stratigrafie&SRS=EPSG%3A31370&WIDTH=858&HEIGHT=330&BBOX=9518.482229747839%2C148172.73525929108%2C271454.8939534676%2C248854.86152133934</gco:CharacterString>
            </gmd:fileName>
            <gmd:fileType>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">png</gco:CharacterString>
            </gmd:fileType>
          </gmd:MD_BrowseGraphic>
        </gmd:graphicOverview>
        <gmd:descriptiveKeywords>
          <gmd:MD_Keywords>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://inspire.ec.europa.eu/theme/ge">Geologie</gmx:Anchor>
            </gmd:keyword>
            <gmd:thesaurusName xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://inspire.ec.europa.eu/id/citation/voc/gemet-inspire-themes-1.0">
              <gmd:CI_Citation>
                <gmd:title>
                  <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xlink:href="http://www.eionet.europa.eu/gemet/inspire_themes">GEMET - INSPIRE themes, version 1.0</gmx:Anchor>
                </gmd:title>
                <gmd:date>
                  <gmd:CI_Date>
                    <gmd:date>
                      <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2008-06-01</gco:Date>
                    </gmd:date>
                    <gmd:dateType>
                      <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                    </gmd:dateType>
                  </gmd:CI_Date>
                </gmd:date>
              </gmd:CI_Citation>
            </gmd:thesaurusName>
          </gmd:MD_Keywords>
        </gmd:descriptiveKeywords>
        <gmd:descriptiveKeywords>
          <gmd:MD_Keywords>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">ondergrond</gco:CharacterString>
            </gmd:keyword>
            <gmd:thesaurusName>
              <gmd:CI_Citation>
                <gmd:title>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">GEMET - Concepten, versie 2.4</gco:CharacterString>
                </gmd:title>
                <gmd:date>
                  <gmd:CI_Date>
                    <gmd:date>
                      <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2010-01-13</gco:Date>
                    </gmd:date>
                    <gmd:dateType>
                      <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                    </gmd:dateType>
                  </gmd:CI_Date>
                </gmd:date>
              </gmd:CI_Citation>
            </gmd:thesaurusName>
          </gmd:MD_Keywords>
        </gmd:descriptiveKeywords>
        <gmd:descriptiveKeywords>
          <gmd:MD_Keywords>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">DOV</gco:CharacterString>
            </gmd:keyword>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Vlaanderen</gco:CharacterString>
            </gmd:keyword>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Ondergrond</gco:CharacterString>
            </gmd:keyword>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Databank Ondergrond Vlaanderen</gco:CharacterString>
            </gmd:keyword>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Monster</gco:CharacterString>
            </gmd:keyword>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Geologie</gco:CharacterString>
            </gmd:keyword>
            <gmd:keyword>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Informele hydrogeologische stratigrafie</gco:CharacterString>
            </gmd:keyword>
          </gmd:MD_Keywords>
        </gmd:descriptiveKeywords>
        <gmd:descriptiveKeywords>
          <gmd:MD_Keywords>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://inspire.ec.europa.eu/metadata-codelist/SpatialScope/regional">Regionaal</gmx:Anchor>
            </gmd:keyword>
            <gmd:type>
              <gmd:MD_KeywordTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme" />
            </gmd:type>
            <gmd:thesaurusName>
              <gmd:CI_Citation>
                <gmd:title>
                  <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://inspire.ec.europa.eu/metadata-codelist/SpatialScope">INSPIRE - Spatial scope</gmx:Anchor>
                </gmd:title>
                <gmd:date>
                  <gmd:CI_Date>
                    <gmd:date>
                      <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2019-05-22</gco:Date>
                    </gmd:date>
                    <gmd:dateType>
                      <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                    </gmd:dateType>
                  </gmd:CI_Date>
                </gmd:date>
              </gmd:CI_Citation>
            </gmd:thesaurusName>
          </gmd:MD_Keywords>
        </gmd:descriptiveKeywords>
        <gmd:descriptiveKeywords>
          <gmd:MD_Keywords>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://metadata.vlaanderen.be/id/GDI-Vlaanderen-Trefwoorden/HERBRUIKBAAR">Herbruikbaar</gmx:Anchor>
            </gmd:keyword>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://metadata.vlaanderen.be/id/GDI-Vlaanderen-Trefwoorden/KOSTELOOS">Kosteloos</gmx:Anchor>
            </gmd:keyword>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://metadata.vlaanderen.be/id/GDI-Vlaanderen-Trefwoorden/VLOPENDATA">Vlaamse Open data</gmx:Anchor>
            </gmd:keyword>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://metadata.vlaanderen.be/id/GDI-Vlaanderen-Trefwoorden/TOEGEVOEGDGDIVL">Toegevoegd GDI-Vl</gmx:Anchor>
            </gmd:keyword>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://metadata.vlaanderen.be/id/GDI-Vlaanderen-Trefwoorden/MDGDICONFORM">Metadata GDI-Vl-conform</gmx:Anchor>
            </gmd:keyword>
            <gmd:keyword>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://metadata.vlaanderen.be/id/GDI-Vlaanderen-Trefwoorden/MDINSPIRECONFORM">Metadata INSPIRE-conform</gmx:Anchor>
            </gmd:keyword>
            <gmd:type>
              <gmd:MD_KeywordTypeCode codeList="https://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode" codeListValue="theme" />
            </gmd:type>
            <gmd:thesaurusName>
              <gmd:CI_Citation>
                <gmd:title>
                  <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://metadata.vlaanderen.be/id/GDI-Vlaanderen-Trefwoorden">GDI-Vlaanderen Trefwoorden</gmx:Anchor>
                </gmd:title>
                <gmd:date>
                  <gmd:CI_Date>
                    <gmd:date>
                      <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2014-02-26</gco:Date>
                    </gmd:date>
                    <gmd:dateType>
                      <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                    </gmd:dateType>
                  </gmd:CI_Date>
                </gmd:date>
              </gmd:CI_Citation>
            </gmd:thesaurusName>
          </gmd:MD_Keywords>
        </gmd:descriptiveKeywords>
        <gmd:resourceConstraints>
          <gmd:MD_LegalConstraints>
            <gmd:accessConstraints>
              <gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions">otherRestrictions</gmd:MD_RestrictionCode>
            </gmd:accessConstraints>
            <gmd:otherConstraints>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations">geen beperkingen</gmx:Anchor>
            </gmd:otherConstraints>
          </gmd:MD_LegalConstraints>
        </gmd:resourceConstraints>
        <gmd:resourceConstraints>
          <gmd:MD_LegalConstraints>
            <gmd:useConstraints>
              <gmd:MD_RestrictionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode" codeListValue="otherRestrictions">otherRestrictions</gmd:MD_RestrictionCode>
            </gmd:useConstraints>
            <gmd:otherConstraints>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://overheid.vlaanderen.be/sites/default/files/documenten/ict-egov/licenties/hergebruik/modellicentie_gratis_hergebruik_v1_0.html">In uitvoering van het Vlaamse decreet voor hergebruik van overheidsinformatie, is het hergebruik geregeld d.m.v. de Modellicentie voor gratis hergebruik. Dit betekent dat elk commercieel of niet-commercieel hergebruik voor onbepaalde duur is toegelaten, zonder dat daar kosten aan verbonden zijn. Als enige gebruiksvoorwaarde geldt een bronvermeldingsplicht.</gmx:Anchor>
            </gmd:otherConstraints>
            <gmd:otherConstraints>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Bij het gebruik van de informatie die DOV aanbiedt, dient steeds volgende standaardreferentie gebruikt te worden: Databank Ondergrond Vlaanderen - (vermelding van de beheerder en de specifieke geraadpleegde gegevens) - Geraadpleegd op dd/mm/jjjj, op https://www.dov.vlaanderen.be</gco:CharacterString>
            </gmd:otherConstraints>
            <gmd:otherConstraints>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.dov.vlaanderen.be/page/disclaimer">Volgende aansprakelijkheidsbepalingen gelden.</gmx:Anchor>
            </gmd:otherConstraints>
            <gmd:otherConstraints>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://codex.vlaanderen.be/PrintDocument.ashx?id=1019561">Toegang en gebruik voor het uitvoeren van taken van algemeen belang, op niveau van Vlaamse overheidsinstanties is geregeld door het Besluit van de Vlaamse Regering met de regels voor toegang en gebruik van geografische gegevensbronnen toegevoegd aan de GDI, door deelnemers GDI-Vlaanderen. Dit gebruik is kosteloos.</gmx:Anchor>
            </gmd:otherConstraints>
            <gmd:otherConstraints>
              <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://codex.vlaanderen.be/PrintDocument.ashx?id=1020931">Toegang en gebruik voor het uitvoeren van taken van algemeen belang door niet-Vlaamse overheidsinstanties is geregeld door het Besluit van de Vlaamse Regering met de regels voor toegang en gebruik van geografische gegevensbronnen toegevoegd aan de GDI, door overheidsdiensten die geen deelnemer zijn aan GDI-Vlaanderen. Dit gebruik is kosteloos.</gmx:Anchor>
            </gmd:otherConstraints>
          </gmd:MD_LegalConstraints>
        </gmd:resourceConstraints>
        <gmd:spatialRepresentationType>
          <gmd:MD_SpatialRepresentationTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="vector">vector</gmd:MD_SpatialRepresentationTypeCode>
        </gmd:spatialRepresentationType>
        <gmd:spatialResolution>
          <gmd:MD_Resolution>
            <gmd:equivalentScale>
              <gmd:MD_RepresentativeFraction>
                <gmd:denominator>
                  <gco:Integer xmlns:gco="http://www.isotc211.org/2005/gco">10000</gco:Integer>
                </gmd:denominator>
              </gmd:MD_RepresentativeFraction>
            </gmd:equivalentScale>
          </gmd:MD_Resolution>
        </gmd:spatialResolution>
        <gmd:language>
          <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="dut">Nederlands</gmd:LanguageCode>
        </gmd:language>
        <gmd:topicCategory>
          <gmd:MD_TopicCategoryCode>geoscientificInformation</gmd:MD_TopicCategoryCode>
        </gmd:topicCategory>
        <gmd:extent>
          <gmd:EX_Extent>
            <gmd:geographicElement>
              <gmd:EX_GeographicBoundingBox>
                <gmd:westBoundLongitude>
                  <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">4.6839624510784</gco:Decimal>
                </gmd:westBoundLongitude>
                <gmd:eastBoundLongitude>
                  <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">5.424020469064518</gco:Decimal>
                </gmd:eastBoundLongitude>
                <gmd:southBoundLatitude>
                  <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">50.948884640343465</gco:Decimal>
                </gmd:southBoundLatitude>
                <gmd:northBoundLatitude>
                  <gco:Decimal xmlns:gco="http://www.isotc211.org/2005/gco">51.263470121847675</gco:Decimal>
                </gmd:northBoundLatitude>
              </gmd:EX_GeographicBoundingBox>
            </gmd:geographicElement>
          </gmd:EX_Extent>
        </gmd:extent>
        <gmd:supplementalInformation>
          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">meer info op: https://www.dov.vlaanderen.be/page/interpretaties</gco:CharacterString>
        </gmd:supplementalInformation>
      </gmd:MD_DataIdentification>
    </gmd:identificationInfo>
    <gmd:contentInfo>
      <gmd:MD_FeatureCatalogueDescription>
        <gmd:includedWithDataset>
          <gco:Boolean xmlns:gco="http://www.isotc211.org/2005/gco">true</gco:Boolean>
        </gmd:includedWithDataset>
        <gmd:featureTypes>
          <gco:LocalName xmlns:gco="http://www.isotc211.org/2005/gco">informele_hydrogeologische_stratigrafieType</gco:LocalName>
        </gmd:featureTypes>
        <gmd:featureCatalogueCitation uuidref="69f71840-bd29-4b59-9b02-4e36aafaa041">
          <gmd:CI_Citation>
            <gmd:title>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Informele hydrogeologische stratigrafie (objectencatalogus)</gco:CharacterString>
            </gmd:title>
            <gmd:date>
              <gmd:CI_Date>
                <gmd:date>
                  <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2022-03-24</gco:Date>
                </gmd:date>
                <gmd:dateType>
                  <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="creation">creation</gmd:CI_DateTypeCode>
                </gmd:dateType>
              </gmd:CI_Date>
            </gmd:date>
            <gmd:edition>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">1</gco:CharacterString>
            </gmd:edition>
          </gmd:CI_Citation>
        </gmd:featureCatalogueCitation>
      </gmd:MD_FeatureCatalogueDescription>
    </gmd:contentInfo>
    <gmd:distributionInfo>
      <gmd:MD_Distribution>
        <gmd:distributionFormat>
          <gmd:MD_Format>
            <gmd:name>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">GML</gco:CharacterString>
            </gmd:name>
            <gmd:version>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">3.2</gco:CharacterString>
            </gmd:version>
          </gmd:MD_Format>
        </gmd:distributionFormat>
        <gmd:distributor>
          <gmd:MD_Distributor>
            <gmd:distributorContact>
              <gmd:CI_ResponsibleParty>
                <gmd:organisationName>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Databank Ondergrond Vlaanderen (DOV)</gco:CharacterString>
                </gmd:organisationName>
                <gmd:contactInfo>
                  <gmd:CI_Contact>
                    <gmd:phone>
                      <gmd:CI_Telephone>
                        <gmd:voice>
                          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">+32 9 240 75 93</gco:CharacterString>
                        </gmd:voice>
                      </gmd:CI_Telephone>
                    </gmd:phone>
                    <gmd:address>
                      <gmd:CI_Address>
                        <gmd:deliveryPoint>
                          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Technologiepark-Zwijnaarde 68</gco:CharacterString>
                        </gmd:deliveryPoint>
                        <gmd:city>
                          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Gent</gco:CharacterString>
                        </gmd:city>
                        <gmd:postalCode>
                          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">9052</gco:CharacterString>
                        </gmd:postalCode>
                        <gmd:country>
                          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">België</gco:CharacterString>
                        </gmd:country>
                        <gmd:electronicMailAddress>
                          <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">dov@vlaanderen.be</gco:CharacterString>
                        </gmd:electronicMailAddress>
                      </gmd:CI_Address>
                    </gmd:address>
                    <gmd:onlineResource>
                      <gmd:CI_OnlineResource>
                        <gmd:linkage>
                          <gmd:URL>https://www.dov.vlaanderen.be</gmd:URL>
                        </gmd:linkage>
                      </gmd:CI_OnlineResource>
                    </gmd:onlineResource>
                  </gmd:CI_Contact>
                </gmd:contactInfo>
                <gmd:role>
                  <gmd:CI_RoleCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode" codeListValue="distributor">distributor</gmd:CI_RoleCode>
                </gmd:role>
              </gmd:CI_ResponsibleParty>
            </gmd:distributorContact>
            <gmd:distributionOrderProcess>
              <gmd:MD_StandardOrderProcess>
                <gmd:fees>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Gratis</gco:CharacterString>
                </gmd:fees>
              </gmd:MD_StandardOrderProcess>
            </gmd:distributionOrderProcess>
          </gmd:MD_Distributor>
        </gmd:distributor>
        <gmd:transferOptions>
          <gmd:MD_DigitalTransferOptions>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/geoserver/wms?</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">OGC:WMS</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">interpretaties:informele_hydrogeologische_stratigrafie</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">WMS-endpoint Informele hydrogeologische stratigrafie</gco:CharacterString>
                </gmd:description>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/geoserver/wms?SERVICE=WMS&version=1.3.0&request=GetCapabilities</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">OGC:WMS-1.3.0-http-get-capabilities</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">interpretaties:informele_hydrogeologische_stratigrafie</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">WMS-capabilities Informele hydrogeologische stratigrafie</gco:CharacterString>
                </gmd:description>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/geoserver/wms?SERVICE=WMS&version=1.3.0&request=GetMap</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">OGC:WMS-1.3.0-http-get-map</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">interpretaties:informele_hydrogeologische_stratigrafie</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">WMS-map Informele hydrogeologische stratigrafie</gco:CharacterString>
                </gmd:description>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/geoserver/wfs?</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">OGC:WFS</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">interpretaties:informele_hydrogeologische_stratigrafie</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">WFS-endpoint Informele hydrogeologische stratigrafie</gco:CharacterString>
                </gmd:description>
                <gmd:function>
                  <gmd:CI_OnLineFunctionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download">download</gmd:CI_OnLineFunctionCode>
                </gmd:function>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/geoserver/wfs?SERVICE=WFS&version=2.0.0&request=GetCapabilities</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">OGC:WFS-2.0.0-http-get-capabilities</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">interpretaties:informele_hydrogeologische_stratigrafie</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">WFS-capabilities Informele hydrogeologische stratigrafie</gco:CharacterString>
                </gmd:description>
                <gmd:function>
                  <gmd:CI_OnLineFunctionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download">download</gmd:CI_OnLineFunctionCode>
                </gmd:function>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/geoserver/wfs?SERVICE=WFS&version=2.0.0&request=GetFeature</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">OGC:WFS-2.0.0-http-get-feature</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">interpretaties:informele_hydrogeologische_stratigrafie</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">WFS-feature Informele hydrogeologische stratigrafie</gco:CharacterString>
                </gmd:description>
                <gmd:function>
                  <gmd:CI_OnLineFunctionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download">download</gmd:CI_OnLineFunctionCode>
                </gmd:function>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/geoserver/wms/kml?layers=interpretaties:informele_hydrogeologische_stratigrafie</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">GLG:KML-2.0-http-get-map</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">interpretaties:informele_hydrogeologische_stratigrafie</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">KML Informele hydrogeologische stratigrafie</gco:CharacterString>
                </gmd:description>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
            <gmd:onLine>
              <gmd:CI_OnlineResource>
                <gmd:linkage>
                  <gmd:URL>https://www.dov.vlaanderen.be/portaal</gmd:URL>
                </gmd:linkage>
                <gmd:protocol>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">WWW:LINK-1.0-http--related</gco:CharacterString>
                </gmd:protocol>
                <gmd:name>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">DOV portaal</gco:CharacterString>
                </gmd:name>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Link naar DOV portaalapplicatie</gco:CharacterString>
                </gmd:description>
              </gmd:CI_OnlineResource>
            </gmd:onLine>
          </gmd:MD_DigitalTransferOptions>
        </gmd:transferOptions>
      </gmd:MD_Distribution>
    </gmd:distributionInfo>
    <gmd:dataQualityInfo>
      <gmd:DQ_DataQuality>
        <gmd:scope>
          <gmd:DQ_Scope>
            <gmd:level>
              <gmd:MD_ScopeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset">dataset</gmd:MD_ScopeCode>
            </gmd:level>
          </gmd:DQ_Scope>
        </gmd:scope>
        <gmd:report>
          <gmd:DQ_DomainConsistency>
            <gmd:result>
              <gmd:DQ_ConformanceResult>
                <gmd:specification xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://inspire.ec.europa.eu/id/citation/ir/reg-1089-2010">
                  <gmd:CI_Citation>
                    <gmd:title>
                      <gmx:Anchor xmlns:gmx="http://www.isotc211.org/2005/gmx" xlink:href="http://data.europa.eu/eli/reg/2010/1089">VERORDENING (EU) Nr. 1089/2010 VAN DE COMMISSIE van 23 november 2010 ter uitvoering van Richtlijn 2007/2/EG van het Europees Parlement en de Raad betreffende de interoperabiliteit van verzamelingen ruimtelijke gegevens en van diensten met betrekking tot ruimtelijke gegevens</gmx:Anchor>
                    </gmd:title>
                    <gmd:date>
                      <gmd:CI_Date>
                        <gmd:date>
                          <gco:Date xmlns:gco="http://www.isotc211.org/2005/gco" xsi:nil="false">2010-12-08</gco:Date>
                        </gmd:date>
                        <gmd:dateType>
                          <gmd:CI_DateTypeCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
                        </gmd:dateType>
                      </gmd:CI_Date>
                    </gmd:date>
                  </gmd:CI_Citation>
                </gmd:specification>
                <gmd:explanation>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Zie vermelde specificatie</gco:CharacterString>
                </gmd:explanation>
                <gmd:pass>
                  <gco:Boolean xmlns:gco="http://www.isotc211.org/2005/gco">true</gco:Boolean>
                </gmd:pass>
              </gmd:DQ_ConformanceResult>
            </gmd:result>
          </gmd:DQ_DomainConsistency>
        </gmd:report>
        <gmd:lineage>
          <gmd:LI_Lineage>
            <gmd:statement>
              <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">De nauwkeurigheid van de interpretatie hangt af van de auteur, de boormethode, doelstelling van de boring, enz. De interpretaties in DOV worden zoveel als mogelijk overgenomen zoals deze door de originele auteur werden opgemaakt.</gco:CharacterString>
            </gmd:statement>
            <gmd:source>
              <gmd:LI_Source>
                <gmd:description>
                  <gco:CharacterString xmlns:gco="http://www.isotc211.org/2005/gco">Een informele hydrogeologische stratigrafie geeft een beeld van de watervoerende eigenschappen in de ondergrond op een welbepaalde locatie. Hierbij wordt niet de algemene standaard HCOV gebruikt (Hydrogeologische Codering van de Ondergrond van Vlaanderen).
Deze vormen o.a. de basis van hydrogeologische modelleringen, studies, rapporteringen en  beleidsopdrachten.</gco:CharacterString>
                </gmd:description>
              </gmd:LI_Source>
            </gmd:source>
          </gmd:LI_Lineage>
        </gmd:lineage>
      </gmd:DQ_DataQuality>
    </gmd:dataQualityInfo>
  </gmd:MD_Metadata>
</csw:GetRecordByIdResponse>


text:
package fi.nls.oskari.util;

import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;

/**
 * Created by TMIKKOLAINEN on 30.12.2014.
 */
public interface TabularFileStreamer {
    public void writeToStream(String[] headers, Object[][] data, Map<String, Object> additionalFields, OutputStream out) throws IOException;
}

redpajama_set_name: RedPajamaGithub


text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Bootstrap 101 Template</title>

    <link href="css/bootstrap.min.css" rel="stylesheet">

Rooms

Profile

Reports

Settings

AboutUs

Logout

Rooms-Add/Edit Details

			Room Number
			Image
			Description
			Cost per unit stay
			Submit

	<form class= "form-forizontal" action="roomview.html" method="GET">

	<input type="text" class="form-control" name="number">

	  <input type="file" name="image" accept="image/*">

	<textarea name="descrption" rows="5" cols="8" placeholder="enter room descrption" class="form-control">Room description</textarea>

	<input type="number" class="form-control" name="amount"  step="0.01" required />

   <button type="submit" class="btn btn-default">Submit</button>

   </form>


text:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.openhris.dao;

import com.hrms.dbconnection.GetSQLConnection;
import com.openhris.commons.OpenHrisUtilities;
import com.openhris.model.Address;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author jetdario
 */
public class EmployeeAddressDAO {

    GetSQLConnection getConnection = new GetSQLConnection();
    OpenHrisUtilities util = new OpenHrisUtilities();

    public boolean insertEmployeeAddress(Address address){
        Connection conn = getConnection.connection();
        PreparedStatement pstmt = null;
        boolean result = false;

        try {
            if(address.getAddressId() == 0){
                pstmt = conn.prepareStatement("INSERT INTO employee_address (employeeId, type, street, city, province, zipCode) VALUES (?, ?, ?, ?, ?, ?)");
                pstmt.setString(1, address.getEmployeeId());
                pstmt.setString(2, address.getType());
                pstmt.setString(3, address.getStreet());
                pstmt.setString(4, address.getCity());
                pstmt.setString(5, address.getProvince());
                pstmt.setString(6, address.getZipCode());
                pstmt.executeUpdate();
            } else {
                pstmt = conn.prepareStatement("UPDATE employee_address SET type = ?, street = ?, city = ?, province = ?, zipCode = ? WHERE "
                        + "id = ?");
                pstmt.setString(1, address.getType());
                pstmt.setString(2, address.getStreet());
                pstmt.setString(3, address.getCity());
                pstmt.setString(4, address.getProvince());
                pstmt.setString(5, address.getZipCode());
                pstmt.setInt(6, address.getAddressId());
                pstmt.executeUpdate();
            }

            result = true;
        } catch (SQLException ex) {
            Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
        } finally {
            try {
                if(conn != null || !conn.isClosed()){
                    pstmt.close();
                    conn.close();
                }
            } catch (SQLException ex) {
                Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
            }
        }

        return result;
    }

    public List<Address> getEmployeeAddress(String employeeId){
        Connection conn = getConnection.connection();
        Statement stmt = null;
        ResultSet rs = null;
        List<Address> addressList = new ArrayList<Address>();

        try {
            stmt = conn.createStatement();
            rs = stmt.executeQuery("SELECT * FROM employee_address WHERE employeeId = '"+employeeId+"' ");
            while(rs.next()){
                Address address = new Address();
                address.setAddressId(util.convertStringToInteger(rs.getString("id")));
                address.setType(rs.getString("type"));
                address.setStreet(rs.getString("street"));
                address.setCity(rs.getString("city"));
                address.setProvince(rs.getString("province"));
                address.setZipcode(rs.getString("zipCode"));
                addressList.add(address);
            }
        } catch (SQLException ex) {
            Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
        } finally {
            try {
                if(conn != null || !conn.isClosed()){
                    stmt.close();
                    rs.close();
                    conn.close();
                }
            } catch (SQLException ex) {
                Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
            }
        }

        return addressList;
    }

    public Address getEmployeeAddressById(int addressId){
        Connection conn = getConnection.connection();
        Statement stmt = null;
        ResultSet rs = null;
        Address address = new Address();

        try {
            stmt = conn.createStatement();
            rs = stmt.executeQuery("SELECT * FROM employee_address WHERE id = "+addressId+" ");
            while(rs.next()){
                address.setType(rs.getString("type"));
                address.setStreet(rs.getString("street"));
                address.setCity(rs.getString("city"));
                address.setProvince(rs.getString("province"));
                address.setZipcode(rs.getString("zipCode"));
            }
        } catch (SQLException ex) {
            Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
        } finally {
            try {
                if(conn != null || !conn.isClosed()){
                    stmt.close();
                    rs.close();
                    conn.close();
                }
            } catch (SQLException ex) {
                Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
            }
        }

        return address;
    }

    public boolean removeEmployeeAddress(int addressId){
        Connection conn = getConnection.connection();
        PreparedStatement pstmt = null;
        boolean result = false;

        try {
            pstmt = conn.prepareStatement("DELETE FROM employee_address WHERE id = "+addressId+" ");
            pstmt.executeUpdate();

            result = true;
        } catch (SQLException ex) {
            Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
        } finally {
            try {
                if(conn != null || !conn.isClosed()){
                    pstmt.close();
                    conn.close();
                }
            } catch (SQLException ex) {
                Logger.getLogger(EmployeeAddressDAO.class.getName()).log(Level.SEVERE, null, ex);
            }
        }

        return result;
    }
}


text:
<?php

namespace POData\UriProcessor\QueryProcessor\ExpressionParser;

/**
 * Class ExpressionTokenId
 * @package POData\UriProcessor\QueryProcessor\ExpressionParser
 */
class ExpressionTokenId
{
    //Unknown.
    const UNKNOWN = 1;

    //End of text.
    const END = 2;

    //'=' - equality character.
    const EQUAL = 3;

    //Identifier.
    const IDENTIFIER = 4;

    //NullLiteral.
    const NULL_LITERAL = 5;

    //BooleanLiteral.
    const BOOLEAN_LITERAL = 6;

    //StringLiteral.
    const STRING_LITERAL = 7;

    //IntegerLiteral. (int32)
    const INTEGER_LITERAL = 8;

    //Int64 literal.
    const INT64_LITERAL = 9;

    //Single literal. (float)
    const SINGLE_LITERAL = 10;

    //DateTime literal.
    const DATETIME_LITERAL = 11;

    //Decimal literal.
    const DECIMAL_LITERAL = 12;

    //Double literal.
    const DOUBLE_LITERAL = 13;

    //GUID literal.
    const GUID_LITERAL = 14;

    //Binary literal.
    const BINARY_LITERAL = 15;

    //Exclamation.
    const EXCLAMATION = 16;

    //OpenParen.
    const OPENPARAM = 17;

    //CloseParen.
    const CLOSEPARAM = 18;

    //Comma.
    const COMMA = 19;

    //Minus.
    const MINUS = 20;

    //Slash.
    const SLASH = 21;

    //Question.
    const QUESTION = 22;

    //Dot.
    const DOT = 23;

    //Star.
    const STAR = 24;
}


text:
layout: edition
titulo: Comparaçión de Hanníbal y de Publio Scipión
permalink: /Vitae/VHS/13
paginas:
1

2

3

4

5

6

7

8

9

10

11

12

13

panel_left:  |

13.1 Eae igitur aliaeque eiusdem generis sunt Aphricani propriae uirtutes maximeuirtutes quibus maxime F M N P R S U W  ac uerissime laudes continentur. Verum ut haec omnia ad unam summam referantur,
            ii duo celeberrimi duces non tam domesticis uirtutibus, quibus Scipio magnopere
            praestitit, quam bellicis artibus et rerum gestarum gloria comparabiles esse uidentur.
              2 Exitus quoque uitae similitudinem quandam prae se ferunt, quod ambo extra
            patrium solum obierunt, quanquam Scipio non a republica damnatus ut Hannibal, sed
            uoluntario sibi exilio indictoindicata U  uitam extra urbem finiendam putauit.

panel_right:  |

13.1 Aquestas y otras virtudes del mesmo linaje son proprias del Africano,
            en que se contienen muy grandes y muy verdaderos loores. Mas porque todas estas cosas se
            refieran a una suma, estos dos muy honrados capitanes, no tanto en las virtudes
            domésticas, en que muy mucho fue ventajoso Scipión, quanto en las artes de la guerra y
            en la gloria de las cosas por ellos fechas, pareçe qu'el uno al otro deve ser comparado.
              2 Y los fines de la vida de cada uno d'ellos en alguno se semejan, en que
            ambos murieron fuera del suelo de la patria, aunque Scipión no fue condenado por la
            república como Hanníbal, mas de su voluntad quiso permanecer en destierro con propósito
            de fenecer la vida fuera de Roma.

Fin

---

Technical Description


text:
package org.deuce.benchmark.stmbench7.core;

import org.deuce.benchmark.stmbench7.annotations.Immutable;

/**
 * Part of the main benchmark data structure. For a default
 * implementation, see stmbench7.impl.core.ConnectionImpl.
 */
@Immutable
public interface Connection {

	Connection getReversed();
	AtomicPart getDestination();
	AtomicPart getSource();
	String getType();
	int getLength();
}


text:
using Dnc.Extensions.Dapper;
using Dnc.Extensions.Dapper.Builders;
using Ku.Core.CMS.Domain.Dto.MaterialCenter;
using Ku.Core.CMS.Domain.Entity.MaterialCenter;
using Ku.Core.CMS.IService.MaterialCenter;
using Ku.Core.Infrastructure.Extensions;
using Ku.Core.Infrastructure.Helper;
using Ku.Core.Tools.ImageCompressor;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NLog;
using Quartz;
using System;
using System.IO;
using System.Threading.Tasks;

namespace Ku.Core.CMS.Job
{
    [DisallowConcurrentExecution]
    public class VideoMaterialJob : BaseJob
    {
        public static Logger logger = LogManager.GetCurrentClassLogger();

        public override async Task Run(IJobExecutionContext context)
        {
            logger.Info("开始处理视频素材事务...");
            await Console.Out.WriteLineAsync("开始处理视频素材事务...");

            var count = 0;

            IImageCompressor imageCompressor = _provider.GetService<IImageCompressor>();
            IMaterialCenterConfigService _configService = _provider.GetService<IMaterialCenterConfigService>();
            MaterialCenterConfig config = await _configService.GetAsync();
            //var folder = Path.Combine(config.PictureSavePath, oppositePath);
            //if (config != null && !string.IsNullOrEmpty(config.PictureSavePath))
            //{
            //    folder = Path.Combine(config.PictureSavePath, oppositePath);
            //}

            //取得待压缩列表
            using (var dapper = DapperFactory.Create())
            {
                var builder = new QueryBuilder().Select<Video>().From<Video>()
                    .Where(new ConditionBuilder().IsNullOrEmpty<Video>(x => x.ThumbPath)
                            .And().Equal<Video>(m => m.IsDeleted, false));

                var items = await dapper.QueryListAsync<Video>(builder);

                foreach (var item in items)
                {
                    //判断文件是否存在
                    if (!File.Exists(Path.Combine(config.PictureSavePath, item.FilePath)))
                    {
                        continue;
                    }

                    try
                    {
                        //缩略图
                        var thumbPath = item.Folder + item.Id + "_thumb.jpg";
                        var thumb = VideoHelper.GetPreviewImage(Path.Combine(config.PictureSavePath, item.FilePath),
                            Path.Combine(config.PictureSavePath, thumbPath), 320, 180, 1);
                        if (thumb != null)
                        {
                            thumb = thumbPath;
                        }
                        //时长
                        var duration = VideoHelper.GetVideoDuration(Path.Combine(config.PictureSavePath, item.FilePath));

                        await dapper.UpdateAsync<Video>(new { ThumbPath = thumb , Duration = duration }, new { item.Id });
                    }
                    catch (Exception ex)
                    {
                        logger.Error(ex);
                        await Console.Out.WriteLineAsync(ex.ToString());
                    }
                    count++;
                }
            }

            logger.Info($"共处理{count}个视频");
            await Console.Out.WriteLineAsync($"共处理{count}个视频");

            logger.Info($"结束处理视频素材事务...");
            await Console.Out.WriteLineAsync("结束处理视频素材事务...");
        }

    }
}


text:
txd = engineLoadTXD("journey.txd")
engineImportTXD(txd, 498)
dff = engineLoadDFF("journey.dff", 498)
engineReplaceModel(dff, 498)


text:
package javolution.xml.stream;

/**
 * This interface declares the constants used in this API. Numbers in the range
 * 0 to 256 are reserved for the specification, user defined events must use
 * event codes outside that range.
 *
 * @author  Jean-Marie Dautelle
 * @version 4.0, June 16, 2006
 */
public interface XMLStreamConstants {

    /**
     * Indicates an event is a start element.
     */
    public static final int START_ELEMENT = 1;

    /**
     * Indicates an event is an end element.
     */
    public static final int END_ELEMENT = 2;

    /**
     * Indicates an event is a processing instruction.
     */
    public static final int PROCESSING_INSTRUCTION = 3;

    /**
     * Indicates an event is characters.
     */
    public static final int CHARACTERS = 4;

    /**
     * Indicates an event is a comment.
     */
    public static final int COMMENT = 5;

    /**
     * The characters are white space (see [XML], 2.10 "White Space Handling").
     * Events are only reported as SPACE if they are ignorable white space.
     * Otherwise they are reported as CHARACTERS.
     */
    public static final int SPACE = 6;

    /**
     * Indicates an event is a start document.
     */
    public static final int START_DOCUMENT = 7;

    /**
     * Indicates an event is an end document.
     */
    public static final int END_DOCUMENT = 8;

    /**
     * Indicates an event is an entity reference.
     */
    public static final int ENTITY_REFERENCE = 9;

    /**
     * Indicates an event is an attribute.
     */
    public static final int ATTRIBUTE = 10;

    /**
     * Indicates an event is a DTD.
     */
    public static final int DTD = 11;

    /**
     * Indicates an event is a CDATA section.
     */
    public static final int CDATA = 12;

    /**
     * Indicates the event is a namespace declaration.
     */
    public static final int NAMESPACE = 13;

    /**
     * Indicates a Notation.
     */
    public static final int NOTATION_DECLARATION = 14;

    /**
     * Indicates a Entity Declaration.
     */
    public static final int ENTITY_DECLARATION = 15;

}


text:
<!DOCTYPE html>

	<meta charset="utf-8" />
	<title>TypeMath</title>
	<link rel="stylesheet" href="app.css" type="text/css" />
	<link rel="stylesheet" href="formula.css" type="text/css" />

		<input id="autosave" type="checkbox"/> autosave
		<input id="proofMode" type="checkbox"/> proof mode
		| usage
		<button id="btnCopy">copy</button>

		<canvas id="ghost"></canvas>

Import LaTeX Code

		<textarea></textarea>

		<input id="latex" type="text"/>


text:
<title>ExtractRegularExpression</title>

ExtractRegularExpression()

Syntax

Result = ExtractRegularExpression(#RegularExpression, String$, Array$())

Description

Extracts strings according to the #RegularExpression into an array.

Parameters

#RegularExpression

The regular expression to use.

String$

The string to apply the regular expression on.

Array$()

The extracted strings will be stored in this array. The array is automatically resized
to the number of element matching the expression found in the specified string.

Return value

Returns the number of elements matching the regular expression in the string.

Example

  ; This expression will match every word of 3 letter which begin by a lower case letter,
  ; followed with the character 'b' and which ends with an uppercase letter. ex: abC
  ;
  If CreateRegularExpression(0, "[a-z]b[A-Z]")
    Dim Result$(0)
    NbFound = ExtractRegularExpression(0, "abC ABc zbA abc", Result$())
    For k = 0 To NbFound-1
      Debug Result$(k)
    Next
  Else
    Debug RegularExpressionError()
  EndIf

See Also

CreateRegularExpression()

Supported OS
All

<- ExamineRegularExpression() - RegularExpression Index - FreeRegularExpression() ->


text:
#pragma once
#include <aws/elasticache/ElastiCache_EXPORTS.h>
#include <aws/elasticache/model/ReservedCacheNode.h>
#include <aws/elasticache/model/ResponseMetadata.h>
#include <utility>

namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;

namespace Utils
{
namespace Xml
{
  class XmlDocument;
} // namespace Xml
} // namespace Utils
namespace ElastiCache
{
namespace Model
{
  class AWS_ELASTICACHE_API PurchaseReservedCacheNodesOfferingResult
  {
  public:
    PurchaseReservedCacheNodesOfferingResult();
    PurchaseReservedCacheNodesOfferingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);
    PurchaseReservedCacheNodesOfferingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Xml::XmlDocument>& result);

    inline const ReservedCacheNode& GetReservedCacheNode() const{ return m_reservedCacheNode; }

    inline void SetReservedCacheNode(const ReservedCacheNode& value) { m_reservedCacheNode = value; }

    inline void SetReservedCacheNode(ReservedCacheNode&& value) { m_reservedCacheNode = std::move(value); }

    inline PurchaseReservedCacheNodesOfferingResult& WithReservedCacheNode(const ReservedCacheNode& value) { SetReservedCacheNode(value); return *this;}

    inline PurchaseReservedCacheNodesOfferingResult& WithReservedCacheNode(ReservedCacheNode&& value) { SetReservedCacheNode(std::move(value)); return *this;}

    inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }

    inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }

    inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }

    inline PurchaseReservedCacheNodesOfferingResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}

    inline PurchaseReservedCacheNodesOfferingResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}

  private:

    ReservedCacheNode m_reservedCacheNode;

    ResponseMetadata m_responseMetadata;
  };

} // namespace Model
} // namespace ElastiCache
} // namespace Aws


text:
package io.zrz.graphql.zulu.engine;

/**
 * results receiver which does nothing with the results.
 *
 * all writes are forwarded to the object write (including the null write), so an implementation which doesn't care
 * about boxing/unboxing can override just that method.
 *
 * @author theo
 *
 */

public abstract class DefaultZuluResultReceiver extends AbstractZuluResultReceiver implements ZuluResultReceiver {

  /**
   * this is the only method which implementations have to handle.
   */

  @Override
  public abstract void write(ZuluSelection field, Object value);

  @Override
  public void push(ZuluSelectionContainer container, Object instance) {
  }

  @Override
  public void pop(ZuluSelectionContainer container, Object instance) {
  }

  @Override
  public void next(Object instance) {
  }

  @Override
  public void startStruct(ZuluSelectionContainer container, Object context) {
  }

  @Override
  public void endStruct(ZuluSelectionContainer container, Object context) {
  }

  @Override
  public void startList(ZuluSelection container, Object context) {
  }

  @Override
  public void endList(ZuluSelection container, Object context) {
  }

  @Override
  public void write(ZuluSelection field) {
    write(field, (Object) null);
  }

  @Override
  public void write(ZuluSelection field, int value) {
    write(field, (Object) value);
  }

  @Override
  public void write(ZuluSelection field, long value) {
    write(field, (Object) value);
  }

  @Override
  public void write(ZuluSelection field, boolean value) {
    write(field, (Object) value);
  }

  @Override
  public void write(ZuluSelection field, double value) {
    write(field, (Object) value);
  }

  @Override
  public void write(ZuluSelection field, String value) {
    write(field, (Object) value);
  }

}


text:
using Microsoft.AspNetCore.Identity;
using System.Linq;
using System.Threading.Tasks;
using Tripeace.Domain.Contracts;
using Tripeace.Domain.Enums;
using Tripeace.EF;

namespace Tripeace.IoC
{
    public class DatabaseManager : IDatabaseManager
    {
        private readonly ServerContext _context;

        public DatabaseManager(ServerContext context)
        {
            _context = context;
        }

        private static readonly string[] Roles = new string[]
        {
            AccountType.Player.ToString(),
            AccountType.Tutor.ToString(),
            AccountType.SeniorTutor.ToString(),
            AccountType.GameMaster.ToString(),
            AccountType.God.ToString(),
        };

        public async Task SeedRoles()
        {
            foreach (var role in Roles)
            {
                if (!_context.Roles.Any(x => x.Name == role))
                {
                    await _context.Roles.AddAsync(new IdentityRole(role));
                }
            }

            await _context.SaveChangesAsync();
        }
    }
}


text:
using System;

namespace SevenZip.Compression.LZ
{
	public class InWindow
	{
		public Byte[] _bufferBase = null; // pointer to buffer with data
		System.IO.Stream _stream;
		UInt32 _posLimit; // offset (from _buffer) of first byte when new block reading must be done
		bool _streamEndWasReached; // if (true) then _streamPos shows real end of stream

		UInt32 _pointerToLastSafePosition;

		public UInt32 _bufferOffset;

		public UInt32 _blockSize; // Size of Allocated memory block
		public UInt32 _pos; // offset (from _buffer) of curent byte
		UInt32 _keepSizeBefore; // how many BYTEs must be kept in buffer before _pos
		UInt32 _keepSizeAfter; // how many BYTEs must be kept buffer after _pos
		public UInt32 _streamPos; // offset (from _buffer) of first not read byte from Stream

		public void MoveBlock()
		{
			UInt32 offset = (UInt32)(_bufferOffset) + _pos - _keepSizeBefore;
			// we need one additional byte, since MovePos moves on 1 byte.
			if (offset > 0)
				offset--;

			UInt32 numBytes = (UInt32)(_bufferOffset) + _streamPos - offset;

			// check negative offset ????
			for (UInt32 i = 0; i < numBytes; i++)
				_bufferBase[i] = _bufferBase[offset + i];
			_bufferOffset -= offset;
		}

		public virtual void ReadBlock()
		{
			if (_streamEndWasReached)
				return;
			while (true)
			{
				int size = (int)((0 - _bufferOffset) + _blockSize - _streamPos);
				if (size == 0)
					return;
				int numReadBytes = _stream.Read(_bufferBase, (int)(_bufferOffset + _streamPos), size);
				if (numReadBytes == 0)
				{
					_posLimit = _streamPos;
					UInt32 pointerToPostion = _bufferOffset + _posLimit;
					if (pointerToPostion > _pointerToLastSafePosition)
						_posLimit = (UInt32)(_pointerToLastSafePosition - _bufferOffset);

					_streamEndWasReached = true;
					return;
				}
				_streamPos += (UInt32)numReadBytes;
				if (_streamPos >= _pos + _keepSizeAfter)
					_posLimit = _streamPos - _keepSizeAfter;
			}
		}

		void Free() { _bufferBase = null; }

		public void Create(UInt32 keepSizeBefore, UInt32 keepSizeAfter, UInt32 keepSizeReserv)
		{
			_keepSizeBefore = keepSizeBefore;
			_keepSizeAfter = keepSizeAfter;
			UInt32 blockSize = keepSizeBefore + keepSizeAfter + keepSizeReserv;
			if (_bufferBase == null || _blockSize != blockSize)
			{
				Free();
				_blockSize = blockSize;
				_bufferBase = new Byte[_blockSize];
			}
			_pointerToLastSafePosition = _blockSize - keepSizeAfter;
		}

		public void SetStream(System.IO.Stream stream) { _stream = stream; }
		public void ReleaseStream() { _stream = null; }

		public void Init()
		{
			_bufferOffset = 0;
			_pos = 0;
			_streamPos = 0;
			_streamEndWasReached = false;
			ReadBlock();
		}

		public void MovePos()
		{
			_pos++;
			if (_pos > _posLimit)
			{
				UInt32 pointerToPostion = _bufferOffset + _pos;
				if (pointerToPostion > _pointerToLastSafePosition)
					MoveBlock();
				ReadBlock();
			}
		}

		public Byte GetIndexByte(Int32 index) { return _bufferBase[_bufferOffset + _pos + index]; }

		// index + limit have not to exceed _keepSizeAfter;
		public UInt32 GetMatchLen(Int32 index, UInt32 distance, UInt32 limit)
		{
			if (_streamEndWasReached)
				if ((_pos + index) + limit > _streamPos)
					limit = _streamPos - (UInt32)(_pos + index);
			distance++;
			// Byte *pby = _buffer + (size_t)_pos + index;
			UInt32 pby = _bufferOffset + _pos + (UInt32)index;

			UInt32 i;
			for (i = 0; i < limit && _bufferBase[pby + i] == _bufferBase[pby + i - distance]; i++);
			return i;
		}

		public UInt32 GetNumAvailableBytes() { return _streamPos - _pos; }

		public void ReduceOffsets(Int32 subValue)
		{
			_bufferOffset += (UInt32)subValue;
			_posLimit -= (UInt32)subValue;
			_pos -= (UInt32)subValue;
			_streamPos -= (UInt32)subValue;
		}
	}
}


text:
package org.apache.nutch.webui.pages.instances;

import org.apache.nutch.webui.model.NutchInstance;
import org.apache.nutch.webui.service.NutchInstanceService;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.PasswordTextField;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
import org.apache.wicket.spring.injection.annot.SpringBean;

import de.agilecoders.wicket.core.markup.html.bootstrap.common.NotificationPanel;
import de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal;
import de.agilecoders.wicket.core.markup.html.bootstrap.form.BootstrapForm;

public class InstancePanel extends Modal {

  private BootstrapForm<NutchInstance> form;

  private NotificationPanel notificationPanel;

  @SpringBean
  private NutchInstanceService instanceService;

  public InstancePanel(String markupId) {
    super(markupId);
    header(Model.of("Instance"));

    notificationPanel = new NotificationPanel("notificationPanel");
    notificationPanel.setOutputMarkupId(true);
    add(notificationPanel);

    form = new BootstrapForm<NutchInstance>("instanceForm");
    form.add(new TextField<String>("name").setRequired(true));
    form.add(new TextField<String>("host").setRequired(true));
    form.add(new TextField<Integer>("port").setRequired(true));
    form.add(new TextField<String>("username"));
    form.add(new PasswordTextField("password").setResetPassword(false)
        .setRequired(false));

    addButton(new AjaxSubmitLink("button", form) {
      @Override
      protected void onSubmit(AjaxRequestTarget target, Form<?> ajaxForm) {
        instanceService.saveInstance(form.getModelObject());
        target.add(this.getPage());

      }

      protected void onError(AjaxRequestTarget target, Form<?> form) {
        target.add(notificationPanel);
      };
    }.setBody(Model.of("Save")));
    add(form);
  }

  public void setModel(IModel<NutchInstance> model) {
    form.setModel(model);
  }

}


text:
{{<govuk_template}}

{{$head}}
  {{>includes/elements_head}}

{{/head}}

{{$content}}

<link href="/public/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />

    Taxing a vehicle

                  Your vehicle

                  Vehicle details

                  Renewal period

                  Renewal period check

                  Pay

                  Done

  <form action="evl-3-got" method="get" class="form">
  <input type="hidden" name="nextbacklink" value="evl-3a">

    <legend class="form-label-bold" style="padding:1em 0">First we need a reference number to identify your vehicle</legend>

    <input id="radio-1" type="radio"  name="reftype" value="1">
    I have a V11 reminder letter in my name

        Where to find this

You should receive a V11 letter a few weeks before your existing tax is due to run out. If you've moved and not let us know, or are a new keeper you'll need to use one of the other methods below.

    <input id="radio-2" type="radio"  name="reftype" value="2">
    I have the V5C vehicle registration certificate in my name

          Where to find this

You should have received your V5C vehicle registration certificate shortly after acquiring your vehicle.

    <input id="radio-3" type="radio"  name="reftype" value="3">
    I am a new keeper and don't have a registration certificate in my name

          Where to find this

You should have received your V5C/2 new keeper supplement (green slip) when you acquired the vehicle.

  </fieldset>

      Don't have any of these documents to tax your vehicle with?

If you have not received a V5C with your name within 2 weeks of acquiring your vehicle, you need to contact us.

If you have lost the V5C with your name on, you can get a replacement.

If you have moved, you need to change the name or address on your V5C registration certificate.

    <input type="submit" class="button" value="Continue">

</form>

{{/content}}

{{$bodyEnd}}
  {{>includes/elements_scripts}}
{{/bodyEnd}}

{{/govuk_template}}


text:
<?php
namespace Concrete\Controller\SinglePage;

use Concrete\Controller\Element\Navigation\Menu;
use Concrete\Core\Page\Controller\AccountPageController;
use Concrete\Core\Page\Controller\PageController;
use Concrete\Core\Page\Desktop\DesktopList;
use Concrete\Core\Routing\Redirect;
use Page;

class Desktop extends AccountPageController
{

}


text:
/**
 *
 * Get User location.
 *
 * Usage:
 *
 *     Mps.Geo.current().done(function(ll) {
 *     }).fail(function(e) {
 *     });
 */
Mps.Geo = (function() {
    "use strict";

    var instance;

    var ctr = function Geo() {
        if (instance) {
            return instance;
        }
        instance = this;

        // init

        return instance;
    };

    /**
     * http://www.w3.org/TR/geolocation-API/#position_error_interface
     */
    ctr.PERMISSION_DENIED = 1;
    ctr.POSITION_UNAVAILABLE = 2;
    ctr.TIMEOUT = 3;

    ctr.BROWSER_NOT_SUPPORTED = -1;

    /**
     * Obtain current location.
     *
     * @param {PositionOptions} options http://www.w3.org/TR/geolocation-API/#position-options
     */
    ctr.current = function(options) {
        var d = $.Deferred();

        if (!options) {
            options = {
                timeout: 7000
            };
        }

        if (navigator.geolocation) {
            Mps.log('geolocation, request');
            navigator.geolocation.getCurrentPosition(function(pos) {
                Mps.log('success');
                d.resolve.call(d, pos);
            }, function(err) {
                Mps.log('fail');
                d.reject.apply(d, arguments);
            }, options);
        } else {
            var err = new Error('This browser not supported geolocation API.');
            err.code = -1;
            d.reject.call(d, err);
        }

        return d.promise();
    };

    return ctr;
})();


text:
require 'helper'

class TestFactoryGraph < Test::Unit::TestCase
  should "" do
  end
end


text:
layout: page
title: Barton Spring Enterprises Show
date: 2016-05-24
author: Jerry Holmes
tags: weekly links, java
status: published
summary: Integer quis molestie quam, in dapibus risus.
banner: images/banner/leisure-05.jpg
booking:
  startDate: 01/26/2017
  endDate: 01/27/2017
  ctyhocn: UKHCAHX
  groupCode: BSES
published: true
---
Donec pellentesque metus nisl, quis sodales libero interdum in. Nullam sed euismod dui, sed iaculis sapien. Sed non neque quis ipsum dapibus elementum sit amet a turpis. Donec sed massa rutrum, bibendum nibh a, efficitur risus. Nulla dictum elementum arcu. Morbi vitae leo libero. Curabitur elementum pharetra risus sit amet dictum. Integer vel sem viverra, efficitur felis hendrerit, ultrices velit. Quisque vehicula blandit mauris nec laoreet. Integer iaculis enim ipsum. Duis ut volutpat velit. Morbi porttitor orci lorem, at vestibulum eros vestibulum non.

* Aliquam sed urna eget velit iaculis euismod non ut quam
* Mauris interdum leo in rhoncus viverra
* Donec consequat dui vitae nunc consectetur, eu condimentum metus rutrum
* Fusce vel tortor quis nulla maximus consequat
* Maecenas eget urna consectetur, varius enim cursus, dapibus metus.

Quisque efficitur interdum accumsan. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras pharetra nunc erat, nec tristique nulla fermentum vitae. Praesent ac elementum ex. Mauris pretium tellus lobortis purus tristique, sed convallis orci volutpat. Cras venenatis mollis metus id rutrum. Curabitur suscipit malesuada elementum.
Integer nec aliquam tortor, non tincidunt ligula. Vestibulum magna ipsum, scelerisque non egestas sed, ultrices vitae elit. Donec vel ex eget arcu maximus condimentum id sit amet nunc. Nam tempus dignissim enim eget efficitur. Praesent imperdiet ante magna. Ut iaculis molestie accumsan. Sed sed mauris quis nulla porta luctus in vitae dui. Sed sed nulla vel ligula consequat condimentum. Fusce eu vulputate dui.


text:
Basic concept about GraphQL

### Instalación:

```bash
$ git clone https://github.com/carlosvillu-com/graphql-basic
$ cd graphql-basic
$ npm install
```

### Uso

El tutorial está dividido en varias partes. Primero lanzamos un query absolutamente básica (Hello worl!). Luego interactuamos con una API rest.
Y por último creamos una servidor al que le podemos enviar consultas GraphQL y nos response con el JSON adecuado.

Para poder lanzar poder ejecutar cada una de las fases:

* `$ npm run stage-hello-world`: Lanza el ejemplo más básico.
* `$ npm run stage-rest-api`: Lanza un query *estática* con la APIRest
* Hay dos comandos para el servidor GraphQL:
  * `$ npm run dev:serve`: Pone a la escucha un servidor en el puerto **8080**
  * `$ npm run dev:query`: Lanza una query arbitraria contra ese servidor. La query que lanza la puedes encontrar en el fichero "curl-query". Por si deséas cambiarla.

Como la salida JSON directamente en consola puede ser muy complicada de leer, hay un par de tarea que nos pueden ayudar a tener una salida un poco mejor:

* `$ npm run stage-hello-world:pretty`
* `$ npm run stage-rest-api:pretty`


text:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package hu.unideb.inf.battleship.model;

import hu.unideb.inf.battleship.controller.InvalidPlacingPositionException;
import hu.unideb.inf.battleship.controller.InvalidShootingPositionException;
import hu.unideb.inf.battleship.model.Field;
import hu.unideb.inf.battleship.model.ShipType;
import hu.unideb.inf.battleship.model.GameState;
import java.util.LinkedList;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *The representation of the board game of Battleship.
 *
 * @author Rakur
 */
public class Game {

    /**
     * The logger of the object.
     */
    private static Logger logger = LoggerFactory.getLogger(Game.class);
    /**
     * The playing area of the first player.
     */
    private Field fieldOne;
    /**
     * The playing area of the second player.
     */
    private Field fieldTwo;
    /**
     * The states of the game.
     */
    private GameState gameState;
    /**
     * The unplaced ships of player one.
     */
    private LinkedList<ShipType> playerOneUnplacedShips;
    /**
     * The unplaced ship of player two.
     */
    private LinkedList<ShipType> playerTwoUnplacedShips;
    /**
     * The constructor to initialize a game.
     */
    public Game() {
        this.fieldOne = new Field();
        this.fieldTwo = new Field();
        this.gameState = GameState.PLAYER_ONE_PLACING;

        this.playerOneUnplacedShips = new LinkedList<>();
        this.playerOneUnplacedShips.addLast(ShipType.CARRIER);
        this.playerOneUnplacedShips.addLast(ShipType.BATTLESHIP);
        this.playerOneUnplacedShips.addLast(ShipType.CRUISER);
        this.playerOneUnplacedShips.addLast(ShipType.SUBMARINE);
        this.playerOneUnplacedShips.addLast(ShipType.DESTROYER);

        this.playerTwoUnplacedShips = new LinkedList<>();
        this.playerTwoUnplacedShips.addLast(ShipType.CARRIER);
        this.playerTwoUnplacedShips.addLast(ShipType.BATTLESHIP);
        this.playerTwoUnplacedShips.addLast(ShipType.CRUISER);
        this.playerTwoUnplacedShips.addLast(ShipType.SUBMARINE);
        this.playerTwoUnplacedShips.addLast(ShipType.DESTROYER);
    }

    /**
     * Getter method for player one's field.
     * @return player one's field.
     */
    public Field getFieldOne() {
        return fieldOne;
    }
    /**
     * Setter method for player one's field.
     * @param fieldOne the field to set.
     */
    public void setFieldOne(Field fieldOne) {
        this.fieldOne = fieldOne;
    }
    /**
     * Getter method for player two's field.
     * @return player two's field.
     */
    public Field getFieldTwo() {
        return fieldTwo;
    }
    /**
     * Setter method for player two's field.
     * @param fieldTwo the field to set.
     */
    public void setFieldTwo(Field fieldTwo) {
        this.fieldTwo = fieldTwo;
    }
    /**
     * Getter method for the gamestate.
     * @return the current gamestate.
     */
    public GameState getGameState() {
        return gameState;
    }
    /**
     * Setter method of the gamestate.
     * @param gameState the gamestate to set.
     */
    public void setGameState(GameState gameState) {
        this.gameState = gameState;
    }
    /**
     * Getter method for player one's unplaced ships.
     * @return a linked list containing player one's unplaced ships.
     */
    public LinkedList<ShipType> getPlayerOneUnplacedShips() {
        return playerOneUnplacedShips;
    }
    /**
     * Setter method for player one's unplaced ships.
     * @param playerOneUnplacedShips the ships to set.
     */
    public void setPlayerOneUnplacedShips(LinkedList<ShipType> playerOneUnplacedShips) {
        this.playerOneUnplacedShips = playerOneUnplacedShips;
    }
    /**
     * The getter method for player two's unplaced ships.
     * @return a linked list containing player two's unplaced ships.
     */
    public LinkedList<ShipType> getPlayerTwoUnplacedShips() {
        return playerTwoUnplacedShips;
    }
    /**
     * Setter method for player two's unplaced ships.
     * @param playerTwoUnplacedShips the ships to set.
     */
    public void setPlayerTwoUnplacedShips(LinkedList<ShipType> playerTwoUnplacedShips) {
        this.playerTwoUnplacedShips = playerTwoUnplacedShips;
    }
        /**
     * Places the current player's ship on their board.
     *
     * @param x The rowID of the cell.
     * @param y The colID of the cell.
     * @param vertical The position of the ship.
     * @throws InvalidPlacingPositionException when the ship cannot be placed on the current position.
     */
    public void placeShip(int x, int y, boolean vertical) throws InvalidPlacingPositionException {
        if (gameState == GameState.PLAYER_ONE_PLACING) {
            fieldOne.place(playerOneUnplacedShips.getFirst(), x, y, vertical);
            playerOneUnplacedShips.removeFirst();
        } else {
            fieldTwo.place(playerTwoUnplacedShips.getFirst(), x, y, vertical);
            playerTwoUnplacedShips.removeFirst();
        }
        this.switchTurn();
    }
    /**
     * Shoots at a cell and checks if it was a ship.
     *
     * @param x The rowID of the cell.
     * @param y The colID of the cell.
     * @return Returns true if the shot hit a ship, false otherwise.
     * @throws InvalidShootingPositionException when the current position can not be shot at.
     */
    public boolean shoot(int x, int y) throws InvalidShootingPositionException {
        boolean shootResult;
        if (gameState == GameState.PLAYER_ONE_SHOOTING) {
            shootResult = fieldTwo.shoot(x, y);
        } else {
            shootResult = fieldOne.shoot(x, y);
        }
        this.switchTurn();
        return shootResult;
    }
    /**
     * The method for switching between the gamestates.
     */
    private void switchTurn() {
        switch (this.gameState) {
            case PLAYER_ONE_PLACING:
                if (!playerOneUnplacedShips.isEmpty()) {
                    gameState = GameState.PLAYER_ONE_PLACING;
                } else {
                    if (!playerTwoUnplacedShips.isEmpty()) {
                        gameState = GameState.PLAYER_TWO_PLACING;
                    } else {
                        gameState = GameState.PLAYER_TWO_SHOOTING;
                    }
                }
                break;
            case PLAYER_TWO_PLACING:
                if (!playerTwoUnplacedShips.isEmpty()) {
                    gameState = GameState.PLAYER_TWO_PLACING;
                } else {
                    if (!playerOneUnplacedShips.isEmpty()) {
                        gameState = GameState.PLAYER_ONE_PLACING;
                    } else {
                        gameState = GameState.PLAYER_ONE_SHOOTING;
                    }
                }
                break;
            case PLAYER_ONE_SHOOTING:
                if (fieldTwo.isAllBoatsSunken()) {
                    gameState = GameState.PLAYER_ONE_WON;
                } else {
                    gameState = GameState.PLAYER_TWO_SHOOTING;
                }
                break;
            case PLAYER_TWO_SHOOTING:
                if (fieldOne.isAllBoatsSunken()) {
                    gameState = GameState.PLAYER_TWO_WON;
                } else {
                    gameState = GameState.PLAYER_ONE_SHOOTING;
                }
                break;
        }
        logger.info("Switching turn");
    }
}


text:
<?php namespace Ems\App\Cms\ControllerCreators;

use App;
use Cmsable\Model\SiteTreeNodeInterface;
use Cmsable\Routing\ControllerCreatorInterface;
use Permit\Authentication\CredentialsBrokerInterface as CredentialsBroker;
use Cmsable\Mail\MailerInterface as Mailer;
use Permit\Authentication\AuthenticatorInterface as Auth;
use Cmsable\PageType\CurrentPageTypeProviderInterface as PageTypes;
use Illuminate\Routing\Router;
use Cmsable\Html\Breadcrumbs\Factory as BreadcrumbFactory;

class PasswordResetControllerCreator implements ControllerCreatorInterface
{

    protected $pageTypes;

    protected $router;

    protected $breadcrumbs;

    public function __construct(PageTypes $pageTypes, Router $router,
                                BreadcrumbFactory $breadcrumbs)
    {
        $this->pageTypes = $pageTypes;
        $this->router = $router;
        $this->breadcrumbs = $breadcrumbs;
    }

    /**
     * {@inheritdoc}
     *
     * @param string $controllerName The classname of the routed controller
     * @param \Cmsable\Model\SiteTreeNodeInterface $page (optional) Null if no match
     * @return \Illuminate\Routing\Controller
     **/
    public function createController($name, SiteTreeNodeInterface $page=NULL){

        switch ($this->router->currentRouteName()) {

            case 'password.create-email':
            case 'password.send-email':
                return $this->createControllerForEmailAction($name, $page);

            case 'password.create-reset':
            case 'password.store-reset':
                return $this->createControllerForResetAction($name, $page);
        }

        return App::make($name);

    }

    protected function createControllerForEmailAction($name, $page)
    {

        $broker = $this->makeBroker();

        $mailer = $this->makeMailer();

        $this->configureMailer($mailer);

        $controller = App::make($name, [$broker, $mailer]);

        return $controller;

    }

    protected function createControllerForResetAction($name, $page)
    {

        $controller = App::make($name);

        if (!$config = $this->pageTypes->currentConfig()) {
            return $controller;
        }

        if (!$title = $config->resetpage_title) {
            return $controller;
        }

        $content = $config->resetpage_content;

        $this->breadcrumbs->register('password.create-reset', function($breadcrumbs, $code=null) use ($title, $content) {
            $breadcrumbs->add($title, null, $title, $content);
        });

        return App::make($name);

    }

    protected function configureMailer(Mailer $mailer)
    {

        if (!$currentConfig = $this->pageTypes->currentConfig()) {
            return;
        }

        if ($currentConfig->resetmail_subject) {
            $mailer->overwrite('subject', $currentConfig->resetmail_subject);
        }

        if ($currentConfig->resetmail_body) {
            $mailer->overwrite('body', $currentConfig->resetmail_body);
        }
    }

    protected function makeBroker()
    {
        return App::make('Permit\Authentication\CredentialsBrokerInterface');
    }

    protected function makeMailer()
    {
        return App::make('Cmsable\Mail\MailerInterface');
    }

}


text:
<!DOCTYPE html>

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no" />
  <title>GrantRank: Search for Grant</title>

  <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
  <link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-amber.min.css">
  <link rel="stylesheet" href="/GrantRank/stepper.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css">
  <link rel="stylesheet" type="text/css" href="/GrantRank/form.css" media="screen,projection" />

      GrantRank

Sign Up

Login

Sign Up

Login

      menu

Sign Up

      <form class="signinform">

          <input id="user" type="text" class="validate" placeholder="Username">

          <input id="password" type="text" class="validate" placeholder="Password">

          <input id="organization" type="text" class="validate" placeholder="Organization Name">

          <input id="email" type="text" class="validate" placeholder="Email">

          <input id="phone" type="text" class="validate" placeholder="Phone">

          <input id="address" type="text" class="validate" placeholder="Address">

      </form>

      Sign Up

Login

      <form class="signinform">

          <input id="user" type="text" class="validate" placeholder="Username">

          <input id="password" type="text" class="validate" placeholder="Password">

      </form>

      Login

            Type of Grant - Corporate

        2

What type of support are you looking for?

            <form action="#">

                  <input name="grant-type" type="checkbox" id="type-event" />
                   Event Sponsorships

                  <input name="grant-type" type="checkbox" id="type-program" />
                   Program Support

                  <input name="grant-type" type="checkbox" id="type-vol" />
                   Volunteer Support

                  <input name="grant-type" type="checkbox" id="type-op" />
                   Operating Support

                  <input name="grant-type" type="checkbox" id="type-all" />
                   Apply to All

            </form>

          <button class="f-button mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--colored mdl-button--raised" data-stepper-next>
            Continue
          </button>

          <button class="b-button mdl-button mdl-js-button mdl-js-ripple-effect" data-stepper-back>
            Back
          </button>

About GoodCity

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer imperdiet orci felis, vitae consectetur nisi accumsan nec. Integer ipsum diam, condimentum iaculis consectetur nec, consequat mollis magna. Etiam malesuada auctor tellus sed ultricies.

        Made by Hacking Chicago