JBoss Common Beans 1.1.0.Final-redhat-1

org.jboss.common.beans.property
Class DocumentEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jboss.common.beans.property.PropertyEditorSupport<T>
          extended by org.jboss.common.beans.property.XMLEditorSupport<Document>
              extended by org.jboss.common.beans.property.DocumentEditor
All Implemented Interfaces:
PropertyEditor

public class DocumentEditor
extends XMLEditorSupport<Document>

A property editor for Document.

Author:
Elias Ross

Constructor Summary
DocumentEditor()
           
 
Method Summary
 void setAsText(String text)
          Sets as an Document created from a String.
 
Methods inherited from class org.jboss.common.beans.property.XMLEditorSupport
getAsDocument, getAsText
 
Methods inherited from class org.jboss.common.beans.property.PropertyEditorSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setValue
 
Methods inherited from class java.beans.PropertyEditorSupport
firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentEditor

public DocumentEditor()
Method Detail

setAsText

public void setAsText(String text)
Sets as an Document created from a String.

Specified by:
setAsText in interface PropertyEditor
Specified by:
setAsText in class PropertyEditorSupport<Document>
Parameters:
text - The string to be parsed.
Throws:
IllegalArgumentException - A parse exception occured

JBoss Common Beans 1.1.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.