| /** |
| */ |
| package org.w3._1999.xhtml.impl; |
| |
| import java.util.List; |
| |
| import org.eclipse.emf.common.notify.Notification; |
| |
| import org.eclipse.emf.ecore.EClass; |
| |
| import org.eclipse.emf.ecore.impl.ENotificationImpl; |
| |
| import org.w3._1999.xhtml.DirType; |
| import org.w3._1999.xhtml.FormType; |
| import org.w3._1999.xhtml.MethodType; |
| import org.w3._1999.xhtml.XhtmlPackage; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * An implementation of the model object '<em><b>Form Type</b></em>'. |
| * <!-- end-user-doc --> |
| * <p> |
| * The following features are implemented: |
| * </p> |
| * <ul> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getAccept <em>Accept</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getAcceptCharset <em>Accept Charset</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getAction <em>Action</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getClass_ <em>Class</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getDir <em>Dir</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getEnctype <em>Enctype</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getId <em>Id</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getLang <em>Lang</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getLang1 <em>Lang1</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getMethod <em>Method</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnclick <em>Onclick</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOndblclick <em>Ondblclick</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnkeydown <em>Onkeydown</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnkeypress <em>Onkeypress</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnkeyup <em>Onkeyup</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnmousedown <em>Onmousedown</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnmousemove <em>Onmousemove</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnmouseout <em>Onmouseout</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnmouseover <em>Onmouseover</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnmouseup <em>Onmouseup</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnreset <em>Onreset</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getOnsubmit <em>Onsubmit</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getStyle <em>Style</em>}</li> |
| * <li>{@link org.w3._1999.xhtml.impl.FormTypeImpl#getTitle <em>Title</em>}</li> |
| * </ul> |
| * |
| * @generated |
| */ |
| public class FormTypeImpl extends FormContentImpl implements FormType { |
| /** |
| * The default value of the '{@link #getAccept() <em>Accept</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAccept() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ACCEPT_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getAccept() <em>Accept</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAccept() |
| * @generated |
| * @ordered |
| */ |
| protected String accept = ACCEPT_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getAcceptCharset() <em>Accept Charset</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAcceptCharset() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ACCEPT_CHARSET_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getAcceptCharset() <em>Accept Charset</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAcceptCharset() |
| * @generated |
| * @ordered |
| */ |
| protected String acceptCharset = ACCEPT_CHARSET_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getAction() <em>Action</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAction() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ACTION_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getAction() <em>Action</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getAction() |
| * @generated |
| * @ordered |
| */ |
| protected String action = ACTION_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getClass_() <em>Class</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getClass_() |
| * @generated |
| * @ordered |
| */ |
| protected static final List<String> CLASS_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getClass_() <em>Class</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getClass_() |
| * @generated |
| * @ordered |
| */ |
| protected List<String> class_ = CLASS_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getDir() <em>Dir</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getDir() |
| * @generated |
| * @ordered |
| */ |
| protected static final DirType DIR_EDEFAULT = DirType.LTR; |
| |
| /** |
| * The cached value of the '{@link #getDir() <em>Dir</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getDir() |
| * @generated |
| * @ordered |
| */ |
| protected DirType dir = DIR_EDEFAULT; |
| |
| /** |
| * This is true if the Dir attribute has been set. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| protected boolean dirESet; |
| |
| /** |
| * The default value of the '{@link #getEnctype() <em>Enctype</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getEnctype() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ENCTYPE_EDEFAULT = "application/x-www-form-urlencoded"; |
| |
| /** |
| * The cached value of the '{@link #getEnctype() <em>Enctype</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getEnctype() |
| * @generated |
| * @ordered |
| */ |
| protected String enctype = ENCTYPE_EDEFAULT; |
| |
| /** |
| * This is true if the Enctype attribute has been set. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| protected boolean enctypeESet; |
| |
| /** |
| * The default value of the '{@link #getId() <em>Id</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getId() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ID_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getId() <em>Id</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getId() |
| * @generated |
| * @ordered |
| */ |
| protected String id = ID_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getLang() |
| * @generated |
| * @ordered |
| */ |
| protected static final String LANG_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getLang() |
| * @generated |
| * @ordered |
| */ |
| protected String lang = LANG_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getLang1() <em>Lang1</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getLang1() |
| * @generated |
| * @ordered |
| */ |
| protected static final String LANG1_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getLang1() <em>Lang1</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getLang1() |
| * @generated |
| * @ordered |
| */ |
| protected String lang1 = LANG1_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getMethod() <em>Method</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getMethod() |
| * @generated |
| * @ordered |
| */ |
| protected static final MethodType METHOD_EDEFAULT = MethodType.GET; |
| |
| /** |
| * The cached value of the '{@link #getMethod() <em>Method</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getMethod() |
| * @generated |
| * @ordered |
| */ |
| protected MethodType method = METHOD_EDEFAULT; |
| |
| /** |
| * This is true if the Method attribute has been set. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| protected boolean methodESet; |
| |
| /** |
| * The default value of the '{@link #getOnclick() <em>Onclick</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnclick() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONCLICK_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnclick() <em>Onclick</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnclick() |
| * @generated |
| * @ordered |
| */ |
| protected String onclick = ONCLICK_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOndblclick() <em>Ondblclick</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOndblclick() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONDBLCLICK_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOndblclick() <em>Ondblclick</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOndblclick() |
| * @generated |
| * @ordered |
| */ |
| protected String ondblclick = ONDBLCLICK_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnkeydown() <em>Onkeydown</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnkeydown() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONKEYDOWN_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnkeydown() <em>Onkeydown</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnkeydown() |
| * @generated |
| * @ordered |
| */ |
| protected String onkeydown = ONKEYDOWN_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnkeypress() <em>Onkeypress</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnkeypress() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONKEYPRESS_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnkeypress() <em>Onkeypress</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnkeypress() |
| * @generated |
| * @ordered |
| */ |
| protected String onkeypress = ONKEYPRESS_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnkeyup() <em>Onkeyup</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnkeyup() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONKEYUP_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnkeyup() <em>Onkeyup</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnkeyup() |
| * @generated |
| * @ordered |
| */ |
| protected String onkeyup = ONKEYUP_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnmousedown() <em>Onmousedown</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmousedown() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONMOUSEDOWN_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnmousedown() <em>Onmousedown</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmousedown() |
| * @generated |
| * @ordered |
| */ |
| protected String onmousedown = ONMOUSEDOWN_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnmousemove() <em>Onmousemove</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmousemove() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONMOUSEMOVE_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnmousemove() <em>Onmousemove</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmousemove() |
| * @generated |
| * @ordered |
| */ |
| protected String onmousemove = ONMOUSEMOVE_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnmouseout() <em>Onmouseout</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmouseout() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONMOUSEOUT_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnmouseout() <em>Onmouseout</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmouseout() |
| * @generated |
| * @ordered |
| */ |
| protected String onmouseout = ONMOUSEOUT_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnmouseover() <em>Onmouseover</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmouseover() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONMOUSEOVER_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnmouseover() <em>Onmouseover</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmouseover() |
| * @generated |
| * @ordered |
| */ |
| protected String onmouseover = ONMOUSEOVER_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnmouseup() <em>Onmouseup</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmouseup() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONMOUSEUP_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnmouseup() <em>Onmouseup</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnmouseup() |
| * @generated |
| * @ordered |
| */ |
| protected String onmouseup = ONMOUSEUP_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnreset() <em>Onreset</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnreset() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONRESET_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnreset() <em>Onreset</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnreset() |
| * @generated |
| * @ordered |
| */ |
| protected String onreset = ONRESET_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getOnsubmit() <em>Onsubmit</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnsubmit() |
| * @generated |
| * @ordered |
| */ |
| protected static final String ONSUBMIT_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getOnsubmit() <em>Onsubmit</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getOnsubmit() |
| * @generated |
| * @ordered |
| */ |
| protected String onsubmit = ONSUBMIT_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getStyle() <em>Style</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getStyle() |
| * @generated |
| * @ordered |
| */ |
| protected static final String STYLE_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getStyle() <em>Style</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getStyle() |
| * @generated |
| * @ordered |
| */ |
| protected String style = STYLE_EDEFAULT; |
| |
| /** |
| * The default value of the '{@link #getTitle() <em>Title</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getTitle() |
| * @generated |
| * @ordered |
| */ |
| protected static final String TITLE_EDEFAULT = null; |
| |
| /** |
| * The cached value of the '{@link #getTitle() <em>Title</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see #getTitle() |
| * @generated |
| * @ordered |
| */ |
| protected String title = TITLE_EDEFAULT; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected FormTypeImpl() { |
| super(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected EClass eStaticClass() { |
| return XhtmlPackage.eINSTANCE.getFormType(); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getAccept() { |
| return accept; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setAccept(String newAccept) { |
| String oldAccept = accept; |
| accept = newAccept; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ACCEPT, oldAccept, accept)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getAcceptCharset() { |
| return acceptCharset; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setAcceptCharset(String newAcceptCharset) { |
| String oldAcceptCharset = acceptCharset; |
| acceptCharset = newAcceptCharset; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ACCEPT_CHARSET, oldAcceptCharset, acceptCharset)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getAction() { |
| return action; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setAction(String newAction) { |
| String oldAction = action; |
| action = newAction; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ACTION, oldAction, action)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public List<String> getClass_() { |
| return class_; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setClass(List<String> newClass) { |
| List<String> oldClass = class_; |
| class_ = newClass; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__CLASS, oldClass, class_)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public DirType getDir() { |
| return dir; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setDir(DirType newDir) { |
| DirType oldDir = dir; |
| dir = newDir == null ? DIR_EDEFAULT : newDir; |
| boolean oldDirESet = dirESet; |
| dirESet = true; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__DIR, oldDir, dir, !oldDirESet)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void unsetDir() { |
| DirType oldDir = dir; |
| boolean oldDirESet = dirESet; |
| dir = DIR_EDEFAULT; |
| dirESet = false; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.UNSET, XhtmlPackage.FORM_TYPE__DIR, oldDir, DIR_EDEFAULT, oldDirESet)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public boolean isSetDir() { |
| return dirESet; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getEnctype() { |
| return enctype; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setEnctype(String newEnctype) { |
| String oldEnctype = enctype; |
| enctype = newEnctype; |
| boolean oldEnctypeESet = enctypeESet; |
| enctypeESet = true; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ENCTYPE, oldEnctype, enctype, !oldEnctypeESet)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void unsetEnctype() { |
| String oldEnctype = enctype; |
| boolean oldEnctypeESet = enctypeESet; |
| enctype = ENCTYPE_EDEFAULT; |
| enctypeESet = false; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.UNSET, XhtmlPackage.FORM_TYPE__ENCTYPE, oldEnctype, ENCTYPE_EDEFAULT, oldEnctypeESet)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public boolean isSetEnctype() { |
| return enctypeESet; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getId() { |
| return id; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setId(String newId) { |
| String oldId = id; |
| id = newId; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ID, oldId, id)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getLang() { |
| return lang; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setLang(String newLang) { |
| String oldLang = lang; |
| lang = newLang; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__LANG, oldLang, lang)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getLang1() { |
| return lang1; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setLang1(String newLang1) { |
| String oldLang1 = lang1; |
| lang1 = newLang1; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__LANG1, oldLang1, lang1)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public MethodType getMethod() { |
| return method; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setMethod(MethodType newMethod) { |
| MethodType oldMethod = method; |
| method = newMethod == null ? METHOD_EDEFAULT : newMethod; |
| boolean oldMethodESet = methodESet; |
| methodESet = true; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__METHOD, oldMethod, method, !oldMethodESet)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void unsetMethod() { |
| MethodType oldMethod = method; |
| boolean oldMethodESet = methodESet; |
| method = METHOD_EDEFAULT; |
| methodESet = false; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.UNSET, XhtmlPackage.FORM_TYPE__METHOD, oldMethod, METHOD_EDEFAULT, oldMethodESet)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public boolean isSetMethod() { |
| return methodESet; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnclick() { |
| return onclick; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnclick(String newOnclick) { |
| String oldOnclick = onclick; |
| onclick = newOnclick; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONCLICK, oldOnclick, onclick)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOndblclick() { |
| return ondblclick; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOndblclick(String newOndblclick) { |
| String oldOndblclick = ondblclick; |
| ondblclick = newOndblclick; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONDBLCLICK, oldOndblclick, ondblclick)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnkeydown() { |
| return onkeydown; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnkeydown(String newOnkeydown) { |
| String oldOnkeydown = onkeydown; |
| onkeydown = newOnkeydown; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONKEYDOWN, oldOnkeydown, onkeydown)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnkeypress() { |
| return onkeypress; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnkeypress(String newOnkeypress) { |
| String oldOnkeypress = onkeypress; |
| onkeypress = newOnkeypress; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONKEYPRESS, oldOnkeypress, onkeypress)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnkeyup() { |
| return onkeyup; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnkeyup(String newOnkeyup) { |
| String oldOnkeyup = onkeyup; |
| onkeyup = newOnkeyup; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONKEYUP, oldOnkeyup, onkeyup)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnmousedown() { |
| return onmousedown; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnmousedown(String newOnmousedown) { |
| String oldOnmousedown = onmousedown; |
| onmousedown = newOnmousedown; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONMOUSEDOWN, oldOnmousedown, onmousedown)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnmousemove() { |
| return onmousemove; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnmousemove(String newOnmousemove) { |
| String oldOnmousemove = onmousemove; |
| onmousemove = newOnmousemove; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONMOUSEMOVE, oldOnmousemove, onmousemove)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnmouseout() { |
| return onmouseout; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnmouseout(String newOnmouseout) { |
| String oldOnmouseout = onmouseout; |
| onmouseout = newOnmouseout; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONMOUSEOUT, oldOnmouseout, onmouseout)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnmouseover() { |
| return onmouseover; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnmouseover(String newOnmouseover) { |
| String oldOnmouseover = onmouseover; |
| onmouseover = newOnmouseover; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONMOUSEOVER, oldOnmouseover, onmouseover)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnmouseup() { |
| return onmouseup; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnmouseup(String newOnmouseup) { |
| String oldOnmouseup = onmouseup; |
| onmouseup = newOnmouseup; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONMOUSEUP, oldOnmouseup, onmouseup)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnreset() { |
| return onreset; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnreset(String newOnreset) { |
| String oldOnreset = onreset; |
| onreset = newOnreset; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONRESET, oldOnreset, onreset)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getOnsubmit() { |
| return onsubmit; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setOnsubmit(String newOnsubmit) { |
| String oldOnsubmit = onsubmit; |
| onsubmit = newOnsubmit; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__ONSUBMIT, oldOnsubmit, onsubmit)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getStyle() { |
| return style; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setStyle(String newStyle) { |
| String oldStyle = style; |
| style = newStyle; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__STYLE, oldStyle, style)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public String getTitle() { |
| return title; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public void setTitle(String newTitle) { |
| String oldTitle = title; |
| title = newTitle; |
| if (eNotificationRequired()) |
| eNotify(new ENotificationImpl(this, Notification.SET, XhtmlPackage.FORM_TYPE__TITLE, oldTitle, title)); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public Object eGet(int featureID, boolean resolve, boolean coreType) { |
| switch (featureID) { |
| case XhtmlPackage.FORM_TYPE__ACCEPT: |
| return getAccept(); |
| case XhtmlPackage.FORM_TYPE__ACCEPT_CHARSET: |
| return getAcceptCharset(); |
| case XhtmlPackage.FORM_TYPE__ACTION: |
| return getAction(); |
| case XhtmlPackage.FORM_TYPE__CLASS: |
| return getClass_(); |
| case XhtmlPackage.FORM_TYPE__DIR: |
| return getDir(); |
| case XhtmlPackage.FORM_TYPE__ENCTYPE: |
| return getEnctype(); |
| case XhtmlPackage.FORM_TYPE__ID: |
| return getId(); |
| case XhtmlPackage.FORM_TYPE__LANG: |
| return getLang(); |
| case XhtmlPackage.FORM_TYPE__LANG1: |
| return getLang1(); |
| case XhtmlPackage.FORM_TYPE__METHOD: |
| return getMethod(); |
| case XhtmlPackage.FORM_TYPE__ONCLICK: |
| return getOnclick(); |
| case XhtmlPackage.FORM_TYPE__ONDBLCLICK: |
| return getOndblclick(); |
| case XhtmlPackage.FORM_TYPE__ONKEYDOWN: |
| return getOnkeydown(); |
| case XhtmlPackage.FORM_TYPE__ONKEYPRESS: |
| return getOnkeypress(); |
| case XhtmlPackage.FORM_TYPE__ONKEYUP: |
| return getOnkeyup(); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEDOWN: |
| return getOnmousedown(); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEMOVE: |
| return getOnmousemove(); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOUT: |
| return getOnmouseout(); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOVER: |
| return getOnmouseover(); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEUP: |
| return getOnmouseup(); |
| case XhtmlPackage.FORM_TYPE__ONRESET: |
| return getOnreset(); |
| case XhtmlPackage.FORM_TYPE__ONSUBMIT: |
| return getOnsubmit(); |
| case XhtmlPackage.FORM_TYPE__STYLE: |
| return getStyle(); |
| case XhtmlPackage.FORM_TYPE__TITLE: |
| return getTitle(); |
| } |
| return super.eGet(featureID, resolve, coreType); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @SuppressWarnings("unchecked") |
| @Override |
| public void eSet(int featureID, Object newValue) { |
| switch (featureID) { |
| case XhtmlPackage.FORM_TYPE__ACCEPT: |
| setAccept((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ACCEPT_CHARSET: |
| setAcceptCharset((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ACTION: |
| setAction((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__CLASS: |
| setClass((List<String>)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__DIR: |
| setDir((DirType)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ENCTYPE: |
| setEnctype((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ID: |
| setId((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__LANG: |
| setLang((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__LANG1: |
| setLang1((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__METHOD: |
| setMethod((MethodType)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONCLICK: |
| setOnclick((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONDBLCLICK: |
| setOndblclick((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONKEYDOWN: |
| setOnkeydown((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONKEYPRESS: |
| setOnkeypress((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONKEYUP: |
| setOnkeyup((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEDOWN: |
| setOnmousedown((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEMOVE: |
| setOnmousemove((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOUT: |
| setOnmouseout((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOVER: |
| setOnmouseover((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEUP: |
| setOnmouseup((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONRESET: |
| setOnreset((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONSUBMIT: |
| setOnsubmit((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__STYLE: |
| setStyle((String)newValue); |
| return; |
| case XhtmlPackage.FORM_TYPE__TITLE: |
| setTitle((String)newValue); |
| return; |
| } |
| super.eSet(featureID, newValue); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public void eUnset(int featureID) { |
| switch (featureID) { |
| case XhtmlPackage.FORM_TYPE__ACCEPT: |
| setAccept(ACCEPT_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ACCEPT_CHARSET: |
| setAcceptCharset(ACCEPT_CHARSET_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ACTION: |
| setAction(ACTION_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__CLASS: |
| setClass(CLASS_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__DIR: |
| unsetDir(); |
| return; |
| case XhtmlPackage.FORM_TYPE__ENCTYPE: |
| unsetEnctype(); |
| return; |
| case XhtmlPackage.FORM_TYPE__ID: |
| setId(ID_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__LANG: |
| setLang(LANG_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__LANG1: |
| setLang1(LANG1_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__METHOD: |
| unsetMethod(); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONCLICK: |
| setOnclick(ONCLICK_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONDBLCLICK: |
| setOndblclick(ONDBLCLICK_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONKEYDOWN: |
| setOnkeydown(ONKEYDOWN_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONKEYPRESS: |
| setOnkeypress(ONKEYPRESS_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONKEYUP: |
| setOnkeyup(ONKEYUP_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEDOWN: |
| setOnmousedown(ONMOUSEDOWN_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEMOVE: |
| setOnmousemove(ONMOUSEMOVE_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOUT: |
| setOnmouseout(ONMOUSEOUT_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOVER: |
| setOnmouseover(ONMOUSEOVER_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONMOUSEUP: |
| setOnmouseup(ONMOUSEUP_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONRESET: |
| setOnreset(ONRESET_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__ONSUBMIT: |
| setOnsubmit(ONSUBMIT_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__STYLE: |
| setStyle(STYLE_EDEFAULT); |
| return; |
| case XhtmlPackage.FORM_TYPE__TITLE: |
| setTitle(TITLE_EDEFAULT); |
| return; |
| } |
| super.eUnset(featureID); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public boolean eIsSet(int featureID) { |
| switch (featureID) { |
| case XhtmlPackage.FORM_TYPE__ACCEPT: |
| return ACCEPT_EDEFAULT == null ? accept != null : !ACCEPT_EDEFAULT.equals(accept); |
| case XhtmlPackage.FORM_TYPE__ACCEPT_CHARSET: |
| return ACCEPT_CHARSET_EDEFAULT == null ? acceptCharset != null : !ACCEPT_CHARSET_EDEFAULT.equals(acceptCharset); |
| case XhtmlPackage.FORM_TYPE__ACTION: |
| return ACTION_EDEFAULT == null ? action != null : !ACTION_EDEFAULT.equals(action); |
| case XhtmlPackage.FORM_TYPE__CLASS: |
| return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_); |
| case XhtmlPackage.FORM_TYPE__DIR: |
| return isSetDir(); |
| case XhtmlPackage.FORM_TYPE__ENCTYPE: |
| return isSetEnctype(); |
| case XhtmlPackage.FORM_TYPE__ID: |
| return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); |
| case XhtmlPackage.FORM_TYPE__LANG: |
| return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); |
| case XhtmlPackage.FORM_TYPE__LANG1: |
| return LANG1_EDEFAULT == null ? lang1 != null : !LANG1_EDEFAULT.equals(lang1); |
| case XhtmlPackage.FORM_TYPE__METHOD: |
| return isSetMethod(); |
| case XhtmlPackage.FORM_TYPE__ONCLICK: |
| return ONCLICK_EDEFAULT == null ? onclick != null : !ONCLICK_EDEFAULT.equals(onclick); |
| case XhtmlPackage.FORM_TYPE__ONDBLCLICK: |
| return ONDBLCLICK_EDEFAULT == null ? ondblclick != null : !ONDBLCLICK_EDEFAULT.equals(ondblclick); |
| case XhtmlPackage.FORM_TYPE__ONKEYDOWN: |
| return ONKEYDOWN_EDEFAULT == null ? onkeydown != null : !ONKEYDOWN_EDEFAULT.equals(onkeydown); |
| case XhtmlPackage.FORM_TYPE__ONKEYPRESS: |
| return ONKEYPRESS_EDEFAULT == null ? onkeypress != null : !ONKEYPRESS_EDEFAULT.equals(onkeypress); |
| case XhtmlPackage.FORM_TYPE__ONKEYUP: |
| return ONKEYUP_EDEFAULT == null ? onkeyup != null : !ONKEYUP_EDEFAULT.equals(onkeyup); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEDOWN: |
| return ONMOUSEDOWN_EDEFAULT == null ? onmousedown != null : !ONMOUSEDOWN_EDEFAULT.equals(onmousedown); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEMOVE: |
| return ONMOUSEMOVE_EDEFAULT == null ? onmousemove != null : !ONMOUSEMOVE_EDEFAULT.equals(onmousemove); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOUT: |
| return ONMOUSEOUT_EDEFAULT == null ? onmouseout != null : !ONMOUSEOUT_EDEFAULT.equals(onmouseout); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEOVER: |
| return ONMOUSEOVER_EDEFAULT == null ? onmouseover != null : !ONMOUSEOVER_EDEFAULT.equals(onmouseover); |
| case XhtmlPackage.FORM_TYPE__ONMOUSEUP: |
| return ONMOUSEUP_EDEFAULT == null ? onmouseup != null : !ONMOUSEUP_EDEFAULT.equals(onmouseup); |
| case XhtmlPackage.FORM_TYPE__ONRESET: |
| return ONRESET_EDEFAULT == null ? onreset != null : !ONRESET_EDEFAULT.equals(onreset); |
| case XhtmlPackage.FORM_TYPE__ONSUBMIT: |
| return ONSUBMIT_EDEFAULT == null ? onsubmit != null : !ONSUBMIT_EDEFAULT.equals(onsubmit); |
| case XhtmlPackage.FORM_TYPE__STYLE: |
| return STYLE_EDEFAULT == null ? style != null : !STYLE_EDEFAULT.equals(style); |
| case XhtmlPackage.FORM_TYPE__TITLE: |
| return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title); |
| } |
| return super.eIsSet(featureID); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| public String toString() { |
| if (eIsProxy()) return super.toString(); |
| |
| StringBuffer result = new StringBuffer(super.toString()); |
| result.append(" (accept: "); |
| result.append(accept); |
| result.append(", acceptCharset: "); |
| result.append(acceptCharset); |
| result.append(", action: "); |
| result.append(action); |
| result.append(", class: "); |
| result.append(class_); |
| result.append(", dir: "); |
| if (dirESet) result.append(dir); else result.append("<unset>"); |
| result.append(", enctype: "); |
| if (enctypeESet) result.append(enctype); else result.append("<unset>"); |
| result.append(", id: "); |
| result.append(id); |
| result.append(", lang: "); |
| result.append(lang); |
| result.append(", lang1: "); |
| result.append(lang1); |
| result.append(", method: "); |
| if (methodESet) result.append(method); else result.append("<unset>"); |
| result.append(", onclick: "); |
| result.append(onclick); |
| result.append(", ondblclick: "); |
| result.append(ondblclick); |
| result.append(", onkeydown: "); |
| result.append(onkeydown); |
| result.append(", onkeypress: "); |
| result.append(onkeypress); |
| result.append(", onkeyup: "); |
| result.append(onkeyup); |
| result.append(", onmousedown: "); |
| result.append(onmousedown); |
| result.append(", onmousemove: "); |
| result.append(onmousemove); |
| result.append(", onmouseout: "); |
| result.append(onmouseout); |
| result.append(", onmouseover: "); |
| result.append(onmouseover); |
| result.append(", onmouseup: "); |
| result.append(onmouseup); |
| result.append(", onreset: "); |
| result.append(onreset); |
| result.append(", onsubmit: "); |
| result.append(onsubmit); |
| result.append(", style: "); |
| result.append(style); |
| result.append(", title: "); |
| result.append(title); |
| result.append(')'); |
| return result.toString(); |
| } |
| |
| } //FormTypeImpl |