Code example for PropertyEditorRegistrySupport

Methods: registerDefaultEditors

0
@XmlRootElement(name="global") 
@XmlAccessorType(XmlAccessType.FIELD)
public class Global implements Serializable {
	 
	private static class SimplePropertyEditorRegistry extends PropertyEditorRegistrySupport {
		public SimplePropertyEditorRegistry() { 
			registerDefaultEditors(); 
		} 
		 
	} 
 
	@XmlTransient 
	private PropertyEditorRegistrySupport m_editorRegistry = new SimplePropertyEditorRegistry();
 
      //--------------------------/ 
     //- Class/Member Variables -/ 
    //--------------------------/ 
 
    /** 
     * This is the name as it is defined in the rules file