3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
11 package eu
.etaxonomy
.taxeditor
.ui
.element
;
14 import java
.net
.URISyntaxException
;
20 * @created Dec 20, 2010
23 public class UriWithLabelElement
extends TextWithLabelElement
{
27 * @param parentElement
33 protected UriWithLabelElement(CdmFormFactory formFactory
,
34 ICdmFormElement parentElement
, String labelString
,
35 URI initialUri
, Integer textHeight
, int style
) {
36 super(formFactory
, parentElement
, labelString
, null, textHeight
, style
);
43 public void setUri(URI uri
) {
45 super.setText(uri
.toString());
49 public URI
getUri() throws URISyntaxException
{
50 return new URI(super.getText());