org.jboss.util.propertyeditor
Class URIEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jboss.util.propertyeditor.TextPropertyEditorSupport
          extended by org.jboss.util.propertyeditor.URIEditor
All Implemented Interfaces:
PropertyEditor

public class URIEditor
extends TextPropertyEditorSupport

A property editor for URI.

Version:
$Revision: 1.2.2.3 $
Author:
Dimitris Andreadis

Constructor Summary
URIEditor()
           
 
Method Summary
 Object getValue()
          Returns a URI for the input object converted to a string.
 
Methods inherited from class org.jboss.util.propertyeditor.TextPropertyEditorSupport
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIEditor

public URIEditor()
Method Detail

getValue

public Object getValue()
Returns a URI for the input object converted to a string.

Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
Returns:
a URI object
Throws:
NestedRuntimeException - An MalformedURLException occured.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.