text:
<!DOCTYPE HTML>

<title>StateImpl</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-03-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">

JavaScript is disabled on your browser.

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

All Classes

SEARCH:
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">

JavaScript is disabled on your browser.

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method

Package org.enterprisedomain.classmaker.impl

Class StateImpl

java.lang.Object

org.eclipse.emf.common.notify.impl.BasicNotifierImpl

org.eclipse.emf.ecore.impl.BasicEObjectImpl

org.eclipse.emf.ecore.impl.EObjectImpl

org.enterprisedomain.classmaker.impl.ItemImpl

org.enterprisedomain.classmaker.impl.StateImpl

All Implemented Interfaces:

org.eclipse.core.runtime.jobs.ISchedulingRule, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Item, State

public class StateImpl
extends ItemImpl
implements State

 An implementation of the model object '
 State'.

 The following features are implemented:

Package Class Name

Edit Plugin Class Name

Editor Plugin Class Name

Required Plugins

Revision

Timestamp

Deployable Unit Name

Edit Deployable Unit Name

Editor Deployable Unit Name

Job Family

Resource

Commit Ids

Commit Id

State Customizers

Project Name

Making

Edit

Editor

Strategy

Nested Class Summary

Nested Classes

Modifier and Type
Class
Description

class
StateImpl.MakingCompletionListener

class
StateImpl.StateAdapter

Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList

Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

org.eclipse.emf.ecore.InternalEObject.EStore

Field Summary

Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

ELAST_EOBJECT_FLAG

Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

EOPPOSITE_FEATURE_BASE

Method Summary

All Methods Instance Methods Concrete Methods

Modifier and Type
Method
Description

void
add(java.lang.String filepattern)

Item
basicGetParent()

Project
basicGetProject()

Revision
basicGetRevision()

Strategy
basicGetStrategy()

org.eclipse.emf.common.notify.NotificationChain
basicSetStrategy(Strategy newStrategy,
                org.eclipse.emf.common.notify.NotificationChain msgs)

void
build(org.eclipse.core.runtime.IProgressMonitor monitor)

void
checkout()

void
checkout(java.lang.String commitId,
        boolean forced)

java.lang.String
commit()

boolean
contains(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule)

void
copyModel(Item from)

void
delete(org.eclipse.core.runtime.IProgressMonitor monitor)

java.lang.Object
eGet(int featureID,
    boolean resolve,
    boolean coreType)

org.eclipse.emf.common.notify.NotificationChain
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
           int featureID,
           org.eclipse.emf.common.notify.NotificationChain msgs)

org.eclipse.emf.common.notify.NotificationChain
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
              int featureID,
              org.eclipse.emf.common.notify.NotificationChain msgs)

boolean
eIsSet(int featureID)

void
eSet(int featureID,
    java.lang.Object newValue)

void
eUnset(int featureID)

org.eclipse.emf.ecore.EObject
find(org.eclipse.emf.ecore.EObject eObject,
    Stage stage)

java.lang.String
getCommitId()

org.eclipse.emf.common.util.EList<java.lang.String>
getCommitIds()

org.eclipse.emf.common.util.EMap<StageQualifier,Customizer>
getCustomizers()

java.lang.String
getDeployableUnitName()

java.lang.String
getEditDeployableUnitName()

java.lang.String
getEditorDeployableUnitName()

java.lang.String
getEditorPluginClassName()

java.lang.String
getEditPluginClassName()

java.lang.String
getJobFamily()

java.lang.String
getModelName()

java.lang.String
getPackageClassName()

java.lang.String
getProjectName()

org.eclipse.emf.common.util.EList<java.lang.String>
getRequiredPlugins()

org.eclipse.emf.ecore.resource.Resource
getResource()

Revision
getRevision()

org.eclipse.emf.common.util.EMap<StageQualifier,Customizer>
getStateCustomizers()

Strategy
getStrategy()

long
getTimestamp()

java.lang.String
initialize(boolean commit)

boolean
isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule)

boolean
isEdit()

boolean
isEditor()

boolean
isMaking()

void
load(boolean create)

Initialize and load resource.

void
loadResource(org.eclipse.emf.common.util.URI modelURI,
            boolean create,
            boolean loadOnDemand)

java.lang.String
make(org.eclipse.core.runtime.IProgressMonitor monitor)

void
saveResource()

void
setCommitId(java.lang.String newCommitId)

void
setDeployableUnitName(java.lang.String newDeployableUnitName)

void
setEdit(boolean newEdit)

void
setEditDeployableUnitName(java.lang.String newDeployableUnitName)

void
setEditor(boolean newEditor)

void
setEditorDeployableUnitName(java.lang.String newDeployableUnitName)

void
setEditorPluginClassName(java.lang.String newEditorPluginClassName)

void
setEditPluginClassName(java.lang.String newEditPluginClassName)

void
setJobFamily(java.lang.String newJobFamily)

void
setMaking(boolean newMaking)

void
setPackageClassName(java.lang.String newPackageClassName)

void
setParent(Item newParent)

void
setProject(Project newProject)

void
setProjectName(java.lang.String newProjectName)

void
setProjectVersion(org.eclipse.core.runtime.IProgressMonitor monitor)

void
setResource(org.eclipse.emf.ecore.resource.Resource newResource)

void
setRevision(Revision newRevision)

void
setStrategy(Strategy newStrategy)

void
setTimestamp(long newTimestamp)

java.lang.String
toString()

Methods inherited from class org.enterprisedomain.classmaker.impl.ItemImpl

basicSetDomainModel, getDomainModel, getLanguage, getLocale, getParent, getPhase, getProject, setDomainModel, setLanguage, setLocale, setModelName, setPhase

Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI

Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset

Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

eNotificationRequired, eNotify

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods inherited from interface org.eclipse.emf.ecore.EObject

eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

eNotificationRequired

Methods inherited from interface org.enterprisedomain.classmaker.Item

getDomainModel, getLanguage, getLocale, getParent, getPhase, getProject, setDomainModel, setLanguage, setLocale, setModelName, setPhase

Methods inherited from interface org.eclipse.emf.common.notify.Notifier

eAdapters, eDeliver, eNotify, eSetDeliver

Method Detail

getPackageClassName

public java.lang.String getPackageClassName()

Specified by:

getPackageClassName in interface State

Returns:

the value of the 'Package Class Name' attribute.

See Also:

State.setPackageClassName(String),
ClassMakerPackage.getState_PackageClassName()

setPackageClassName

public void setPackageClassName(java.lang.String newPackageClassName)

Specified by:

setPackageClassName in interface State

Parameters:

newPackageClassName - the new value of the 'Package Class Name' attribute.

See Also:

State.getPackageClassName()

getEditPluginClassName

public java.lang.String getEditPluginClassName()

Specified by:

getEditPluginClassName in interface State

Returns:

the value of the 'Edit Plugin Class Name' attribute.

See Also:

State.setEditPluginClassName(String),
ClassMakerPackage.getState_EditPluginClassName()

setEditPluginClassName

public void setEditPluginClassName(java.lang.String newEditPluginClassName)

Specified by:

setEditPluginClassName in interface State

Parameters:

newEditPluginClassName - the new value of the 'Edit Plugin Class Name'
              attribute.

See Also:

State.getEditPluginClassName()

getEditorPluginClassName

public java.lang.String getEditorPluginClassName()

Specified by:

getEditorPluginClassName in interface State

Returns:

the value of the 'Editor Plugin Class Name' attribute.

See Also:

State.setEditorPluginClassName(String),
ClassMakerPackage.getState_EditorPluginClassName()

setEditorPluginClassName

public void setEditorPluginClassName(java.lang.String newEditorPluginClassName)

Specified by:

setEditorPluginClassName in interface State

Parameters:

newEditorPluginClassName - the new value of the 'Editor Plugin Class Name'
              attribute.

See Also:

State.getEditorPluginClassName()

getRequiredPlugins

public org.eclipse.emf.common.util.EList<java.lang.String> getRequiredPlugins()

Specified by:

getRequiredPlugins in interface State

Returns:

the value of the 'Required Plugins' attribute list.

See Also:

ClassMakerPackage.getState_RequiredPlugins()

getTimestamp

public long getTimestamp()

Specified by:

getTimestamp in interface State

Returns:

the value of the 'Timestamp' attribute.

See Also:

#setTimestamp(Date),
org.genericdomain.EnterpriseDomainPackage#getState_Timestamp()

setTimestamp

public void setTimestamp(long newTimestamp)

Specified by:

setTimestamp in interface State

Parameters:

newTimestamp - the new value of the 'Timestamp' attribute.

See Also:

State.getTimestamp()

getDeployableUnitName

public java.lang.String getDeployableUnitName()

Specified by:

getDeployableUnitName in interface State

Returns:

the value of the 'Deployable Unit Name' attribute.

See Also:

ClassMakerPackage.getState_DeployableUnitName()

setDeployableUnitName

public void setDeployableUnitName(java.lang.String newDeployableUnitName)

Specified by:

setDeployableUnitName in interface State

Parameters:

newDeployableUnitName - the new value of the 'Deployable Unit Name' attribute.

See Also:

State.getDeployableUnitName()

getEditDeployableUnitName

public java.lang.String getEditDeployableUnitName()

Specified by:

getEditDeployableUnitName in interface State

Returns:

the value of the 'Edit Deployable Unit Name' attribute.

See Also:

State.setEditDeployableUnitName(String),
ClassMakerPackage.getState_EditDeployableUnitName()

setEditDeployableUnitName

public void setEditDeployableUnitName(java.lang.String newDeployableUnitName)

Specified by:

setEditDeployableUnitName in interface State

Parameters:

newDeployableUnitName - the new value of the 'Edit Deployable Unit Name'
              attribute.

See Also:

State.getEditDeployableUnitName()

getEditorDeployableUnitName

public java.lang.String getEditorDeployableUnitName()

Specified by:

getEditorDeployableUnitName in interface State

Returns:

the value of the 'Editor Deployable Unit Name' attribute.

See Also:

State.setEditorDeployableUnitName(String),
ClassMakerPackage.getState_EditorDeployableUnitName()

setEditorDeployableUnitName

public void setEditorDeployableUnitName(java.lang.String newDeployableUnitName)

Specified by:

setEditorDeployableUnitName in interface State

Parameters:

newDeployableUnitName - the new value of the 'Editor Deployable Unit Name'
              attribute.

See Also:

State.getEditorDeployableUnitName()

basicGetParent

public Item basicGetParent()

Description copied from class: ItemImpl

Overrides:

basicGetParent in class ItemImpl

setParent

public void setParent(Item newParent)

Description copied from class: ItemImpl

Specified by:

setParent in interface Item

Overrides:

setParent in class ItemImpl

Parameters:

newParent - the new value of the 'Parent' reference.

See Also:

Item.getParent()

initialize

public java.lang.String initialize(boolean commit)

Description copied from class: ItemImpl

Specified by:

initialize in interface Item

Overrides:

initialize in class ItemImpl

getModelName

public java.lang.String getModelName()

Description copied from class: ItemImpl

Specified by:

getModelName in interface Item

Overrides:

getModelName in class ItemImpl

Returns:

the value of the 'Model Name' attribute.

See Also:

Item.setModelName(String),
ClassMakerPackage.getItem_ModelName()

loadResource

public void loadResource(org.eclipse.emf.common.util.URI modelURI,
                         boolean create,
                         boolean loadOnDemand)

saveResource

public void saveResource()

Description copied from interface: State

Specified by:

saveResource in interface State

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:

eInverseAdd in class ItemImpl

make

public java.lang.String make(org.eclipse.core.runtime.IProgressMonitor monitor)
                      throws java.lang.Exception

Specified by:

make in interface Item

Overrides:

make in class ItemImpl

Throws:

java.lang.Exception

load

public void load(boolean create)
          throws org.eclipse.core.runtime.CoreException

Initialize and load resource. Parent revision should be set.

Specified by:

load in interface Item

Overrides:

load in class ItemImpl

Throws:

org.eclipse.core.runtime.CoreException

checkout

public void checkout()

Specified by:

checkout in interface State

checkout

public void checkout(java.lang.String commitId,
                     boolean forced)

Specified by:

checkout in interface State

add

public void add(java.lang.String filepattern)
         throws java.lang.Exception

Specified by:

add in interface State

Throws:

java.lang.Exception

commit

public java.lang.String commit()
                        throws java.lang.Exception

Specified by:

commit in interface State

Returns:

commitId

Throws:

java.lang.Exception

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:

eInverseRemove in class ItemImpl

copyModel

public void copyModel(Item from)

Description copied from class: ItemImpl

Specified by:

copyModel in interface Item

Overrides:

copyModel in class ItemImpl

basicGetProject

public Project basicGetProject()

Specified by:

basicGetProject in class ItemImpl

setProject

public void setProject(Project newProject)

Specified by:

setProject in interface Item

Overrides:

setProject in class ItemImpl

Parameters:

newProject - the new value of the 'Project' reference.

See Also:

Item.getProject()

getRevision

public Revision getRevision()

Specified by:

getRevision in interface State

Returns:

the value of the 'Revision' reference.

See Also:

State.setRevision(Revision),
ClassMakerPackage.getState_Revision()

basicGetRevision

public Revision basicGetRevision()

setRevision

public void setRevision(Revision newRevision)

Specified by:

setRevision in interface State

Parameters:

newRevision - the new value of the 'Revision' reference.

See Also:

State.getRevision()

getJobFamily

public java.lang.String getJobFamily()

Specified by:

getJobFamily in interface State

Returns:

the value of the 'Job Family' attribute.

See Also:

State.setJobFamily(String),
ClassMakerPackage.getState_JobFamily()

setJobFamily

public void setJobFamily(java.lang.String newJobFamily)

Specified by:

setJobFamily in interface State

Parameters:

newJobFamily - the new value of the 'Job Family' attribute.

See Also:

State.getJobFamily()

getResource

public org.eclipse.emf.ecore.resource.Resource getResource()

Specified by:

getResource in interface State

Returns:

the value of the 'Resource' reference.

See Also:

State.setResource(Resource),
ClassMakerPackage.getState_Resource()

setResource

public void setResource(org.eclipse.emf.ecore.resource.Resource newResource)

Specified by:

setResource in interface State

Parameters:

newResource - the new value of the 'Resource' reference.

See Also:

State.getResource()

getCommitIds

public org.eclipse.emf.common.util.EList<java.lang.String> getCommitIds()

Specified by:

getCommitIds in interface State

Returns:

the value of the 'Commit Ids' attribute list.

See Also:

ClassMakerPackage.getState_CommitIds()

getCommitId

public java.lang.String getCommitId()

Specified by:

getCommitId in interface State

Returns:

the value of the 'Commit Id' attribute.

See Also:

State.setCommitId(String),
ClassMakerPackage.getState_CommitId()

setCommitId

public void setCommitId(java.lang.String newCommitId)

Specified by:

setCommitId in interface State

Parameters:

newCommitId - the new value of the 'Commit Id' attribute.

See Also:

State.getCommitId()

getCustomizers

public org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getCustomizers()

Description copied from class: ItemImpl

Specified by:

getCustomizers in interface Item

Overrides:

getCustomizers in class ItemImpl

Returns:

the value of the 'Customizers' map.

See Also:

ClassMakerPackage.getItem_Customizers()

getStateCustomizers

public org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getStateCustomizers()

Specified by:

getStateCustomizers in interface State

Returns:

the value of the 'State Customizers' map.

See Also:

ClassMakerPackage.getState_StateCustomizers()

getProjectName

public java.lang.String getProjectName()

Specified by:

getProjectName in interface State

Returns:

the value of the 'Project Name' attribute.

See Also:

State.setProjectName(String),
ClassMakerPackage.getState_ProjectName()

setProjectName

public void setProjectName(java.lang.String newProjectName)

Specified by:

setProjectName in interface State

Parameters:

newProjectName - the new value of the 'Project Name' attribute.

See Also:

State.getProjectName()

isMaking

public boolean isMaking()

Specified by:

isMaking in interface State

Returns:

the value of the 'Making' attribute.

See Also:

State.setMaking(boolean),
ClassMakerPackage.getState_Making()

setMaking

public void setMaking(boolean newMaking)

Specified by:

setMaking in interface State

Parameters:

newMaking - the new value of the 'Making' attribute.

See Also:

State.isMaking()

isEdit

public boolean isEdit()

Specified by:

isEdit in interface State

Returns:

the value of the 'Edit' attribute.

See Also:

State.setEdit(boolean),
ClassMakerPackage.getState_Edit()

setEdit

public void setEdit(boolean newEdit)

Specified by:

setEdit in interface State

Parameters:

newEdit - the new value of the 'Edit' attribute.

See Also:

State.isEdit()

isEditor

public boolean isEditor()

Specified by:

isEditor in interface State

Returns:

the value of the 'Editor' attribute.

See Also:

State.setEditor(boolean),
ClassMakerPackage.getState_Editor()

setEditor

public void setEditor(boolean newEditor)

Specified by:

setEditor in interface State

Parameters:

newEditor - the new value of the 'Editor' attribute.

See Also:

State.isEditor()

getStrategy

public Strategy getStrategy()

Specified by:

getStrategy in interface State

Returns:

the value of the 'Strategy' reference.

See Also:

State.setStrategy(Strategy),
ClassMakerPackage.getState_Strategy(),
Strategy.getState()

basicGetStrategy

public Strategy basicGetStrategy()

basicSetStrategy

public org.eclipse.emf.common.notify.NotificationChain basicSetStrategy(Strategy newStrategy,
                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)

setStrategy

public void setStrategy(Strategy newStrategy)

Specified by:

setStrategy in interface State

Parameters:

newStrategy - the new value of the 'Strategy' reference.

See Also:

State.getStrategy()

setProjectVersion

public void setProjectVersion(org.eclipse.core.runtime.IProgressMonitor monitor)
                       throws org.eclipse.core.runtime.CoreException

Specified by:

setProjectVersion in interface State

Throws:

org.eclipse.core.runtime.CoreException

delete

public void delete(org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException

Specified by:

delete in interface State

Throws:

org.eclipse.core.runtime.CoreException

find

public org.eclipse.emf.ecore.EObject find(org.eclipse.emf.ecore.EObject eObject,
                                          Stage stage)

Specified by:

find in interface State

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:

eGet in interface org.eclipse.emf.ecore.InternalEObject

Overrides:

eGet in class ItemImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:

eSet in interface org.eclipse.emf.ecore.InternalEObject

Overrides:

eSet in class ItemImpl

eUnset

public void eUnset(int featureID)

Specified by:

eUnset in interface org.eclipse.emf.ecore.InternalEObject

Overrides:

eUnset in class ItemImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:

eIsSet in interface org.eclipse.emf.ecore.InternalEObject

Overrides:

eIsSet in class ItemImpl

toString

public java.lang.String toString()

Overrides:

toString in class ItemImpl

contains

public boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule)

Specified by:

contains in interface org.eclipse.core.runtime.jobs.ISchedulingRule

isConflicting

public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule)

Specified by:

isConflicting in interface org.eclipse.core.runtime.jobs.ISchedulingRule

build

public void build(org.eclipse.core.runtime.IProgressMonitor monitor)
           throws org.eclipse.core.runtime.CoreException

Description copied from class: ItemImpl

Specified by:

build in interface Item

Overrides:

build in class ItemImpl

Throws:

org.eclipse.core.runtime.CoreException

Skip navigation links

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

All Classes

JavaScript is disabled on your browser.

Summary:

Nested |

Field |

Constr |

Method

Detail:

Field |

Constr |

Method


text:
    Facebook
    Twitter
    LinkedIn

redpajama_set_name: RedPajamaGithub


text:
from email.message import EmailMessage

from asphalt.mailer.utils import get_recipients

def test_get_recipients():
    msg = EmailMessage()
    msg['To'] = 'Foo Example <foo@example.org>'
    msg['Cc'] = 'Bar Bar <bar@bar.bar>'
    msg['Bcc'] = 'Invisible Recipient <invisible@reci.pient>'

    assert get_recipients(msg) == ['foo@example.org', 'bar@bar.bar', 'invisible@reci.pient']


text:
{% extends "base.html" %} {% block title %}Reset password{% endblock %}

{% block content -%}
{% if ok -%}

<form>
    <fieldset>

You will receive an email from us with a verification token for choosing a new password.

Please check your inbox.

    </fieldset>
</form>

{%- else -%}

<form action="" method="post" novalidate>
    <input type="hidden" name="_csrf_token" value="{{ csrf_token() }}">

    {% if error == auth.ERROR_BAD_TOKEN -%}

    <fieldset class="error">

        Something is wrong with the link to reset your password.

 Try to copy and paste it from the email or to reset your password again.
    </fieldset>

    {%- elif error == auth.ERROR_WRONG_TOKEN_USER -%}

    <fieldset class="error">

        The username you entered is not associated with a user in our records.
    </fieldset>

    {%- endif %}

    <fieldset class="info">

Reset your password

Enter your user name and a verification token will be sent to you. You will be able to choose a new password for your account.

    </fieldset>

    <fieldset>
        <input type="text" name="login" value="{{ credentials.login|e }}" size="20" maxlength="254" tabindex="1" placeholder="username" autofocus>

    </fieldset>

    <fieldset class="actions">
        Sign in
        <button class="btn" type="submit" tabindex="2">Reset password »</button>
    </fieldset>
</form>

{%- endif %}
{%- endblock %}


text:
<?php

namespace Zend\Form\View\Helper\Captcha;

use Traversable;
use Zend\Captcha\AdapterInterface as CaptchaAdapter;
use Zend\Form\ElementInterface;
use Zend\Form\Exception;
use Zend\Form\View\Helper\FormInput;

/**
 * @category   Zend
 * @package    Zend_Form
 * @subpackage View
 */
abstract class AbstractWord extends FormInput
{
    const CAPTCHA_APPEND  = 'append';
    const CAPTCHA_PREPEND = 'prepend';

    /**
     * @var FormInput
     */
    protected $inputHelper;

    /**
     * @var string
     */
    protected $captchaPosition = self::CAPTCHA_APPEND;

    /**
     * @var string
     */
    protected $separator = '';

    /**
     * Set value for captchaPosition
     *
     * @param  mixed captchaPosition
     * @return $this
     */
    public function setCaptchaPosition($captchaPosition)
    {
        $captchaPosition = strtolower($captchaPosition);
        if (!in_array($captchaPosition, array(self::CAPTCHA_APPEND, self::CAPTCHA_PREPEND))) {
            throw new Exception\InvalidArgumentException(sprintf(
                '%s expects either %s::CAPTCHA_APPEND or %s::CAPTCHA_PREPEND; received "%s"',
                __METHOD__,
                __CLASS__,
                __CLASS__,
                (string) $captchaPosition
            ));
        }
        $this->captchaPosition = $captchaPosition;
        return $this;
    }

    /**
     * Get position of captcha
     *
     * @return string
     */
    public function getCaptchaPosition()
    {
        return $this->captchaPosition;
    }

    /**
     * Set separator string for captcha and inputs
     *
     * @param  string $separator
     * @return Word
     */
    public function setSeparator($separator)
    {
        $this->separator = (string) $separator;
        return $this;
    }

    /**
     * Get separator for captcha and inputs
     *
     * @return string
     */
    public function getSeparator()
    {
        return $this->separator;
    }

    /**
     * Render captcha form elements for the given element
     *
     * Creates and returns:
     * - Hidden input with captcha identifier (name[id])
     * - Text input for entering captcha value (name[input])
     *
     * More specific renderers will consume this and render it.
     *
     * @param  ElementInterface $element
     * @return string
     */
    protected function renderCaptchaInputs(ElementInterface $element)
    {
        $name = $element->getName();
        if ($name === null || $name === '') {
            throw new Exception\DomainException(sprintf(
                '%s requires that the element has an assigned name; none discovered',
                __METHOD__
            ));
        }

        $attributes = $element->getAttributes();
        $captcha = $element->getCaptcha();

        if ($captcha === null || !$captcha instanceof CaptchaAdapter) {
            throw new Exception\DomainException(sprintf(
                '%s requires that the element has a "captcha" attribute implementing Zend\Captcha\AdapterInterface; none found',
                __METHOD__
            ));
        }

        $hidden    = $this->renderCaptchaHidden($captcha, $attributes);
        $input     = $this->renderCaptchaInput($captcha, $attributes);
        $separator = $this->getSeparator();

        return $hidden . $separator . $input;
    }

    /**
     * Invoke helper as functor
     *
     * Proxies to {@link render()}.
     *
     * @param  ElementInterface $element
     * @return string
     */
    public function __invoke(ElementInterface $element = null)
    {
        if (!$element) {
            return $this;
        }

        return $this->render($element);
    }

    /**
     * Render the hidden input with the captcha identifier
     *
     * @param  CaptchaAdapter $captcha
     * @param  array $attributes
     * @return string
     */
    protected function renderCaptchaHidden(CaptchaAdapter $captcha, array $attributes)
    {
        $attributes['type']  = 'hidden';
        $attributes['name'] .= '[id]';
        if (method_exists($captcha, 'getId')) {
            $attributes['value'] = $captcha->getId();
        } elseif (array_key_exists('value', $attributes)) {
            if (is_array($attributes['value']) && array_key_exists('id', $attributes['value'])) {
                $attributes['value'] = $attributes['value']['id'];
            }
        }
        $closingBracket      = $this->getInlineClosingBracket();
        $hidden              = sprintf(
            '<input %s%s',
            $this->createAttributesString($attributes),
            $closingBracket
        );
        return $hidden;
    }

    /**
     * Render the input for capturing the captcha value from the client
     *
     * @param  CaptchaAdapter $captcha
     * @param  array $attributes
     * @return string
     */
    protected function renderCaptchaInput(CaptchaAdapter $captcha, array $attributes)
    {
        $attributes['type']  = 'text';
        $attributes['name'] .= '[input]';
        if (array_key_exists('value', $attributes)) {
            unset($attributes['value']);
        }
        $closingBracket      = $this->getInlineClosingBracket();
        $input               = sprintf(
            '<input %s%s',
            $this->createAttributesString($attributes),
            $closingBracket
        );
        return $input;
    }
}


text:
( function() {
  "use strict";

  // Insert QUnit UI
  var qUnitContainer = document.createElement( "div" ),
      fixtureContainer = document.createElement( "div" );
  qUnitContainer.id = "qunit";
  fixtureContainer.id = "qunit-fixture";
  document.body.appendChild( qUnitContainer );
  document.body.appendChild( fixtureContainer );

  QUnit.addCoverage = function addCoverage( coverage ) {

    // If no report exists, don't merge
    if ( !window.__coverage__ ) {
      window.__coverage__ = coverage;
      return;
    }

    // Otherwise, merge reports
    Object.keys( coverage ).forEach( function( filename ) {
      window.__coverage__[ filename ] = window.coverageUtils.mergeFileCoverage(
        window.__coverage__[ filename ],
        coverage[ filename ]
      );
    } );
  };

  QUnit.addExampleSuite = function addExampleSuite( assert, src ) {

    var iframe,
        fireIFrameLoaded,
        loadedOnce; // prevents calling fireIFrameLoaded multiple times if iframe reloads

    // Create element
    iframe = document.createElement( "iframe" );
    iframe.src = ( window.__karma__ ? "/base/tests/" : "" ) + src;

    // Once th iframe is loaded and
    // QUnit test suite
    fireIFrameLoaded = assert.async(),
    loadedOnce = false;

    iframe.updateCodeCoverage = function() {
      this.contentWindow.__coverage__ && QUnit.addCoverage( this.contentWindow.__coverage__ );
    };

    iframe.addEventListener( "load", function() {
      iframe.contentWindow.QUnit.done( function() {

        // Add coverage report, if any
        iframe.updateCodeCoverage();

        // Notify parent's QUnit that iframe hs been loaded
        if ( !loadedOnce ) {
          loadedOnce = true;
          fireIFrameLoaded();
        }
      } );
    }, true );

    // Load the iframe
    document.getElementById( "qunit-fixture" ).appendChild( iframe );

    return iframe;
  };

} )();


text:
<?xml version="1.0" encoding="utf-8"?>
<!--

     Copyright 2014-2016 CyberVision, Inc.

     Licensed 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.

-->

<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <include layout="@layout/card_device_title"
         android:id="@+id/deviceCardTitle"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_alignParentTop="true"
         android:layout_alignParentLeft="true"
         android:layout_alignParentStart="true"/>
    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@id/deviceCardTitle"
        android:layout_above="@+id/deviceGeofencingStatus">
        <include layout="@layout/card_device_no_info"
             android:id="@+id/deviceNoInfoLayout"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
             android:gravity="center"
             android:layout_gravity="center_vertical"/>
        <FrameLayout
            android:id="@+id/deviceDetailsLayout"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_gravity="center_vertical"
            android:gravity="center"
            android:visibility="gone">
	            <TextView
	                android:id="@+id/noTrackSelectedView"
	                android:layout_width="match_parent"
	                android:layout_height="match_parent"
	                android:gravity="center_vertical"
	                android:textColor="@android:color/white"
	                android:textSize="24sp"
	                android:text="@string/no_track_selected"
	                android:visibility="gone">
	            </TextView>
	            <RelativeLayout
	                android:id="@+id/musicDetailsView"
	                android:layout_width="match_parent"
	                android:layout_height="match_parent"
	                android:paddingTop="10dp"
	                android:visibility="gone">
                    <FrameLayout
                        android:id="@+id/albumCoverLayout"
                        android:layout_width="wrap_content"
                        android:layout_height="match_parent"
                        android:layout_alignParentLeft="true"
                        android:layout_alignParentStart="true">
                        <org.kaaproject.kaa.demo.iotworld.smarthome.layout.SquareLayout
                                android:layout_width="match_parent"
                                android:layout_height="match_parent"
                                android:background="@color/album_device_cover_border_color"
                                app:sizingType="byHeight"/>
                        <org.kaaproject.kaa.demo.iotworld.smarthome.layout.SquareLayout
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:padding="2dp"
                            app:sizingType="byHeight">
                            <ImageView
                                    android:id="@+id/albumCoverView"
                                    android:layout_width="match_parent"
                                    android:layout_height="match_parent"
                                    android:scaleType="centerCrop"
                                    android:adjustViewBounds="true"
                                    android:src="@drawable/ic_launcher"/>
                        </org.kaaproject.kaa.demo.iotworld.smarthome.layout.SquareLayout>
                    </FrameLayout>
	                <LinearLayout
	                    android:layout_width="match_parent"
	                    android:layout_height="match_parent"
	                    android:orientation="vertical"
	                    android:paddingLeft="10dp"
	                    android:layout_toRightOf="@id/albumCoverLayout"
                        android:layout_toEndOf="@id/albumCoverLayout">
		                <TextView
		                    android:id="@+id/trackTitleView"
		                    android:layout_width="wrap_content"
		                    android:layout_height="wrap_content"
		                    android:textSize="18sp"
		                    android:textStyle="bold"
		                    android:textColor="@android:color/white"
		                    android:ellipsize="marquee"
					        android:fadingEdge="horizontal"
					        android:singleLine="true"
					        android:focusable="true"
					        android:focusableInTouchMode="true"
					        android:lines="1"
		                    />
		                <TextView
	                        android:id="@+id/artistTitleView"
	                        android:layout_width="wrap_content"
	                        android:layout_height="wrap_content"
	                        android:textSize="14sp"
	                        android:textStyle="bold"
	                        android:textColor="@android:color/white"
                            android:ellipsize="marquee"
                            android:fadingEdge="horizontal"
                            android:singleLine="true"
                            android:focusable="true"
                            android:focusableInTouchMode="true"
                            android:lines="1"
	                        />
                        <TextView
                            android:id="@+id/albumTitleView"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:textSize="14sp"
                            android:textStyle="bold"
                            android:textColor="@android:color/white"
                            android:ellipsize="marquee"
                            android:fadingEdge="horizontal"
                            android:singleLine="true"
                            android:focusable="true"
                            android:focusableInTouchMode="true"
                            android:lines="1"
                            />
                        <SeekBar
                            android:id="@+id/trackProgressView"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:progressDrawable="@drawable/seek_progress_music"
                            android:thumb="@drawable/seek_thumb_music"
                            android:paddingTop="5dp"
                            android:paddingLeft="0dp"
                            android:paddingRight="0dp"
                            android:disabledAlpha="1"
                            android:splitTrack="false"
                            android:thumbOffset="2dp"/>
                        <TextView
                            android:id="@+id/trackProgressTextView"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:textColor="@android:color/white"
                            android:textSize="14sp"
                            android:gravity="right"/>
	                </LinearLayout>
	            </RelativeLayout>
            </FrameLayout>
    </FrameLayout>
    <include layout="@layout/card_device_geofencing_status"
         android:id="@id/deviceGeofencingStatus"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_alignParentBottom="true"
         android:layout_alignParentLeft="true"
         android:layout_alignParentStart="true"/>
</RelativeLayout>


text:
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Role extends Model
{
    protected $table = 'roles';
    protected $primaryKey = "id";
    protected $fillable = [
        'role_name',
        'role_desc',
        'is_active',
        'is_aactive'
    ];
    public $timestamps = TRUE;

    public function users()
    {
        return $this->hasMany('App\Models\User','role_id','id');
    }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<tv xmlns:xx="http://www.w3.org/1999/xx" xmlns:yy="http://www.w3.org/1999/yy" xmlns="http://www.w3.org/1999/zz"
    generator-info-name="nonametv" foo=
        "bar bu">
    <channel xx:id="3sat.de">HeyHo
        <foo/>
        <!--
            Since this is a comment
            I can use all sorts of reserved characters
            like > < " and &
            or write things like
            <foo></bar>
            but my document is still well-formed!
        -->
        <yy:display-name lang="de">3sat</yy:display-name>
        <base-url><![CDATA[
    Since this is a CDATA section
    I can use all sorts of reserved characters
    like > < " and &
    or write things like
    <foo></bar>
    but my document is still well formed!
]]>http://xmltv.spaetfruehstuecken.org/xmltv/
        </base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/3sat.de.png"/>
    </channel>
    <channel id="hd.3sat.de">
        <display-name lang="de">3sat HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hd.3sat.de.png"/>
    </channel>
    <channel id="english.aljazeera.net">
        <display-name lang="de">Al Jazeera (English)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/english.aljazeera.net.png"/>
    </channel>
    <channel id="hd.anixehd.tv">
        <display-name lang="de">ANIXE HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="sd.anixehd.tv">
        <display-name lang="de">ANIXE SD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="br-alpha.daserste.de">
        <display-name lang="de">ARD-alpha</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="arte.de">
        <display-name lang="de">ARTE</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/arte.de.png"/>
    </channel>
    <channel id="hd.arte.de">
        <display-name lang="de">ARTE HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hd.arte.de.png"/>
    </channel>
    <channel id="bfs.daserste.de">
        <display-name lang="de">BFS</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="comedycentral.de">
        <display-name lang="de">Comedy Central Germany</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/comedycentral.de.png"/>
    </channel>
    <channel id="coretime.fm">
        <display-name lang="de">CoreTime.FM</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/coretime.fm.png"/>
    </channel>
    <channel id="dasding.swr.de">
        <display-name lang="de">Das Ding</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/dasding.swr.de.png"/>
    </channel>
    <channel id="daserste.de">
        <display-name lang="de">Das Erste</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/daserste.de.png"/>
    </channel>
    <channel id="hd.daserste.de">
        <display-name lang="de">Das Erste HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hd.daserste.de.png"/>
    </channel>
    <channel id="dlf.dradio.de">
        <display-name lang="de">Deutschlandfunk</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/dlf.dradio.de.png"/>
    </channel>
    <channel id="dkultur.dradio.de">
        <display-name lang="de">Deutschlandradio Kultur</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/dkultur.dradio.de.png"/>
    </channel>
    <channel id="wissen.dradio.de">
        <display-name lang="de">Deutschlandradio Wissen</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/wissen.dradio.de.png"/>
    </channel>
    <channel id="dw.de">
        <display-name lang="de">DW</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/dw.de.png"/>
    </channel>
    <channel id="amerika.dw.de">
        <display-name lang="de">DW (Amerika)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/amerika.dw.de.png"/>
    </channel>
    <channel id="arabia.dw.de">
        <display-name lang="de">DW (Arabia)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/arabia.dw.de.png"/>
    </channel>
    <channel id="asien.dw.de">
        <display-name lang="de">DW (Asien)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/asien.dw.de.png"/>
    </channel>
    <channel id="europe.dw.de">
        <display-name lang="de">DW (Europe)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/europe.dw.de.png"/>
    </channel>
    <channel id="la.dw.de">
        <display-name lang="de">DW (Latinoamérica)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/la.dw.de.png"/>
    </channel>
    <channel id="einsextra.daserste.de">
        <display-name lang="de">EinsExtra</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="einsfestival.daserste.de">
        <display-name lang="de">EinsFestival</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="einsplus.ard.de">
        <display-name lang="de">EinsPlus</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/einsplus.ard.de.png"/>
    </channel>
    <channel id="einsplus.daserste.de">
        <display-name lang="de">EinsPlus</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="en.france24.com">
        <display-name lang="de">France 24 (English)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/en.france24.com.png"/>
    </channel>
    <channel id="fr.france24.com">
        <display-name lang="de">France 24 (Français)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/fr.france24.com.png"/>
    </channel>
    <channel id="hardbase.fm">
        <display-name lang="de">HardBase.FM</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hardbase.fm.png"/>
    </channel>
    <channel id="housetime.fm">
        <display-name lang="de">HouseTime.FM</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/housetime.fm.png"/>
    </channel>
    <channel id="hr.daserste.de">
        <display-name lang="de">hr-fernsehen</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="kika.de">
        <display-name lang="de">KI.KA</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/kika.de.png"/>
    </channel>
    <channel id="mdr.daserste.de">
        <display-name lang="de">MDR</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="ndr.daserste.de">
        <display-name lang="de">NDR</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="neokika.zdfmobil.de">
        <display-name lang="de">neo/KiKa</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/neokika.zdfmobil.de.png"/>
    </channel>
    <channel id="nickcc.mtvnetworks.de">
        <display-name lang="de">Nickelodeon / Comedy Central (Germany)</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/nickcc.mtvnetworks.de.png"/>
    </channel>
    <channel id="nick.de">
        <display-name lang="de">Nickelodeon Germany</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/nick.de.png"/>
    </channel>
    <channel id="nick.ch">
        <display-name lang="de">Nickelodeon Switzerland</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/nick.ch.png"/>
    </channel>
    <channel id="orf2.orf.at">
        <display-name lang="de">ORF 2</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/orf2.orf.at.png"/>
    </channel>
    <channel id="europe.orf2.orf.at">
        <display-name lang="de">ORF 2 Europe</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="hd.orf2.orf.at">
        <display-name lang="de">ORF 2 HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hd.orf2.orf.at.png"/>
    </channel>
    <channel id="orf3.orf.at">
        <display-name lang="de">ORF III</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/orf3.orf.at.png"/>
    </channel>
    <channel id="sportplus.orf.at">
        <display-name lang="de">ORF Sport Plus</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/sportplus.orf.at.png"/>
    </channel>
    <channel id="orf1.orf.at">
        <display-name lang="de">ORFeins</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/orf1.orf.at.png"/>
    </channel>
    <channel id="hd.orf1.orf.at">
        <display-name lang="de">ORFeins HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hd.orf1.orf.at.png"/>
    </channel>
    <channel id="phoenix.daserste.de">
        <display-name lang="de">Phoenix</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="radioseven.se">
        <display-name lang="de">radioseven.se</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/radioseven.se.png"/>
    </channel>
    <channel id="radiox.de">
        <display-name lang="de">RadioX</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/radiox.de.png"/>
    </channel>
    <channel id="rbb.daserste.de">
        <display-name lang="de">RBB</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="berl.rbb-online.de">
        <display-name lang="de">RBB Berlin</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="bra.rbb-online.de">
        <display-name lang="de">RBB Brandenburg</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="sr.swr.de">
        <display-name lang="de">SR Fernsehen</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="hd.sr.swr.de">
        <display-name lang="de">SR Fernsehen HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="bw.swr1.swr.de">
        <display-name lang="de">SWR 1 BW</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/bw.swr1.swr.de.png"/>
    </channel>
    <channel id="rp.swr1.swr.de">
        <display-name lang="de">SWR 1 RP</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/rp.swr1.swr.de.png"/>
    </channel>
    <channel id="bw.swr2.swr.de">
        <display-name lang="de">SWR 2 BW</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/bw.swr2.swr.de.png"/>
    </channel>
    <channel id="rp.swr2.swr.de">
        <display-name lang="de">SWR 2 RP</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/rp.swr2.swr.de.png"/>
    </channel>
    <channel id="swr3.de">
        <display-name lang="de">SWR 3</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/swr3.de.png"/>
    </channel>
    <channel id="bw.swr4.swr.de">
        <display-name lang="de">SWR 4 BW</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/bw.swr4.swr.de.png"/>
    </channel>
    <channel id="rp.swr4.swr.de">
        <display-name lang="de">SWR 4 RP</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/rp.swr4.swr.de.png"/>
    </channel>
    <channel id="bw.swr.daserste.de">
        <display-name lang="de">SWR BW</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="bw.swr.de">
        <display-name lang="de">SWR Fernsehen BW</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="hd.bw.swr.de">
        <display-name lang="de">SWR Fernsehen BW HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="rp.swr.de">
        <display-name lang="de">SWR Fernsehen RP</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="hd.rp.swr.de">
        <display-name lang="de">SWR Fernsehen RP HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="rp.swr.daserste.de">
        <display-name lang="de">SWR RP</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="sr.swr.daserste.de">
        <display-name lang="de">SWR SR</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="info.swr.de">
        <display-name lang="de">SWRinfo</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/info.swr.de.png"/>
    </channel>
    <channel id="technobase.fm">
        <display-name lang="de">TechnoBase.FM</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/technobase.fm.png"/>
    </channel>
    <channel id="tele5.de">
        <display-name lang="de">Tele5</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/tele5.de.png"/>
    </channel>
    <channel id="hd.tele5.de">
        <display-name lang="de">Tele5 HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hd.tele5.de.png"/>
    </channel>
    <channel id="trancebase.fm">
        <display-name lang="de">TranceBase.FM</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/trancebase.fm.png"/>
    </channel>
    <channel id="wdr.daserste.de">
        <display-name lang="de">WDR</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
    </channel>
    <channel id="zdf.de">
        <display-name lang="de">ZDF</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/zdf.de.png"/>
    </channel>
    <channel id="hd.zdf.de">
        <display-name lang="de">ZDF HD</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/hd.zdf.de.png"/>
    </channel>
    <channel id="infokanal.zdf.de">
        <display-name lang="de">ZDFinfokanal</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/infokanal.zdf.de.png"/>
    </channel>
    <channel id="kultur.zdf.de">
        <display-name lang="de">ZDFkultur</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/kultur.zdf.de.png"/>
    </channel>
    <channel id="neo.zdf.de">
        <display-name lang="de">ZDFneo</display-name>
        <base-url>http://xmltv.spaetfruehstuecken.org/xmltv/</base-url>
        <icon src="http://xmltv.spaetfruehstuecken.org/chanlogos/neo.zdf.de.png"/>
    </channel>
</tv>


text:
require 'session'
require 'shellwords'

cmd = <<-cmd
source ~/.rvm/scripts/rvm
rvm use 1.9.2
ruby play/worker_test.rb
cmd

cmd = cmd.strip.split("\n").map do |line|
  "echo #{Shellwords.escape("$ #{line}")}\n#{line}"
end.join("\n")

puts "-- using system('bash -c ...')"
result = system("bash -c '#{cmd}'")
puts "\n"
p result

puts "\n-- using bash.execute(...)"
bash = Session::Bash.new
bash.execute(cmd) do |out, err|
  STDOUT << out if out
  STDOUT << err if err
end

puts "\n"
p bash.exit_status


text:
/*
 *  Spreadsheet by Madhawa

 */
package exceptions;

/**
 *
 * @author Madhawa
 */
/*
    This exception is raised when a given expression has a function with some parameters missing. Maybe the expression is incomplete.
    The raise condition is checked before each and every pop from the RPN stack
*/
public class MissingParameterException extends SpreadsheetException {
     @Override
    public String getMessage()
    {
        return "%Missing Parameter";
    }
}