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
;
19 * @created Dec 20, 2010
22 public class UriWithLabelElement
extends TextWithLabelElement
{
26 * @param parentElement
32 protected UriWithLabelElement(CdmFormFactory formFactory
,
33 ICdmFormElement parentElement
, String labelString
,
34 URI initialUri
, Integer textHeight
, int style
) {
35 super(formFactory
, parentElement
, labelString
, null, textHeight
, style
);
42 public void setUri(URI uri
) {
44 super.setText(uri
.toString());
48 public URI
getUri() throws URISyntaxException
{
49 return new URI(super.getText());