public void addBinding(String href, String segment) {
    """
	Adds the specified binding to this editor's bindings element. The
	given href and segment must not be <code>null</code>.
	
	@param href the href part of the binding to add
	@param segment the segment part of the binding to add
    """
        Assert.isNotNull(href);
        Assert.isNotNull(segment);
        appendChild(root, "href", encodeHref(href)); //$NON-NLS-1$
        appendChild(root, "segment", segment); //$NON-NLS-1$
    }
public void addBinding(String href, String segment) {
        Assert.isNotNull(href);
        Assert.isNotNull(segment);
        appendChild(root, "href", encodeHref(href)); //$NON-NLS-1$
        appendChild(root, "segment", segment); //$NON-NLS-1$
    }
public void addBinding ( String href , String segment ) { Assert . isNotNull ( href ) ; Assert . isNotNull ( segment ) ; appendChild ( root , "href" , encodeHref ( href ) ) ; //$NON-NLS-1$ appendChild ( root , "segment" , segment ) ; //$NON-NLS-1$ }
Adds the specified binding to this editor's bindings element. The
given href and segment must not be <code>null</code>.

@param href the href part of the binding to add
@param segment the segment part of the binding to add
Adds the specified binding to this editor s bindings element . The given href and segment must not be <code > null< / code > .