text:
\documentclass{article}
\usepackage{parskip}
\usepackage[margin=1in]{geometry}
\usepackage{mathptmx}
\usepackage{courier}
\usepackage[scaled=.92]{helvet}
\usepackage[T1]{fontenc}
\pagestyle{empty}
\begin{document}
\today

Laura Smith has my permission to include the following paper, of which
I was a co-author, in her doctoral dissertation.

Smith, Laura; Smith, Jane D.; White, Sigmund. ``The Effect of Stress
Distribution on Photoelasticity,'' Name of Journal, vol.4, 2011.

\vskip.5\baselineskip\centerline{$\sim$OR$\sim$}

Laura Smith has my permission to include the following paper which was
submitted for publication, of which I was a co-author, in her doctoral
dissertation.

Smith, Laura; Smith, Jane D.; White, Sigmund. ``The Effect of Stress
Distribution on Photoelasticity.''

\vskip.5\baselineskip\centerline{$\sim$OR$\sim$}

Laura Smith has my permission to include material, currently being
prepared for submission for publication, of which I was a co-author,
in her doctoral dissertation.

Smith, Laura; Smith, Jane D.; White, Sigmund. ``The Effect of Stress
Distribution on Photoelasticity.''

\vskip3\baselineskip
Jane D. Smith
\end{document}


text:
package github

import (
	"net/http"
	"net/http/httptest"
	"strings"
	"testing"

	"github.com/influxdata/telegraf/testutil"
)

func GithubWebhookRequest(event string, jsonString string, t *testing.T) {
	var acc testutil.Accumulator
	gh := &GithubWebhook{Path: "/github", acc: &acc}
	req, _ := http.NewRequest("POST", "/github", strings.NewReader(jsonString))
	req.Header.Add("X-Github-Event", event)
	w := httptest.NewRecorder()
	gh.eventHandler(w, req)
	if w.Code != http.StatusOK {
		t.Errorf("POST "+event+" returned HTTP status code %v.\nExpected %v", w.Code, http.StatusOK)
	}
}

func TestCommitCommentEvent(t *testing.T) {
	GithubWebhookRequest("commit_comment", CommitCommentEventJSON(), t)
}

func TestDeleteEvent(t *testing.T) {
	GithubWebhookRequest("delete", DeleteEventJSON(), t)
}

func TestDeploymentEvent(t *testing.T) {
	GithubWebhookRequest("deployment", DeploymentEventJSON(), t)
}

func TestDeploymentStatusEvent(t *testing.T) {
	GithubWebhookRequest("deployment_status", DeploymentStatusEventJSON(), t)
}

func TestForkEvent(t *testing.T) {
	GithubWebhookRequest("fork", ForkEventJSON(), t)
}

func TestGollumEvent(t *testing.T) {
	GithubWebhookRequest("gollum", GollumEventJSON(), t)
}

func TestIssueCommentEvent(t *testing.T) {
	GithubWebhookRequest("issue_comment", IssueCommentEventJSON(), t)
}

func TestIssuesEvent(t *testing.T) {
	GithubWebhookRequest("issues", IssuesEventJSON(), t)
}

func TestMemberEvent(t *testing.T) {
	GithubWebhookRequest("member", MemberEventJSON(), t)
}

func TestMembershipEvent(t *testing.T) {
	GithubWebhookRequest("membership", MembershipEventJSON(), t)
}

func TestPageBuildEvent(t *testing.T) {
	GithubWebhookRequest("page_build", PageBuildEventJSON(), t)
}

func TestPublicEvent(t *testing.T) {
	GithubWebhookRequest("public", PublicEventJSON(), t)
}

func TestPullRequestReviewCommentEvent(t *testing.T) {
	GithubWebhookRequest("pull_request_review_comment", PullRequestReviewCommentEventJSON(), t)
}

func TestPushEvent(t *testing.T) {
	GithubWebhookRequest("push", PushEventJSON(), t)
}

func TestReleaseEvent(t *testing.T) {
	GithubWebhookRequest("release", ReleaseEventJSON(), t)
}

func TestRepositoryEvent(t *testing.T) {
	GithubWebhookRequest("repository", RepositoryEventJSON(), t)
}

func TestStatusEvent(t *testing.T) {
	GithubWebhookRequest("status", StatusEventJSON(), t)
}

func TestTeamAddEvent(t *testing.T) {
	GithubWebhookRequest("team_add", TeamAddEventJSON(), t)
}

func TestWatchEvent(t *testing.T) {
	GithubWebhookRequest("watch", WatchEventJSON(), t)
}

redpajama_set_name: RedPajamaGithub


text:
package studentcapture.login;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCrypt;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
import studentcapture.mail.MailClient;
import studentcapture.user.User;
import studentcapture.user.UserDAO;

import javax.servlet.http.HttpServletRequest;
import java.util.UUID;

/**
 * Controller for handling HTTP requests related to the login page.
 * @author c13hbd
 */
@RestController
public class ResetPasswordController {

    @Autowired
    private UserDAO userDAO;

    /**
     * Generates a link for resetting username's password, and emails the link
     * to the users email.
     *
     * The link contains a randomly generated token,
     *  which is also stored in the database.
     *
     * @param email Email of the user trying to reset their password.
     * @param username Username of the user trying to reset their password
     * @param request Origin of the HTTP request
     * @return A ModelAndView Object defining the redirect to the login page.
     */
    @RequestMapping(value = "/lostPassword", method = RequestMethod.POST)
    public ModelAndView lostPassword(
            @RequestParam(value="email")    String email,
            @RequestParam(value="username") String username,
            HttpServletRequest request
            ){

        ModelAndView mav = new ModelAndView();

        //flag = 0 for username, flag = 1 for userID
        int flag = 0;
        User user = userDAO.getUser(username, flag);

        //Return if user does not exist
        if(user == null){
            mav.setViewName("redirect:login?error=invaliduser");
        } else if(!user.getEmail().equals(email)) {
            mav.setViewName("redirect:login?passwordemail");
        } else {

            //Spring generate token
            String token = UUID.randomUUID().toString();

            String url =
                    "https://" + request.getServerName() +
                    ":" + request.getServerPort() +
                    request.getContextPath();

            //Generate link
            //Url syntax: /changePassword?username=abc&token=123
            String tokenUrl = url + "/changePassword?username=" +
                    user.getUserName() + "&token=" + token;

            //Set token for the user
            user.setToken(token);

            //Update user
            userDAO.updateUser(user);

            //Email link
            MailClient mailClient = new MailClient();
            String receiver = user.getEmail();
            String msg = "To reset your password on Student Capture, please " +
                    "follow this link:\n"+tokenUrl;
            //mailClient.send(String to, String from, String subj, String msg)
            mailClient.send(receiver, "studentcapture@cs.umu.se",
                    "Reset Password", msg);

            mav.setViewName("redirect:login?passwordemail");

        }

        return mav;
    }

    /**
     * Changes password for the user username,
     * if token matches the token stored in the users database entry.
     *
     * @param username User trying to change their password.
     * @param token Token used to verify the user is who they say they are.
     * @param password The new password that the user is attempting to switch
     *                 to.
     * @return ModelAndView Object redirecting to the login page with message
     * about whether the change succeeded or not.
     */
    @RequestMapping(value = "/changePassword", method = RequestMethod.POST)
    public ModelAndView resetPassword(
            @RequestParam(value="username") String username,
            @RequestParam(value="token") String token,
            @RequestParam(value="password") String password
            ){

        //flag = 0 for username, flag = 1 for userID
        int flag = 0;
        User user = userDAO.getUser(username, flag);

        ModelAndView mav = new ModelAndView();

        //If the token does not exist, return
        if (user == null || user.getToken() == null ||
                user.getToken().compareTo("") == 0) {
            mav.setViewName("redirect:login?error=badtoken");
        } else if (user.getToken().compareTo(token) == 0) {
            //Tokens match

            //Encrypt the password, set password and token
            user.setPswd(encryptPassword(password));
            user.setToken("");

            mav.setViewName("redirect:login?passwordchanged");

            //Update user
            userDAO.updateUser(user);

        } else {
            mav.setViewName("redirect:login?error=badtoken");
        }

        return mav;

    }

    /**
     * Encrypts a password string with BCrypt.
     *
     * @param password Unencrypted password to encrypt
     * @return the encrypted password
     */
    private String encryptPassword(String password) {
        return BCrypt.hashpw(password, BCrypt.gensalt(11));
    }

}


text:
package edu.uci.ics.hyracks.storage.am.lsm.invertedindex;

import edu.uci.ics.hyracks.storage.am.lsm.invertedindex.common.AbstractInvertedIndexDeleteTest;
import edu.uci.ics.hyracks.storage.am.lsm.invertedindex.util.LSMInvertedIndexTestContext.InvertedIndexType;

public class LSMInvertedIndexDeleteTest extends AbstractInvertedIndexDeleteTest {

    public LSMInvertedIndexDeleteTest() {
        super(InvertedIndexType.LSM, false);
    }
}


text:
namespace ash {
namespace internal {

////////////////////////////////////////////////////////////////////////////////
// StatusAreaLayoutManager, public:

StatusAreaLayoutManager::StatusAreaLayoutManager(ShelfLayoutManager* shelf)
    : in_layout_(false),
      shelf_(shelf) {
}

StatusAreaLayoutManager::~StatusAreaLayoutManager() {
}

////////////////////////////////////////////////////////////////////////////////
// StatusAreaLayoutManager, aura::LayoutManager implementation:

void StatusAreaLayoutManager::OnWindowResized() {
  LayoutStatusArea();
}

void StatusAreaLayoutManager::OnWindowAddedToLayout(aura::Window* child) {
}

void StatusAreaLayoutManager::OnWillRemoveWindowFromLayout(
    aura::Window* child) {
}

void StatusAreaLayoutManager::OnWindowRemovedFromLayout(aura::Window* child) {
}

void StatusAreaLayoutManager::OnChildWindowVisibilityChanged(
    aura::Window* child, bool visible) {
}

void StatusAreaLayoutManager::SetChildBounds(
    aura::Window* child,
    const gfx::Rect& requested_bounds) {
  // Only need to have the shelf do a layout if the child changing is the status
  // area and the shelf isn't in the process of doing a layout.
  if (child != shelf_->status()->GetNativeView() || in_layout_) {
    SetChildBoundsDirect(child, requested_bounds);
    return;
  }

  // If the size matches, no need to do anything. We don't check the location as
  // that is managed by the shelf.
  if (requested_bounds == child->bounds())
    return;

  SetChildBoundsDirect(child, requested_bounds);
  LayoutStatusArea();
}

////////////////////////////////////////////////////////////////////////////////
// StatusAreaLayoutManager, private:

void StatusAreaLayoutManager::LayoutStatusArea() {
  // Shelf layout manager may be already doing layout.
  if (shelf_->in_layout())
    return;

  AutoReset<bool> auto_reset_in_layout(&in_layout_, true);
  shelf_->LayoutShelf();
}

}  // namespace internal
}  // namespace ash


text:
import { connect } from 'react-redux';
import _ from 'underscore';

const STATE_KEY = 'rippl_v1';

/**
 * Load saved state from local storage
 */
export function loadState() {
  try {
    const savedState = JSON.parse(localStorage.getItem(STATE_KEY));
    if (savedState) {
      return {
        district: { id: savedState.district },
        userCauses: savedState.userCauses,
      };
    }
  } catch (e) {} // eslint-disable-line no-empty

  return {};
}

/**
 * Save essential pieces of the current state to local storage
 */
const saveState = _.debounce((state) => {
  const essentialState = {
    district: state.district.id,
    userCauses: state.userCauses,
  };
  localStorage.setItem(STATE_KEY, JSON.stringify(essentialState));
}, 2 * 1000);

/**
 * Clear local storage and refresh the browser
 */
export function destroyState() {
  localStorage.clear();
  window.location.reload();
}

/**
 * HACK! Call saveState whenever this component is rendered
 */
function StateSaverComponent(props) {
  setTimeout(() => saveState(props), 1);
  return props.children;
}

export const StateSaver = connect(
  state => state,
)(StateSaverComponent);


text:
+++ ./chrome/renderer/printing/print_web_view_helper.h	2014-03-07 14:10:33.000000000 +0100
@@ -233,7 +233,7 @@
   void FinishFramePrinting();

   // Prints the page listed in |params|.
-#if defined(OS_LINUX) || defined(OS_ANDROID)
+#if defined(OS_POSIX) && !defined(OS_MACOSX)
   void PrintPageInternal(const PrintMsg_PrintPage_Params& params,
                          const gfx::Size& canvas_size,
                          blink::WebFrame* frame,


text:
package info.iconmaster.typhon.model;

import info.iconmaster.typhon.TyphonInput;
import info.iconmaster.typhon.antlr.TyphonParser.ExprContext;
import info.iconmaster.typhon.compiler.CodeBlock;
import info.iconmaster.typhon.util.SourceInfo;

/**
 * This represents an argument given to a function or annotation.
 * It is a Typhon expression, with an optional label (used for setting named parameters).
 *
 * @author iconmaster
 *
 */
public class Argument extends TyphonModelEntity {
	/**
	 * The label of the named parameter this argument corresponds to.
	 * Must be a valid Typhon identifier.
	 * This is null if the argument is positional.
	 */
	private String label;

	/**
	 * The value of the argument.
	 */
	private CodeBlock value;

	/**
	 * The ANTLR rule corresponding to the value.
	 */
	private ExprContext rawValue;

	public Argument(TyphonInput input) {
		super(input);
	}

	public Argument(TyphonInput input, SourceInfo source) {
		super(input, source);
	}

	/**
	 * @return The label of the named parameter this argument corresponds to. This is null if the argument is positional.
	 */
	public String getLabel() {
		return label;
	}

	/**
	 * @return The new label of the named parameter this argument corresponds to, or null if the argument is positional.
	 */
	public void setLabel(String label) {
		this.label = label;
	}

	/**
	 * @return The value of the argument.
	 */
	public CodeBlock getValue() {
		return value;
	}

	/**
	 * @param value The new value of the argument.
	 */
	public void setValue(CodeBlock value) {
		this.value = value;
	}

	/**
	 * Sets the raw ANTLR data for this annotation.
	 *
	 * @param rawValue The ANTLR rule corresponding to the value.
	 */
	public void setRawData(ExprContext rawValue) {
		super.setRawData();
		this.rawValue = rawValue;
	}

	/**
	 * @return The ANTLR rule corresponding to the value.
	 */
	public ExprContext getRawValue() {
		return rawValue;
	}

	@Override
	public String prettyPrint() {
		StringBuilder sb = new StringBuilder();

		if (getLabel() != null) {
			sb.append(getLabel());
			sb.append(": ");
		}

		if (rawValue != null) {
			sb.append(rawValue.getText());
		} else {
			sb.append("<unknown>");
		}

		return sb.toString();
	}
}


text:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->

<mdb:MD_Metadata
    xmlns:mdb = "http://standards.iso.org/iso/19115/-3/mdb/1.0"
    xmlns:gco = "http://standards.iso.org/iso/19115/-3/gco/1.0"
    xmlns:lan = "http://standards.iso.org/iso/19115/-3/lan/1.0"
    xmlns:cit = "http://standards.iso.org/iso/19115/-3/cit/1.0"
    xmlns:gex = "http://standards.iso.org/iso/19115/-3/gex/1.0"
    xmlns:mrs = "http://standards.iso.org/iso/19115/-3/mrs/1.0"
    xmlns:msr = "http://standards.iso.org/iso/19115/-3/msr/1.0"
    xmlns:mrc = "http://standards.iso.org/iso/19115/-3/mrc/1.0"
    xmlns:mri = "http://standards.iso.org/iso/19115/-3/mri/1.0"
    xmlns:mrd = "http://standards.iso.org/iso/19115/-3/mrd/1.0"
    xmlns:mco = "http://standards.iso.org/iso/19115/-3/mco/1.0"
    xmlns:mmi = "http://standards.iso.org/iso/19115/-3/mmi/1.0"
    xmlns:mcc = "http://standards.iso.org/iso/19115/-3/mcc/1.0"
    xmlns:mex = "http://standards.iso.org/iso/19115/-3/mex/1.0"
    xmlns:gcx = "http://standards.iso.org/iso/19115/-3/gcx/1.0"
    xmlns:srv = "http://standards.iso.org/iso/19115/-3/srv/2.0"
    xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xlink = "http://www.w3.org/1999/xlink"
    xsi:schemaLocation =
        "http://standards.iso.org/iso/19115/-3/mdb/1.0 https://schemas.isotc211.org/19115/-3/mdb/1.0/mdb.xsd
         http://standards.iso.org/iso/19115/-3/mrs/1.0 https://schemas.isotc211.org/19115/-3/mrs/1.0/mrs.xsd
         http://standards.iso.org/iso/19115/-3/msr/1.0 https://schemas.isotc211.org/19115/-3/msr/1.0/msr.xsd
         http://standards.iso.org/iso/19115/-3/mrc/1.0 https://schemas.isotc211.org/19115/-3/mrc/1.0/mrc.xsd
         http://standards.iso.org/iso/19115/-3/mrd/1.0 https://schemas.isotc211.org/19115/-3/mrd/1.0/mrd.xsd
         http://standards.iso.org/iso/19115/-3/mco/1.0 https://schemas.isotc211.org/19115/-3/mco/1.0/mco.xsd
         http://standards.iso.org/iso/19115/-3/mmi/1.0 https://schemas.isotc211.org/19115/-3/mmi/1.0/mmi.xsd
         http://standards.iso.org/iso/19115/-3/mex/1.0 https://schemas.isotc211.org/19115/-3/mex/1.0/mex.xsd
         http://standards.iso.org/iso/19115/-3/gcx/1.0 https://schemas.isotc211.org/19115/-3/gcx/1.0/gcx.xsd
         http://standards.iso.org/iso/19115/-3/srv/2.0 https://schemas.isotc211.org/19115/-3/srv/2.0/srv.xsd">

  <!--
    WARNING: this file is not yet compliant with ISO schema.
  -->

  <mdb:metadataIdentifier>
    <mcc:MD_Identifier>
      <mcc:code>
        <gco:CharacterString>a-metadata-identifier</gco:CharacterString>
      </mcc:code>
      <mcc:codeSpace>
        <gco:CharacterString>md.id.ns</gco:CharacterString>
      </mcc:codeSpace>
    </mcc:MD_Identifier>
  </mdb:metadataIdentifier>
  <mdb:defaultLocale>
    <lan:PT_Locale>
      <lan:language>
        <lan:LanguageCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#LanguageCode" codeListValue="eng" codeSpace="eng">English</lan:LanguageCode>
      </lan:language>
      <lan:characterEncoding>
        <lan:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="eng">UTF-8</lan:MD_CharacterSetCode>
      </lan:characterEncoding>
    </lan:PT_Locale>
  </mdb:defaultLocale>
  <mdb:parentMetadata>
    <cit:CI_Citation>
      <cit:title>
        <gco:CharacterString>A parent metadata</gco:CharacterString>
      </cit:title>
      <cit:identifier>
        <mcc:MD_Identifier>
          <mcc:code>
            <gco:CharacterString>a-parent-identifier</gco:CharacterString>
          </mcc:code>
          <mcc:codeSpace>
            <gco:CharacterString>pmd.id.ns</gco:CharacterString>
          </mcc:codeSpace>
        </mcc:MD_Identifier>
      </cit:identifier>
    </cit:CI_Citation>
  </mdb:parentMetadata>
  <mdb:contact>
    <cit:CI_Responsibility>
      <cit:role>
        <cit:CI_RoleCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_RoleCode" codeListValue="pointOfContact" codeSpace="eng">Point of contact</cit:CI_RoleCode>
      </cit:role>
      <cit:party>
        <cit:CI_Organisation>
          <cit:name>
            <gco:CharacterString>Plato Republic</gco:CharacterString>
          </cit:name>
          <cit:contactInfo>
            <cit:CI_Contact id="thought">
              <cit:phone>
                <cit:CI_Telephone>
                  <cit:number>
                    <gco:CharacterString>555-444-3333</gco:CharacterString>
                  </cit:number>
                  <cit:numberType>
                    <cit:CI_TelephoneTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_TelephoneTypeCode" codeListValue="voice" codeSpace="eng">Voice</cit:CI_TelephoneTypeCode>
                  </cit:numberType>
                </cit:CI_Telephone>
              </cit:phone>
              <cit:phone>
                <cit:CI_Telephone>
                  <cit:number>
                    <gco:CharacterString>555-555-5555</gco:CharacterString>
                  </cit:number>
                  <cit:numberType>
                    <cit:CI_TelephoneTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_TelephoneTypeCode" codeListValue="facsimile" codeSpace="eng">Facsimile</cit:CI_TelephoneTypeCode>
                  </cit:numberType>
                </cit:CI_Telephone>
              </cit:phone>
              <cit:address>
                <cit:CI_Address>
                  <cit:deliveryPoint>
                    <gco:CharacterString>123 Main Street</gco:CharacterString>
                  </cit:deliveryPoint>
                  <cit:city>
                    <gco:CharacterString>Metropolis city</gco:CharacterString>
                  </cit:city>
                  <cit:administrativeArea>
                    <gco:CharacterString>Utopia province</gco:CharacterString>
                  </cit:administrativeArea>
                  <cit:postalCode>
                    <gco:CharacterString>A1A 2C2</gco:CharacterString>
                  </cit:postalCode>
                  <cit:country>
                    <gco:CharacterString>Atlantis island</gco:CharacterString>
                  </cit:country>
                  <cit:electronicMailAddress>
                    <gco:CharacterString>test@example.com</gco:CharacterString>
                  </cit:electronicMailAddress>
                </cit:CI_Address>
              </cit:address>
              <cit:onlineResource>
                <cit:CI_OnlineResource id="timaeus">
                  <cit:linkage>
                    <gcx:FileName src="http://example.com">example.com</gcx:FileName>
                  </cit:linkage>
                  <cit:protocol>
                    <gco:CharacterString>Submarine HTTP</gco:CharacterString>
                  </cit:protocol>
                  <cit:applicationProfile>
                    <gco:CharacterString>Imaginary work</gco:CharacterString>
                  </cit:applicationProfile>
                  <cit:name>
                    <gco:CharacterString>Timaeus & Critias</gco:CharacterString>
                  </cit:name>
                  <cit:description xsi:type="lan:PT_FreeText_PropertyType">
                    <gco:CharacterString>A dialog between philosophers.</gco:CharacterString>
                    <lan:PT_FreeText>
                      <lan:textGroup>
                        <lan:LocalisedCharacterString locale="#locale-eng">A dialog between philosophers.</lan:LocalisedCharacterString>
                      </lan:textGroup>
                      <lan:textGroup>
                        <lan:LocalisedCharacterString locale="#locale-fra">Un dialogue entre philosophes.</lan:LocalisedCharacterString>
                      </lan:textGroup>
                    </lan:PT_FreeText>
                  </cit:description>
                  <cit:function>
                    <cit:CI_OnLineFunctionCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_OnLineFunctionCode" codeListValue="search" codeSpace="eng">Search</cit:CI_OnLineFunctionCode>
                  </cit:function>
                </cit:CI_OnlineResource>
              </cit:onlineResource>
              <cit:hoursOfService>
                <gco:CharacterString>Weekdays 9:00 AM - 5:00 PM</gco:CharacterString>
              </cit:hoursOfService>
              <cit:contactInstructions>
                <gco:CharacterString>Through thought</gco:CharacterString>
              </cit:contactInstructions>
              <cit:contactType>
                <gco:CharacterString>Virtual</gco:CharacterString>
              </cit:contactType>
            </cit:CI_Contact>
          </cit:contactInfo>
          <cit:individual>
            <cit:CI_Individual>
              <cit:name>
                <gco:CharacterString>Socrates</gco:CharacterString>
              </cit:name>
              <cit:positionName>
                <gco:CharacterString>Philosopher</gco:CharacterString>
              </cit:positionName>
            </cit:CI_Individual>
          </cit:individual>
        </cit:CI_Organisation>
      </cit:party>
    </cit:CI_Responsibility>
  </mdb:contact>
  <mdb:contact>
    <cit:CI_Responsibility>
      <cit:role>
        <cit:CI_RoleCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_RoleCode" codeListValue="pointOfContact" codeSpace="eng">Point of contact</cit:CI_RoleCode>
      </cit:role>
      <cit:party>
        <cit:CI_Individual>
          <cit:name>
            <gco:CharacterString>Hermocrates</gco:CharacterString>
          </cit:name>
          <cit:contactInfo xlink:href="#thought"/>
          <cit:positionName>
            <gco:CharacterString>Politician</gco:CharacterString>
          </cit:positionName>
        </cit:CI_Individual>
      </cit:party>
    </cit:CI_Responsibility>
  </mdb:contact>
  <mdb:dateInfo>
    <cit:CI_Date>
      <cit:date>
        <gco:DateTime>2009-12-16T12:00:29.580+01:00</gco:DateTime>
      </cit:date>
      <cit:dateType>
        <cit:CI_DateTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_DateTypeCode" codeListValue="creation" codeSpace="eng">Creation</cit:CI_DateTypeCode>
      </cit:dateType>
    </cit:CI_Date>
  </mdb:dateInfo>
  <mdb:metadataStandard>
    <cit:CI_Citation>
      <cit:title>
        <gco:CharacterString>ISO 19115-1</gco:CharacterString>
      </cit:title>
      <cit:edition>
        <gco:CharacterString>2014</gco:CharacterString>
      </cit:edition>
    </cit:CI_Citation>
  </mdb:metadataStandard>
  <mdb:otherLocale>
    <lan:PT_Locale>
      <lan:language>
        <lan:LanguageCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#LanguageCode" codeListValue="fra" codeSpace="eng">French</lan:LanguageCode>
      </lan:language>
      <lan:country>
        <lan:CountryCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#Country" codeListValue="CA" codeSpace="eng">Canada</lan:CountryCode>
      </lan:country>
      <lan:characterEncoding>
        <lan:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="eng">UTF-8</lan:MD_CharacterSetCode>
      </lan:characterEncoding>
    </lan:PT_Locale>
  </mdb:otherLocale>
  <mdb:spatialRepresentationInfo>
    <msr:MD_Georectified>
      <msr:numberOfDimensions>
        <gco:Integer>2</gco:Integer>
      </msr:numberOfDimensions>
      <msr:axisDimensionProperties>
        <msr:MD_Dimension>
          <msr:dimensionName>
            <msr:MD_DimensionNameTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_DimensionNameTypeCode" codeListValue="row">Row</msr:MD_DimensionNameTypeCode>
          </msr:dimensionName>
          <msr:dimensionSize>
            <gco:Integer>7777</gco:Integer>
          </msr:dimensionSize>
          <msr:resolution>
            <gco:Measure uom="http://www.isotc211.org/2005/resources/uom/gmxUom.xml#xpointer(//*[@gml:id='m'])">10.0</gco:Measure>
          </msr:resolution>
        </msr:MD_Dimension>
      </msr:axisDimensionProperties>
      <msr:axisDimensionProperties>
        <msr:MD_Dimension>
          <msr:dimensionName>
            <msr:MD_DimensionNameTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_DimensionNameTypeCode" codeListValue="column">Column</msr:MD_DimensionNameTypeCode>
          </msr:dimensionName>
          <msr:dimensionSize>
            <gco:Integer>2233</gco:Integer>
          </msr:dimensionSize>
          <msr:resolution>
            <gco:Measure uom="http://www.isotc211.org/2005/resources/uom/gmxUom.xml#xpointer(//*[@gml:id='m'])">5.0</gco:Measure>
          </msr:resolution>
        </msr:MD_Dimension>
      </msr:axisDimensionProperties>
      <msr:cellGeometry>
        <msr:MD_CellGeometryCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CellGeometryCode" codeListValue="area" codeSpace="eng">Area</msr:MD_CellGeometryCode>
      </msr:cellGeometry>
      <msr:transformationParameterAvailability>
        <gco:Boolean>false</gco:Boolean>
      </msr:transformationParameterAvailability>
      <msr:checkPointAvailability>
        <gco:Boolean>false</gco:Boolean>
      </msr:checkPointAvailability>
      <msr:pointInPixel>
        <msr:MD_PixelOrientationCode>upperRight</msr:MD_PixelOrientationCode>
      </msr:pointInPixel>
    </msr:MD_Georectified>
  </mdb:spatialRepresentationInfo>
  <mdb:referenceSystemInfo>
    <mrs:MD_ReferenceSystem>
      <mrs:referenceSystemIdentifier>
        <mcc:MD_Identifier>
          <mcc:authority>
            <cit:CI_Citation>
              <cit:title>
                <gco:CharacterString>Atlantis grid</gco:CharacterString>
              </cit:title>
              <cit:date>
                <cit:CI_Date>
                  <cit:date>
                    <gco:DateTime>2009-12-16T12:00:29.580+01:00</gco:DateTime>
                  </cit:date>
                  <cit:dateType>
                    <cit:CI_DateTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_DateTypeCode" codeListValue="creation" codeSpace="eng">Creation</cit:CI_DateTypeCode>
                  </cit:dateType>
                </cit:CI_Date>
              </cit:date>
              <cit:citedResponsibleParty>
                <cit:CI_Responsibility>
                  <cit:role>
                    <cit:CI_RoleCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_RoleCode" codeListValue="publisher" codeSpace="eng">Publisher</cit:CI_RoleCode>
                  </cit:role>
                  <cit:party>
                    <cit:CI_Organisation>
                      <cit:name>
                        <gco:CharacterString>Atlantis national mapping agency</gco:CharacterString>
                      </cit:name>
                    </cit:CI_Organisation>
                  </cit:party>
                </cit:CI_Responsibility>
              </cit:citedResponsibleParty>
            </cit:CI_Citation>
          </mcc:authority>
          <mcc:code>
            <gco:CharacterString>AG9000</gco:CharacterString>
          </mcc:code>
          <mcc:codeSpace>
            <gco:CharacterString>rs.id.ns</gco:CharacterString>
          </mcc:codeSpace>
          <mcc:version>
            <gco:CharacterString>1.0</gco:CharacterString>
          </mcc:version>
          <mcc:description>
            <gco:CharacterString>An imaginary reference system.</gco:CharacterString>
          </mcc:description>
        </mcc:MD_Identifier>
      </mrs:referenceSystemIdentifier>
    </mrs:MD_ReferenceSystem>
  </mdb:referenceSystemInfo>
  <mdb:metadataExtensionInfo>
    <mex:MD_MetadataExtensionInformation>
      <mex:extensionOnLineResource xlink:href="#timaeus"/>
      <mex:extendedElementInformation>
        <mex:MD_ExtendedElementInformation>
          <mex:name>
            <gco:CharacterString>ExtendedElementName</gco:CharacterString>
          </mex:name>
          <mex:definition>
            <gco:CharacterString>An extended element not included in the standard.</gco:CharacterString>
          </mex:definition>
          <mex:obligation>
            <mex:MD_ObligationCode>conditional</mex:MD_ObligationCode>
          </mex:obligation>
          <mex:condition>
            <gco:CharacterString>Presents in "Imaginary work" profile.</gco:CharacterString>
          </mex:condition>
          <mex:dataType>
            <mex:MD_DatatypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_DatatypeCode" codeListValue="metaClass">Meta class</mex:MD_DatatypeCode>
          </mex:dataType>
          <mex:maximumOccurrence>
            <gco:CharacterString>3</gco:CharacterString>
          </mex:maximumOccurrence>
          <mex:domainValue>
            <gco:CharacterString>Alpha, beta or gamma.</gco:CharacterString>
          </mex:domainValue>
          <mex:parentEntity>
            <gco:CharacterString>VirtualObject</gco:CharacterString>
          </mex:parentEntity>
          <mex:rule>
            <gco:CharacterString>Element exists in cited resource.</gco:CharacterString>
          </mex:rule>
          <mex:rationale>
            <gco:CharacterString>For testing extended elements.</gco:CharacterString>
          </mex:rationale>
          <mex:source gco:nilReason="other:test"/>
        </mex:MD_ExtendedElementInformation>
      </mex:extendedElementInformation>
    </mex:MD_MetadataExtensionInformation>
  </mdb:metadataExtensionInfo>
  <mdb:identificationInfo>
    <mri:MD_DataIdentification>
      <mri:citation>
        <cit:CI_Citation id="lost-island">
          <cit:title>
            <gco:CharacterString>A lost island</gco:CharacterString>
          </cit:title>
          <cit:alternateTitle>
            <gco:CharacterString>Island lost again</gco:CharacterString>
          </cit:alternateTitle>
          <cit:alternateTitle>
            <gcx:Anchor xlink:href="http://map-example.com">Map example</gcx:Anchor>
          </cit:alternateTitle>
          <cit:date>
            <cit:CI_Date>
              <cit:date>
                <gco:DateTime>2018-04-09T00:00:00.000+02:00</gco:DateTime>
              </cit:date>
              <cit:dateType>
                <cit:CI_DateTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_DateTypeCode" codeListValue="creation" codeSpace="eng">Creation</cit:CI_DateTypeCode>
              </cit:dateType>
            </cit:CI_Date>
          </cit:date>
          <cit:edition>
            <gco:CharacterString>First edition</gco:CharacterString>
          </cit:edition>
          <cit:editionDate>
            <gco:DateTime>2018-04-10T00:00:00.000+02:00</gco:DateTime>
          </cit:editionDate>
        </cit:CI_Citation>
      </mri:citation>
      <mri:abstract xsi:type="lan:PT_FreeText_PropertyType">
        <gco:CharacterString>Metadata for an imaginary map.</gco:CharacterString>
        <lan:PT_FreeText>
          <lan:textGroup>
            <lan:LocalisedCharacterString locale="#locale-eng">Metadata for an imaginary map.</lan:LocalisedCharacterString>
          </lan:textGroup>
          <lan:textGroup>
            <lan:LocalisedCharacterString locale="#locale-fra">Méta-données pour une carte imaginaire.</lan:LocalisedCharacterString>
          </lan:textGroup>
        </lan:PT_FreeText>
      </mri:abstract>
      <mri:purpose>
        <gco:CharacterString>For XML (un)marshalling tests.</gco:CharacterString>
      </mri:purpose>
      <mri:status>
        <mcc:MD_ProgressCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_ProgressCode" codeListValue="historicalArchive" codeSpace="eng">Historical archive</mcc:MD_ProgressCode>
      </mri:status>
      <mri:spatialRepresentationType>
        <mcc:MD_SpatialRepresentationTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="grid">Grid</mcc:MD_SpatialRepresentationTypeCode>
      </mri:spatialRepresentationType>
      <mri:spatialResolution>
        <mri:MD_Resolution>
          <mri:distance>
            <gco:Distance uom="http://www.isotc211.org/2005/resources/uom/gmxUom.xml#xpointer(//*[@gml:id='m'])">56777.0</gco:Distance>
          </mri:distance>
        </mri:MD_Resolution>
      </mri:spatialResolution>
      <mri:topicCategory>
        <mri:MD_TopicCategoryCode>oceans</mri:MD_TopicCategoryCode>
      </mri:topicCategory>
      <mri:topicCategory>
        <mri:MD_TopicCategoryCode>society</mri:MD_TopicCategoryCode>
      </mri:topicCategory>
      <mri:extent>
        <gex:EX_Extent id="azores">
          <gex:description>
            <gco:CharacterString>Azores</gco:CharacterString>
          </gex:description>
          <gex:geographicElement>
            <gex:EX_GeographicBoundingBox>
              <gex:extentTypeCode>
                <gco:Boolean>true</gco:Boolean>
              </gex:extentTypeCode>
              <gex:westBoundLongitude>
                <gco:Decimal>-32.0</gco:Decimal>
              </gex:westBoundLongitude>
              <gex:eastBoundLongitude>
                <gco:Decimal>-24.5</gco:Decimal>
              </gex:eastBoundLongitude>
              <gex:southBoundLatitude>
                <gco:Decimal>36.75</gco:Decimal>
              </gex:southBoundLatitude>
              <gex:northBoundLatitude>
                <gco:Decimal>40.0</gco:Decimal>
              </gex:northBoundLatitude>
            </gex:EX_GeographicBoundingBox>
          </gex:geographicElement>
          <gex:temporalElement>
            <gex:EX_TemporalExtent/>
          </gex:temporalElement>
        </gex:EX_Extent>
      </mri:extent>
      <mri:resourceMaintenance>
        <mmi:MD_MaintenanceInformation id="not-planned">
          <mmi:maintenanceAndUpdateFrequency>
            <mmi:MD_MaintenanceFrequencyCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_MaintenanceFrequencyCode" codeListValue="notPlanned" codeSpace="eng">Not planned</mmi:MD_MaintenanceFrequencyCode>
          </mmi:maintenanceAndUpdateFrequency>
          <mmi:maintenanceDate>
            <cit:CI_Date>
              <cit:date>
                <gco:DateTime>3000-01-01T00:00:00.000+01:00</gco:DateTime>
              </cit:date>
              <cit:dateType>
                <cit:CI_DateTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#CI_DateTypeCode" codeListValue="revision" codeSpace="eng">Revision</cit:CI_DateTypeCode>
              </cit:dateType>
            </cit:CI_Date>
          </mmi:maintenanceDate>
          <mmi:maintenanceScope>
            <mcc:MD_Scope>
              <mcc:level>
                <mcc:MD_ScopeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_ScopeCode" codeListValue="model" codeSpace="eng">Model</mcc:MD_ScopeCode>
              </mcc:level>
              <mcc:levelDescription>
                <mcc:MD_ScopeDescription>
                  <mcc:dataset>
                    <gco:CharacterString>Imaginary map</gco:CharacterString>
                  </mcc:dataset>
                </mcc:MD_ScopeDescription>
              </mcc:levelDescription>
            </mcc:MD_Scope>
          </mmi:maintenanceScope>
        </mmi:MD_MaintenanceInformation>
      </mri:resourceMaintenance>
      <mri:resourceFormat>
        <mrd:MD_Format>
          <mrd:amendmentNumber>
            <gco:CharacterString>Second edition</gco:CharacterString>
          </mrd:amendmentNumber>
          <mrd:formatSpecificationCitation>
            <cit:CI_Citation>
              <cit:title>
                <gco:CharacterString>Portable Network Graphics</gco:CharacterString>
              </cit:title>
              <cit:alternateTitle>
                <gco:CharacterString>PNG</gco:CharacterString>
              </cit:alternateTitle>
              <cit:edition>
                <gco:CharacterString>November 2003</gco:CharacterString>
              </cit:edition>
            </cit:CI_Citation>
          </mrd:formatSpecificationCitation>
          <mrd:fileDecompressionTechnique>
            <gco:CharacterString>L77 / Huffman coding</gco:CharacterString>
          </mrd:fileDecompressionTechnique>
        </mrd:MD_Format>
      </mri:resourceFormat>
      <mri:descriptiveKeywords>
        <mri:MD_Keywords id="greek-elements">
          <mri:keyword>
            <gco:CharacterString>Water</gco:CharacterString>
          </mri:keyword>
          <mri:keyword>
            <gco:CharacterString>Aether</gco:CharacterString>
          </mri:keyword>
          <mri:type>
            <mri:MD_KeywordTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_KeywordTypeCode" codeListValue="theme" codeSpace="eng">Theme</mri:MD_KeywordTypeCode>
          </mri:type>
          <mri:thesaurusName>
            <cit:CI_Citation>
              <cit:title>
                <gco:CharacterString>Plato's dialogues</gco:CharacterString>
              </cit:title>
            </cit:CI_Citation>
          </mri:thesaurusName>
          <mri:keywordClass>
            <mri:MD_KeywordClass>
              <mri:className>
                <gco:CharacterString>Greek elements</gco:CharacterString>
              </mri:className>
            </mri:MD_KeywordClass>
          </mri:keywordClass>
        </mri:MD_Keywords>
      </mri:descriptiveKeywords>
      <mri:resourceSpecificUsage>
        <mri:MD_Usage>
          <mri:specificUsage>
            <gco:CharacterString>For testing purpose only.</gco:CharacterString>
          </mri:specificUsage>
          <mri:usageDateTime>
            <gco:DateTime>2018-04-10T14:00:00.000+02:00</gco:DateTime>
          </mri:usageDateTime>
          <mri:userDeterminedLimitations>
            <gco:CharacterString>Not to be used outside MarshallingTest.java test file.</gco:CharacterString>
          </mri:userDeterminedLimitations>
          <mri:response>
            <gco:CharacterString>Random elements</gco:CharacterString>
          </mri:response>
        </mri:MD_Usage>
      </mri:resourceSpecificUsage>
      <mri:resourceConstraints>
        <mco:MD_Constraints id="public">
          <mco:useLimitation>
            <gco:CharacterString>Not for navigation.</gco:CharacterString>
          </mco:useLimitation>
          <mco:constraintApplicationScope>
            <mcc:MD_Scope>
              <mcc:level>
                <mcc:MD_ScopeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_ScopeCode" codeListValue="document" codeSpace="eng">Document</mcc:MD_ScopeCode>
              </mcc:level>
            </mcc:MD_Scope>
          </mco:constraintApplicationScope>
          <mco:graphic>
            <mcc:MD_BrowseGraphic>
              <mcc:fileName>
                <gcx:FileName src="ocean.png">ocean.png</gcx:FileName>
              </mcc:fileName>
              <mcc:fileDescription>
                <gco:CharacterString>Somewhere in the Atlantic ocean</gco:CharacterString>
              </mcc:fileDescription>
              <mcc:fileType>
                <gcx:MimeFileType type="PNG image">PNG image</gcx:MimeFileType>
              </mcc:fileType>
              <mcc:linkage>
                <cit:CI_OnlineResource/>
              </mcc:linkage>
              <mcc:imageConstraints>
                <mco:MD_Constraints/>
              </mcc:imageConstraints>
            </mcc:MD_BrowseGraphic>
          </mco:graphic>
          <mco:releasability>
            <mco:MD_Releasability>
              <mco:statement>
                <gco:CharacterString>Public domain</gco:CharacterString>
              </mco:statement>
            </mco:MD_Releasability>
          </mco:releasability>
        </mco:MD_Constraints>
      </mri:resourceConstraints>
      <mri:associatedResource>
        <mri:MD_AssociatedResource id="dependency">
          <mri:associationType>
            <mri:DS_AssociationTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#DS_AssociationTypeCode" codeListValue="dependency" codeSpace="eng">Dependency</mri:DS_AssociationTypeCode>
          </mri:associationType>
          <mri:initiativeType>
            <mri:DS_InitiativeTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#DS_InitiativeTypeCode" codeListValue="experiment">Experiment</mri:DS_InitiativeTypeCode>
          </mri:initiativeType>
        </mri:MD_AssociatedResource>
      </mri:associatedResource>
      <mri:defaultLocale>
        <lan:PT_Locale>
          <lan:language>
            <lan:LanguageCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#LanguageCode" codeListValue="eng" codeSpace="eng">English</lan:LanguageCode>
          </lan:language>
          <lan:characterEncoding>
            <lan:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="eng">UTF-8</lan:MD_CharacterSetCode>
          </lan:characterEncoding>
        </lan:PT_Locale>
      </mri:defaultLocale>
      <mri:otherLocale>
        <lan:PT_Locale>
          <lan:language>
            <lan:LanguageCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#LanguageCode" codeListValue="fra" codeSpace="eng">French</lan:LanguageCode>
          </lan:language>
          <lan:country>
            <lan:CountryCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#Country" codeListValue="CA" codeSpace="eng">Canada</lan:CountryCode>
          </lan:country>
          <lan:characterEncoding>
            <lan:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="eng">UTF-8</lan:MD_CharacterSetCode>
          </lan:characterEncoding>
        </lan:PT_Locale>
      </mri:otherLocale>
      <mri:environmentDescription>
        <gco:CharacterString>High humidity.</gco:CharacterString>
      </mri:environmentDescription>
      <mri:supplementalInformation>
        <gco:CharacterString>High water pressure.</gco:CharacterString>
      </mri:supplementalInformation>
    </mri:MD_DataIdentification>
  </mdb:identificationInfo>
  <mdb:identificationInfo>
    <srv:SV_ServiceIdentification>
      <mri:citation xlink:href="#lost-island"/>
      <mri:abstract>
        <gco:CharacterString>An inspiration for story tellers.</gco:CharacterString>
      </mri:abstract>
      <mri:extent xlink:href="#azores"/>
      <mri:resourceMaintenance xlink:href="#not-planned"/>
      <mri:descriptiveKeywords xlink:href="#greek-elements"/>
      <mri:resourceConstraints xlink:href="#public"/>
      <mri:associatedResource xlink:href="#dependency"/>
      <srv:serviceTypeVersion>
        <gco:CharacterString>Version 1000+</gco:CharacterString>
      </srv:serviceTypeVersion>
      <srv:couplingType>
        <srv:SV_CouplingType codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#SV_CouplingType" codeListValue="loose" codeSpace="eng">Loose</srv:SV_CouplingType>
      </srv:couplingType>
      <srv:coupledResource>
        <srv:SV_CoupledResource/>
      </srv:coupledResource>
      <srv:containsOperations>
        <srv:SV_OperationMetadata>
          <srv:operationName>
            <gco:CharacterString>Authoring</gco:CharacterString>
          </srv:operationName>
          <srv:distributedComputingPlatform>
            <srv:DCPList codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#DCPList" codeListValue="JAVA" codeSpace="eng">Java</srv:DCPList>
          </srv:distributedComputingPlatform>
          <srv:operationDescription>
            <gco:CharacterString>Write a book.</gco:CharacterString>
          </srv:operationDescription>
          <srv:invocationName>
            <gco:CharacterString>someMethodName</gco:CharacterString>
          </srv:invocationName>
        </srv:SV_OperationMetadata>
      </srv:containsOperations>
      <srv:operatesOn>
        <mri:MD_DataIdentification>
          <mri:citation xlink:href="#lost-island"/>
          <mri:abstract xsi:type="lan:PT_FreeText_PropertyType">
            <gco:CharacterString>Metadata for an imaginary map.</gco:CharacterString>
            <lan:PT_FreeText>
              <lan:textGroup>
                <lan:LocalisedCharacterString locale="#locale-eng">Metadata for an imaginary map.</lan:LocalisedCharacterString>
              </lan:textGroup>
              <lan:textGroup>
                <lan:LocalisedCharacterString locale="#locale-fra">Méta-données pour une carte imaginaire.</lan:LocalisedCharacterString>
              </lan:textGroup>
            </lan:PT_FreeText>
          </mri:abstract>
          <mri:purpose>
            <gco:CharacterString>For XML (un)marshalling tests.</gco:CharacterString>
          </mri:purpose>
          <mri:status>
            <mcc:MD_ProgressCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_ProgressCode" codeListValue="historicalArchive" codeSpace="eng">Historical archive</mcc:MD_ProgressCode>
          </mri:status>
          <mri:spatialRepresentationType>
            <mcc:MD_SpatialRepresentationTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="grid">Grid</mcc:MD_SpatialRepresentationTypeCode>
          </mri:spatialRepresentationType>
          <mri:spatialResolution>
            <mri:MD_Resolution>
              <mri:distance>
                <gco:Distance uom="http://www.isotc211.org/2005/resources/uom/gmxUom.xml#xpointer(//*[@gml:id='m'])">56777.0</gco:Distance>
              </mri:distance>
            </mri:MD_Resolution>
          </mri:spatialResolution>
          <mri:topicCategory>
            <mri:MD_TopicCategoryCode>oceans</mri:MD_TopicCategoryCode>
          </mri:topicCategory>
          <mri:topicCategory>
            <mri:MD_TopicCategoryCode>society</mri:MD_TopicCategoryCode>
          </mri:topicCategory>
          <mri:extent xlink:href="#azores"/>
          <mri:resourceMaintenance xlink:href="#not-planned"/>
          <mri:resourceFormat>
            <mrd:MD_Format>
              <mrd:amendmentNumber>
                <gco:CharacterString>Second edition</gco:CharacterString>
              </mrd:amendmentNumber>
              <mrd:formatSpecificationCitation>
                <cit:CI_Citation>
                  <cit:title>
                    <gco:CharacterString>Portable Network Graphics</gco:CharacterString>
                  </cit:title>
                  <cit:alternateTitle>
                    <gco:CharacterString>PNG</gco:CharacterString>
                  </cit:alternateTitle>
                  <cit:edition>
                    <gco:CharacterString>November 2003</gco:CharacterString>
                  </cit:edition>
                </cit:CI_Citation>
              </mrd:formatSpecificationCitation>
              <mrd:fileDecompressionTechnique>
                <gco:CharacterString>L77 / Huffman coding</gco:CharacterString>
              </mrd:fileDecompressionTechnique>
            </mrd:MD_Format>
          </mri:resourceFormat>
          <mri:descriptiveKeywords xlink:href="#greek-elements"/>
          <mri:resourceSpecificUsage>
            <mri:MD_Usage>
              <mri:specificUsage>
                <gco:CharacterString>For testing purpose only.</gco:CharacterString>
              </mri:specificUsage>
              <mri:usageDateTime>
                <gco:DateTime>2018-04-10T14:00:00.000+02:00</gco:DateTime>
              </mri:usageDateTime>
              <mri:userDeterminedLimitations>
                <gco:CharacterString>Not to be used outside MarshallingTest.java test file.</gco:CharacterString>
              </mri:userDeterminedLimitations>
              <mri:response>
                <gco:CharacterString>Random elements</gco:CharacterString>
              </mri:response>
            </mri:MD_Usage>
          </mri:resourceSpecificUsage>
          <mri:resourceConstraints xlink:href="#public"/>
          <mri:associatedResource xlink:href="#dependency"/>
          <mri:defaultLocale>
            <lan:PT_Locale>
              <lan:language>
                <lan:LanguageCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#LanguageCode" codeListValue="eng" codeSpace="eng">English</lan:LanguageCode>
              </lan:language>
              <lan:characterEncoding>
                <lan:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="eng">UTF-8</lan:MD_CharacterSetCode>
              </lan:characterEncoding>
            </lan:PT_Locale>
          </mri:defaultLocale>
          <mri:otherLocale>
            <lan:PT_Locale>
              <lan:language>
                <lan:LanguageCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#LanguageCode" codeListValue="fra" codeSpace="eng">French</lan:LanguageCode>
              </lan:language>
              <lan:country>
                <lan:CountryCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#Country" codeListValue="CA" codeSpace="eng">Canada</lan:CountryCode>
              </lan:country>
              <lan:characterEncoding>
                <lan:MD_CharacterSetCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CharacterSetCode" codeListValue="utf8" codeSpace="eng">UTF-8</lan:MD_CharacterSetCode>
              </lan:characterEncoding>
            </lan:PT_Locale>
          </mri:otherLocale>
          <mri:environmentDescription>
            <gco:CharacterString>High humidity.</gco:CharacterString>
          </mri:environmentDescription>
          <mri:supplementalInformation>
            <gco:CharacterString>High water pressure.</gco:CharacterString>
          </mri:supplementalInformation>
        </mri:MD_DataIdentification>
      </srv:operatesOn>
    </srv:SV_ServiceIdentification>
  </mdb:identificationInfo>
  <mdb:contentInfo>
    <mrc:MD_CoverageDescription>
      <mrc:attributeDescription>
        <gco:RecordType/>
      </mrc:attributeDescription>
      <mrc:attributeGroup>
        <mrc:MD_AttributeGroup>
          <mrc:contentType>
            <mrc:MD_CoverageContentTypeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_CoverageContentTypeCode" codeListValue="auxillaryInformation" codeSpace="eng">Auxilliary information</mrc:MD_CoverageContentTypeCode>
          </mrc:contentType>
          <mrc:attribute>
            <mrc:MD_RangeDimension>
              <mrc:sequenceIdentifier>
                <gco:MemberName>
                  <gco:aName>
                    <gco:CharacterString>42</gco:CharacterString>
                  </gco:aName>
                  <gco:attributeType>
                    <gco:TypeName>
                      <gco:aName>
                        <gco:CharacterString>Integer</gco:CharacterString>
                      </gco:aName>
                    </gco:TypeName>
                  </gco:attributeType>
                </gco:MemberName>
              </mrc:sequenceIdentifier>
              <mrc:description>
                <gco:CharacterString>Population density</gco:CharacterString>
              </mrc:description>
              <mrc:name>
                <mcc:MD_Identifier/>
              </mrc:name>
            </mrc:MD_RangeDimension>
          </mrc:attribute>
          <mrc:attribute>
            <mrc:MD_SampleDimension>
              <mrc:description>
                <gco:CharacterString>Temperature</gco:CharacterString>
              </mrc:description>
              <mrc:maxValue>
                <gco:Real>22.22</gco:Real>
              </mrc:maxValue>
              <mrc:minValue>
                <gco:Real>11.11</gco:Real>
              </mrc:minValue>
              <mrc:units>°C</mrc:units>
              <mrc:scaleFactor>
                <gco:Real>1.5</gco:Real>
              </mrc:scaleFactor>
            </mrc:MD_SampleDimension>
          </mrc:attribute>
        </mrc:MD_AttributeGroup>
      </mrc:attributeGroup>
    </mrc:MD_CoverageDescription>
  </mdb:contentInfo>
  <mdb:contentInfo>
    <mrc:MD_FeatureCatalogueDescription>
      <mrc:complianceCode>
        <gco:Boolean>true</gco:Boolean>
      </mrc:complianceCode>
      <mrc:includedWithDataset>
        <gco:Boolean>true</gco:Boolean>
      </mrc:includedWithDataset>
    </mrc:MD_FeatureCatalogueDescription>
  </mdb:contentInfo>
  <mdb:metadataScope>
    <mdb:MD_MetadataScope>
      <mdb:resourceScope>
        <mcc:MD_ScopeCode codeList="http://standards.iso.org/iso/19115/resources/Codelist/cat/codelists.xml#MD_ScopeCode" codeListValue="dataset" codeSpace="eng">Dataset</mcc:MD_ScopeCode>
      </mdb:resourceScope>
      <mdb:name>
        <gco:CharacterString>Metadata for an imaginary data set</gco:CharacterString>
      </mdb:name>
    </mdb:MD_MetadataScope>
  </mdb:metadataScope>
</mdb:MD_Metadata>


text:
{% extends "bootstrap_responsive.html" %}

{% block body_content %}

          Boring Friends

Login to Foursqurare to find your 'cool' friends!

{% endblock %}


text:
'use strict';

var exec = require('child_process').exec;

var branch = module.exports =

/**
 * Runs git command to resolve currently checked out branch and calls back with branch name.
 *
 * @name resolveGitBranch
 * @function
 * @param {Function} cb function (err, branch) {}
 */
function resolveGitBranch(cb) {
  // http://stackoverflow.com/a/12142066/97443
  exec('git rev-parse --abbrev-ref HEAD', function (err, stdout, stderr) {
    if (err) return cb(err.stack);
    if (stderr) return cb(stderr);

    cb(null, stdout.trim());
  });
};


text:
using System.Collections.ObjectModel;

namespace Miruken.AspNet.TestWeb.Areas.HelpPage.ModelDescriptions
{
    public class ComplexTypeModelDescription : ModelDescription
    {
        public ComplexTypeModelDescription()
        {
            Properties = new Collection<ParameterDescription>();
        }

        public Collection<ParameterDescription> Properties { get; private set; }
    }
}


text:
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pliant.Automata;
using Pliant.Builders.Expressions;
using Pliant.Collections;
using Pliant.Grammars;
using Pliant.LexerRules;
using Pliant.Languages.Regex;
using Pliant.Tests.Common.Grammars;

namespace Pliant.Tests.Unit.Grammars
{
    [TestClass]
    public class PreComputedGrammarTests
    {
        private static IGrammar _jsonGrammar;

        [ClassInitialize]
        public static void InitializeClass(TestContext testContext)
        {
            _jsonGrammar = GetJsonGrammar();
        }

        [TestMethod]
        public void PreComputedGrammarShouldLoadExpressionGrammar()
        {
            var preComputedGrammar = new PreComputedGrammar(new ExpressionGrammar());

        }

        [TestMethod]
        public void PreComputedGrammarShouldLoadNullableGrammar()
        {
            var preComputedGrammar = new PreComputedGrammar(new NullableGrammar());
        }

        [TestMethod]
        public void PreComputedGrammarShouldLoadJsonGrammar()
        {
            var preComputedGrammar = new PreComputedGrammar(_jsonGrammar);
        }

        [TestMethod]
        public void PreComputedGrammarIsRightRecursiveShouldFindSimpleRecursion()
        {
            var preComputedGrammar = new PreComputedGrammar(new RightRecursionGrammar());
        }

        [TestMethod]
        public void PreComputedGrammarIsRightRecursiveShouldFindCyclicRecursion()
        {
            var grammar = new HiddenRightRecursionGrammar();
            var preComputedGrammar = new PreComputedGrammar(grammar);

            var leftHandSides = new UniqueList<INonTerminal>();
            for (var p = 0; p < grammar.Productions.Count; p++)
            {
                var production = grammar.Productions[p];
                Assert.IsTrue(preComputedGrammar.Grammar.IsRightRecursive(production.LeftHandSide));
            }
        }

        [TestMethod]
        public void PreComputedGrammarIsRightRecursiveShouldNotContainSymbolsWithoutCycles()
        {
            ProductionExpression
                A = "A",
                B = "B",
                C = "C",
                D = "D",
                E = "E";
            A.Rule = B + C;
            B.Rule = 'b';
            C.Rule = A | D;
            D.Rule = E + D | 'd';
            E.Rule = 'e';

            var grammar = new GrammarExpression(A).ToGrammar();
            var preComputedGrammar = new PreComputedGrammar(grammar);

            var rightRecursiveRules = new[] { A, C, D };
            var notRightRecursiveRules = new[] { B, E };

            foreach(var rightRecursiveRule in rightRecursiveRules)
            {
                var leftHandSide = rightRecursiveRule.ProductionModel.LeftHandSide.NonTerminal;
                Assert.IsTrue(preComputedGrammar.Grammar.IsRightRecursive(leftHandSide));
            }

            foreach (var notRightRecursiveRule in notRightRecursiveRules)
            {
                var leftHandSide = notRightRecursiveRule.ProductionModel.LeftHandSide.NonTerminal;
                Assert.IsFalse(preComputedGrammar.Grammar.IsRightRecursive(leftHandSide));
            }
        }

        private static IGrammar GetJsonGrammar()
        {
            ProductionExpression
                Json = "Json",
                Object = "Object",
                Pair = "Pair",
                PairRepeat = "PairRepeat",
                Array = "Array",
                Value = "Value",
                ValueRepeat = "ValueRepeat";

            var number = new NumberLexerRule();
            var @string = String();

            Json.Rule =
                Value;

            Object.Rule =
                '{' + PairRepeat + '}';

            PairRepeat.Rule =
                Pair
                | Pair + ',' + PairRepeat
                | (Expr)null;

            Pair.Rule =
                (Expr)@string + ':' + Value;

            Array.Rule =
                '[' + ValueRepeat + ']';

            ValueRepeat.Rule =
                Value
                | Value + ',' + ValueRepeat
                | (Expr)null;

            Value.Rule = (Expr)
                @string
                | number
                | Object
                | Array
                | "true"
                | "false"
                | "null";

            return new GrammarExpression(
                Json,
                null,
                new[] { new WhitespaceLexerRule() },
                null).ToGrammar();
        }

        private static BaseLexerRule String()
        {
            // ["][^"]+["]
            const string pattern = "[\"][^\"]+[\"]";
            return CreateRegexDfa(pattern);
        }

        private static BaseLexerRule CreateRegexDfa(string pattern)
        {
            var regexParser = new RegexParser();
            var regex = regexParser.Parse(pattern);
            var regexCompiler = new RegexCompiler();
            var dfa = regexCompiler.Compile(regex);
            return new DfaLexerRule(dfa, pattern);
        }

    }
}


text:
This text should be unstyled.

This text should be unstyled.

This text should be unstyled.

This text should be green.


text:
package dataforms.devtool.page.query;

import java.util.HashMap;
import java.util.Map;

import org.apache.log4j.Logger;

import dataforms.annotation.WebMethod;
import dataforms.controller.JsonResponse;
import dataforms.controller.Page;
import dataforms.controller.QueryResultForm;
import dataforms.dao.Dao;
import dataforms.field.base.Field;
import dataforms.field.base.FieldList;
import dataforms.htmltable.PageScrollHtmlTable;
import dataforms.util.StringUtil;
import net.arnx.jsonic.JSON;

/**
 * 問い合わせ結果フォームクラス。
 */
public class QueryExecutorQueryResultForm extends QueryResultForm {

	/**
	 * Logger.
	 */
	private static Logger log = Logger.getLogger(QueryExecutorQueryResultForm.class);

	/**
	 * HTMLテーブル。
	 */
	private PageScrollHtmlTable htmlTable = null;

	/**
	 * コンストラクタ。
	 */
	public QueryExecutorQueryResultForm() {
		this.htmlTable = new PageScrollHtmlTable(Page.ID_QUERY_RESULT);
		this.addHtmlTable(this.htmlTable);
	}

	/**
	 * Order byに指定するカラムリストを取得します。
	 * @param sortOrder ソート順指定。
	 * @return order by指定のカラムリスト。
	 */
	private String getOrderByString(final String sortOrder) {
		StringBuilder sb = new StringBuilder();
		if (!StringUtil.isBlank(sortOrder)) {
			String[] sp = sortOrder.split("\\,");
			for (String f: sp) {
				log.debug("f=" + f);
				String[] fsp = f.split("\\:");
				log.debug("fsp[0]=" + fsp[0]);
				String id = fsp[0];
				String order = fsp[1];
				if (sb.length() > 0) {
					sb.append(",");
				}
				sb.append(StringUtil.camelToSnake(id));
				sb.append(" ");
				sb.append(order);
			}
		}
		return sb.toString();
	}

	@Override
	protected Map<String, Object> queryPage(final Map<String, Object> data, final FieldList queryFormFieldList) throws Exception {
		String sql = (String) data.get("sql");
		String sortOrder = (String) data.get("sortOrder");
		String orderby = this.getOrderByString(sortOrder);
		log.debug("orderby=" + orderby);
		if (sortOrder.length() > 0) {
			sql = "select * from (" + sql + ") m order by " + orderby;
		}
		Dao dao = new Dao(this);
		Map<String, Object> ret = dao.executePageQuery(sql, data);
		FieldList flist = dao.getResultSetFieldList();
		for (Field<?> f: flist) {
			f.init();
		}
		this.htmlTable.getFieldList().clear();
		this.htmlTable.getFieldList().addAll(flist);
		for (Field<?> f: this.htmlTable.getFieldList()) {
			if (!"rowNo".equals(f.getId())) {
				f.setSortable(true);
			}
		}
		this.htmlTable.getFieldList().getOrderByFieldList(sortOrder);
		ret.put("htmlTable", htmlTable.getProperties());
		log.debug("result=" + JSON.encode(ret, true));
		return ret;
	}

	/**
	 * テーブルのヘッダを作成します。
	 * @return テーブルのヘッダ。
	 */
	private String getHeaderHtml() {
		StringBuilder sb = new StringBuilder();
		for (Field<?> f: this.htmlTable.getFieldList()) {
			sb.append("");
			sb.append(f.getId());
			sb.append("	");
		}
		return sb.toString();
	}

	/**
	 * テーブルのデータ行を作成します。
	 * @return テーブルのデータ行。
	 */
	private String getDataHtml() {
		StringBuilder sb = new StringBuilder();
		for (Field<?> f: this.htmlTable.getFieldList()) {
			sb.append("");
			sb.append("");
			sb.append("	");
		}
		return sb.toString();
	}

	@WebMethod
	@Override
	public JsonResponse changePage(final Map<String, Object> param) throws Exception {
		try {
			JsonResponse ret = super.changePage(param);
			@SuppressWarnings("unchecked")
			Map<String, Object> r = (Map<String, Object>) ret.getResult();
			r.put("headerHtml", this.getHeaderHtml());
			r.put("dataHtml", this.getDataHtml());
			r.put("htmlTable", this.htmlTable.getProperties());
			return ret;
		} catch (Exception e) {
			Map<String, Object> einfo = new HashMap<String, Object>();
			einfo.put("message", e.getMessage());
			JsonResponse ret = new JsonResponse(JsonResponse.APPLICATION_EXCEPTION, einfo);
			return ret;
		}
	}

	@Override
	protected void deleteData(final Map<String, Object> data) throws Exception {
	}
}


text:
namespace Azure.ResourceManager.ServiceLinker.Models
{
    /// <summary>
    /// The secret info
    /// Please note <see cref="SecretBaseInfo"/> is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
    /// The available derived classes include <see cref="KeyVaultSecretReferenceSecretInfo"/>, <see cref="KeyVaultSecretUriSecretInfo"/> and <see cref="RawValueSecretInfo"/>.
    /// </summary>
    public abstract partial class SecretBaseInfo
    {
        /// <summary> Initializes a new instance of SecretBaseInfo. </summary>
        protected SecretBaseInfo()
        {
        }

        /// <summary> Initializes a new instance of SecretBaseInfo. </summary>
        /// <param name="secretType"> The secret type. </param>
        internal SecretBaseInfo(LinkerSecretType secretType)
        {
            SecretType = secretType;
        }

        /// <summary> The secret type. </summary>
        internal LinkerSecretType SecretType { get; set; }
    }
}


text:
import {ɵmakeTemplateObject} from '@angular/localize';
import {SimpleJsonTranslationParser} from '../../../../src/translate/translation_files/translation_parsers/simple_json_translation_parser';
import {ParsedTranslationBundle} from '../../../../src/translate/translation_files/translation_parsers/translation_parser';

describe('SimpleJsonTranslationParser', () => {
  describe('canParse()', () => {
    it('should return true if the file extension  is `.json` and contains top level `locale` and `translations` properties',
       () => {
         const parser = new SimpleJsonTranslationParser();
         expect(parser.canParse('/some/file.xlf', '')).toBe(false);
         expect(parser.canParse('/some/file.json', '{}')).toBe(false);
         expect(parser.canParse('/some/file.json', '{ "translations" : {} }')).toBe(false);
         expect(parser.canParse('/some/file.json', '{ "locale" : "fr" }')).toBe(false);
         expect(parser.canParse('/some/file.json', '{ "locale" : "fr", "translations" : {}}'))
             .toBeTruthy();
       });
  });

  for (const withHint of [true, false]) {
    describe(`parse() [${withHint ? 'with' : 'without'} hint]`, () => {
      const doParse: (fileName: string, contents: string) => ParsedTranslationBundle =
          withHint ? (fileName, contents) => {
            const parser = new SimpleJsonTranslationParser();
            const hint = parser.canParse(fileName, contents);
            if (!hint) {
              throw new Error('expected contents to be valid');
            }
            return parser.parse(fileName, contents, hint);
          } : (fileName, contents) => {
            const parser = new SimpleJsonTranslationParser();
            return parser.parse(fileName, contents);
          };

      it('should extract the locale from the JSON contents', () => {
        const result = doParse('/some/file.json', '{"locale": "en", "translations": {}}');
        expect(result.locale).toEqual('en');
      });

      it('should extract and process the translations from the JSON contents', () => {
        const result = doParse('/some/file.json', `{
        "locale": "fr",
        "translations": {
          "Hello, {$ph_1}!": "Bonjour, {$ph_1}!"
        }
      }`);
        expect(result.translations).toEqual({
          'Hello, {$ph_1}!': {
            text: 'Bonjour, {$ph_1}!',
            messageParts: ɵmakeTemplateObject(['Bonjour, ', '!'], ['Bonjour, ', '!']),
            placeholderNames: ['ph_1']
          },
        });
      });
    });
  }
});


text:
var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var shapeSchema = new Schema({

	shape_id : Number,
	shape_pt_lat : Number,
	shape_pt_lon : Number,
	shape_pt_sequence : Number

},{ collection : 'shapes' });

var Shape = mongoose.model('Shape', shapeSchema,'shapes');

module.exports = Shape;


text:
package de.dennishoersch.dropwizard.blog.domain

trait Identifiable {
  val id: Long
}


text:
define(['lib/module', 'lib/communication/applicationChannels'], function(modules, appChannel) {
	var module = {};

	var unimpMethod = 'Unimplemented Method';

	module.implementedBy = function(implementingObject, implementingObjectModuleName) {

		implementingObject.clone = function() {
			aperture.log.error(unimpMethod + ': "clone" by module ' + implementingObjectModuleName);
		};

		implementingObject.getXfId = function() {
			aperture.log.error(unimpMethod + ': "getXfId" by module ' + implementingObjectModuleName);
		};

		implementingObject.getDataId = function() {
			aperture.log.error(unimpMethod + ': "getDataId" by module ' + implementingObjectModuleName);
		};

		implementingObject.getUIType = function() {
			aperture.log.error(unimpMethod + ': "getUIType" by module ' + implementingObjectModuleName);
		};

		implementingObject.getLabel = function() {
			aperture.log.error(unimpMethod + ': "getLabel" by module ' + implementingObjectModuleName);
		};

		implementingObject.getUIObjectByXfId = function(xfId) {
			aperture.log.error(unimpMethod + ': "getUIObjectByXfId" by module ' + implementingObjectModuleName);
		};

		implementingObject.getUIObjectsByDataId = function(dataId) {
			aperture.log.error(unimpMethod + ': "getUIObjectByDataId" by module ' + implementingObjectModuleName);
		};

		implementingObject.getParent = function() {
			aperture.log.error(unimpMethod + ': "getParent" by module ' + implementingObjectModuleName);
		};

		implementingObject.setParent = function(xfUIObj) {
			aperture.log.error(unimpMethod + ': "setParent" by module ' + implementingObjectModuleName);
		};

		implementingObject.getLinks = function() {
			aperture.log.error(unimpMethod + ': "getLinks" by module ' + implementingObjectModuleName);
		};

		implementingObject.getIncomingLinks = function() {
			aperture.log.error(unimpMethod + ': "getIncomingLinks" by module ' + implementingObjectModuleName);
		};

		implementingObject.getOutgoingLinks = function() {
			aperture.log.error(unimpMethod + ': "getOutgoingLinks" by module ' + implementingObjectModuleName);
		};

		implementingObject.addLink = function(link) {
			aperture.log.error(unimpMethod + ': "addLink" by module ' + implementingObjectModuleName);
			return false;
		};

		implementingObject.removeLink = function(xfId) {
			aperture.log.error(unimpMethod + ': "removeLink" by module ' + implementingObjectModuleName);
			return false;
		};

		implementingObject.removeAllLinks = function() {
			aperture.log.error(unimpMethod + ': "removeAllLinks" by module ' + implementingObjectModuleName);
		};

		implementingObject.collapseLinks = function(direction, deleteAfterCollapse) {
			aperture.log.error(unimpMethod + ': "collapseLinks" by module ' + implementingObjectModuleName);
		};

		implementingObject.isLinkedTo = function(uiObject) {
			aperture.log.error(unimpMethod + ': "isLinkedTo" by module ' + implementingObjectModuleName);
		};

		implementingObject.remove = function(eventChannel, dispose) {
			aperture.log.error(unimpMethod + ': "remove" by module ' + implementingObjectModuleName);
		};

		implementingObject.removeChild = function(xfId, disposeObject, preserveLinks, removeIfEmpty) {
			aperture.log.error(unimpMethod + ': "removeChild" by module ' + implementingObjectModuleName);
		};

		implementingObject.removeAllChildren = function() {
			aperture.log.error(unimpMethod + ': "removeAllChildren" by module ' + implementingObjectModuleName);
		};

		implementingObject.insert = function(xfUIObj, beforeXfUIObj00) {
			aperture.log.error(unimpMethod + ': "insert" by module ' + implementingObjectModuleName);
		};

		implementingObject.update = function(spec) {
			aperture.log.error(unimpMethod + ': "update" by module ' + implementingObjectModuleName);
		};

		implementingObject.showDetails = function(bShow) {
			aperture.log.error(unimpMethod + ': "showDetails" by module ' + implementingObjectModuleName);
			return false;
		};

		implementingObject.getSpecs = function(bOnlyEmptySpecs) {
			aperture.log.error(unimpMethod + ': "getSpecs" by module ' + implementingObjectModuleName);
		};

		implementingObject.getVisualInfo = function() {
			aperture.log.error(unimpMethod + ': "getVisualInfo" by module ' + implementingObjectModuleName);
		};

		implementingObject.setFocus = function(data) {
			aperture.log.error(unimpMethod + ': "setFocus" by module ' + implementingObjectModuleName);
		};

		implementingObject.isSelected = function() {
			aperture.log.error(unimpMethod + ': "isSelected" by module ' + implementingObjectModuleName);
		};

		implementingObject.setSelection = function(xfId) {
			aperture.log.error(unimpMethod + ': "setSelection" by module ' + implementingObjectModuleName);
		};

		implementingObject.setHovering = function(xfId) {
			aperture.log.error(unimpMethod + ': "setHovering" by module ' + implementingObjectModuleName);
		};

		implementingObject.setHidden = function(xfId, state) {
			aperture.log.error(unimpMethod + ': "setHidden" by module ' + implementingObjectModuleName);
		};

		implementingObject.expand = function() {
			aperture.log.error(unimpMethod + ': "expand" by module ' + implementingObjectModuleName);
		};

		implementingObject.collapse = function() {
			aperture.log.error(unimpMethod + ': "collapse" by module ' + implementingObjectModuleName);
		};

		implementingObject.setDuplicateCount = function(count) {
			aperture.log.error(unimpMethod + ': "setDuplicateCount" by module ' + implementingObjectModuleName);
		};

		implementingObject.getVisibleDataIds = function() {
			aperture.log.error(unimpMethod + ': "getVisibleDataIds" by module ' + implementingObjectModuleName);
		};

		implementingObject.getLabel = function() {
			aperture.log.error(unimpMethod + ': "getLabel" by module ' + implementingObjectModuleName);
		};

		implementingObject.allowHover = function(bAllowHover) {
			aperture.log.error(unimpMethod + ': "allowHover" by module ' + implementingObjectModuleName);
		};

		implementingObject.cleanState = function() {
			aperture.log.error(unimpMethod + ': "cleanState" by module ' + implementingObjectModuleName);
		};

		implementingObject.exportState = function() {
			aperture.log.error(unimpMethod + ': "exportState" by module ' + implementingObjectModuleName);
		};

		implementingObject.saveState = function() {
			aperture.log.error(unimpMethod + ': "saveState" by module ' + implementingObjectModuleName);
		};

		implementingObject.restoreVisualState = function(state) {
			aperture.log.error(unimpMethod + ': "restoreState" by module ' + implementingObjectModuleName);
		};

		implementingObject.restoreHierarchy = function(state, workspace) {
			aperture.log.error(unimpMethod + ': "restoreHierarchy" by module ' + implementingObjectModuleName);
		};

		implementingObject.dispose = function() {
			aperture.log.error(unimpMethod + ': "dispose" by module ' + implementingObjectModuleName);
		};

		implementingObject.sortChildren = function(sortFunction) {
			aperture.log.error(unimpMethod + ': "sortChildren" by module ' + implementingObjectModuleName);
		};

		implementingObject.getTotalLinkAmount = function(includeIncoming, includeOutgoing) {
			aperture.log.error(unimpMethod + ': "getTotalLinkAmount" by module ' + implementingObjectModuleName);
		};

		implementingObject.updateToolbar = function(spec, recursiveUpdate) {
			aperture.log.error(unimpMethod + ': "updateToolbar" by module ' + implementingObjectModuleName);
		};

		implementingObject.updatePromptState = function(dataId, state) {
			aperture.log.error(unimpMethod + ': "updatePromptState" by module ' + implementingObjectModuleName);
		};

		implementingObject.getPromptState = function(xfId) {
			aperture.log.error(unimpMethod + ': "getPromptState" by module ' + implementingObjectModuleName);
		};
	};

	return module;
});


text:
class AddAdminNotesToEvents < ActiveRecord::Migration[5.2]
  def change
    add_column :events, :admin_notes, :text
  end
end


text:
module Azure::EventHub::Mgmt::V2018_01_01_preview
  module Models
    #
    # ConnectionState information.
    #
    class ConnectionState

      include MsRestAzure

      # @return [PrivateLinkConnectionStatus] Status of the connection.
      # Possible values include: 'Pending', 'Approved', 'Rejected',
      # 'Disconnected'
      attr_accessor :status

      # @return [String] Description of the connection state.
      attr_accessor :description

      #
      # Mapper for ConnectionState class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ConnectionState',
          type: {
            name: 'Composite',
            class_name: 'ConnectionState',
            model_properties: {
              status: {
                client_side_validation: true,
                required: false,
                serialized_name: 'status',
                type: {
                  name: 'String'
                }
              },
              description: {
                client_side_validation: true,
                required: false,
                serialized_name: 'description',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end