All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.w3._1999.xhtml.A Maven / Gradle / Ivy

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.18.0
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.06.14 at 01:52:11 PM MDT 
//


package org.w3._1999.xhtml;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <extension base="{http://www.w3.org/1999/xhtml}a.content">
 *       <attGroup ref="{http://www.w3.org/1999/xhtml}focus"/>
 *       <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
 *       <attribute name="charset" type="{http://www.w3.org/1999/xhtml}Charset" />
 *       <attribute name="type" type="{http://www.w3.org/1999/xhtml}ContentType" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *       <attribute name="href" type="{http://www.w3.org/1999/xhtml}URI" />
 *       <attribute name="hreflang" type="{http://www.w3.org/1999/xhtml}LanguageCode" />
 *       <attribute name="rel" type="{http://www.w3.org/1999/xhtml}LinkTypes" />
 *       <attribute name="rev" type="{http://www.w3.org/1999/xhtml}LinkTypes" />
 *       <attribute name="shape" type="{http://www.w3.org/1999/xhtml}Shape" default="rect" />
 *       <attribute name="coords" type="{http://www.w3.org/1999/xhtml}Coords" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "a") public class A extends AContent implements Equals2, HashCode2, ToString2 { @XmlAttribute(name = "charset") protected String charset; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "name") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String name; @XmlAttribute(name = "href") protected String href; @XmlAttribute(name = "hreflang") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String hreflang; @XmlAttribute(name = "rel") protected List rel; @XmlAttribute(name = "rev") protected List rev; @XmlAttribute(name = "shape") protected Shape shape; @XmlAttribute(name = "coords") protected String coords; @XmlAttribute(name = "accesskey") protected String accesskey; @XmlAttribute(name = "tabindex") protected Integer tabindex; @XmlAttribute(name = "onfocus") protected String onfocus; @XmlAttribute(name = "onblur") protected String onblur; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "class") @XmlSchemaType(name = "NMTOKENS") protected List clazz; @XmlAttribute(name = "style") protected String style; @XmlAttribute(name = "title") protected String title; @XmlAttribute(name = "lang") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String langAttribute; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace") protected String lang; @XmlAttribute(name = "dir") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String dir; @XmlAttribute(name = "onclick") protected String onclick; @XmlAttribute(name = "ondblclick") protected String ondblclick; @XmlAttribute(name = "onmousedown") protected String onmousedown; @XmlAttribute(name = "onmouseup") protected String onmouseup; @XmlAttribute(name = "onmouseover") protected String onmouseover; @XmlAttribute(name = "onmousemove") protected String onmousemove; @XmlAttribute(name = "onmouseout") protected String onmouseout; @XmlAttribute(name = "onkeypress") protected String onkeypress; @XmlAttribute(name = "onkeydown") protected String onkeydown; @XmlAttribute(name = "onkeyup") protected String onkeyup; /** * Gets the value of the charset property. * * @return * possible object is * {@link String } * */ public String getCharset() { return charset; } /** * Sets the value of the charset property. * * @param value * allowed object is * {@link String } * */ public void setCharset(String value) { this.charset = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } /** * Gets the value of the hreflang property. * * @return * possible object is * {@link String } * */ public String getHreflang() { return hreflang; } /** * Sets the value of the hreflang property. * * @param value * allowed object is * {@link String } * */ public void setHreflang(String value) { this.hreflang = value; } /** * Gets the value of the rel property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the rel property. * *

* For example, to add a new item, do as follows: *

     *    getRel().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getRel() { if (rel == null) { rel = new ArrayList(); } return this.rel; } /** * Gets the value of the rev property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the rev property. * *

* For example, to add a new item, do as follows: *

     *    getRev().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getRev() { if (rev == null) { rev = new ArrayList(); } return this.rev; } /** * Gets the value of the shape property. * * @return * possible object is * {@link Shape } * */ public Shape getShape() { if (shape == null) { return Shape.RECT; } else { return shape; } } /** * Sets the value of the shape property. * * @param value * allowed object is * {@link Shape } * */ public void setShape(Shape value) { this.shape = value; } /** * Gets the value of the coords property. * * @return * possible object is * {@link String } * */ public String getCoords() { return coords; } /** * Sets the value of the coords property. * * @param value * allowed object is * {@link String } * */ public void setCoords(String value) { this.coords = value; } /** * Gets the value of the accesskey property. * * @return * possible object is * {@link String } * */ public String getAccesskey() { return accesskey; } /** * Sets the value of the accesskey property. * * @param value * allowed object is * {@link String } * */ public void setAccesskey(String value) { this.accesskey = value; } /** * Gets the value of the tabindex property. * * @return * possible object is * {@link Integer } * */ public Integer getTabindex() { return tabindex; } /** * Sets the value of the tabindex property. * * @param value * allowed object is * {@link Integer } * */ public void setTabindex(Integer value) { this.tabindex = value; } /** * Gets the value of the onfocus property. * * @return * possible object is * {@link String } * */ public String getOnfocus() { return onfocus; } /** * Sets the value of the onfocus property. * * @param value * allowed object is * {@link String } * */ public void setOnfocus(String value) { this.onfocus = value; } /** * Gets the value of the onblur property. * * @return * possible object is * {@link String } * */ public String getOnblur() { return onblur; } /** * Sets the value of the onblur property. * * @param value * allowed object is * {@link String } * */ public void setOnblur(String value) { this.onblur = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the clazz property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the clazz property. * *

* For example, to add a new item, do as follows: *

     *    getClazz().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getClazz() { if (clazz == null) { clazz = new ArrayList(); } return this.clazz; } /** * Gets the value of the style property. * * @return * possible object is * {@link String } * */ public String getStyle() { return style; } /** * Sets the value of the style property. * * @param value * allowed object is * {@link String } * */ public void setStyle(String value) { this.style = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the langAttribute property. * * @return * possible object is * {@link String } * */ public String getLangAttribute() { return langAttribute; } /** * Sets the value of the langAttribute property. * * @param value * allowed object is * {@link String } * */ public void setLangAttribute(String value) { this.langAttribute = value; } /** * Gets the value of the lang property. * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } /** * Gets the value of the dir property. * * @return * possible object is * {@link String } * */ public String getDir() { return dir; } /** * Sets the value of the dir property. * * @param value * allowed object is * {@link String } * */ public void setDir(String value) { this.dir = value; } /** * Gets the value of the onclick property. * * @return * possible object is * {@link String } * */ public String getOnclick() { return onclick; } /** * Sets the value of the onclick property. * * @param value * allowed object is * {@link String } * */ public void setOnclick(String value) { this.onclick = value; } /** * Gets the value of the ondblclick property. * * @return * possible object is * {@link String } * */ public String getOndblclick() { return ondblclick; } /** * Sets the value of the ondblclick property. * * @param value * allowed object is * {@link String } * */ public void setOndblclick(String value) { this.ondblclick = value; } /** * Gets the value of the onmousedown property. * * @return * possible object is * {@link String } * */ public String getOnmousedown() { return onmousedown; } /** * Sets the value of the onmousedown property. * * @param value * allowed object is * {@link String } * */ public void setOnmousedown(String value) { this.onmousedown = value; } /** * Gets the value of the onmouseup property. * * @return * possible object is * {@link String } * */ public String getOnmouseup() { return onmouseup; } /** * Sets the value of the onmouseup property. * * @param value * allowed object is * {@link String } * */ public void setOnmouseup(String value) { this.onmouseup = value; } /** * Gets the value of the onmouseover property. * * @return * possible object is * {@link String } * */ public String getOnmouseover() { return onmouseover; } /** * Sets the value of the onmouseover property. * * @param value * allowed object is * {@link String } * */ public void setOnmouseover(String value) { this.onmouseover = value; } /** * Gets the value of the onmousemove property. * * @return * possible object is * {@link String } * */ public String getOnmousemove() { return onmousemove; } /** * Sets the value of the onmousemove property. * * @param value * allowed object is * {@link String } * */ public void setOnmousemove(String value) { this.onmousemove = value; } /** * Gets the value of the onmouseout property. * * @return * possible object is * {@link String } * */ public String getOnmouseout() { return onmouseout; } /** * Sets the value of the onmouseout property. * * @param value * allowed object is * {@link String } * */ public void setOnmouseout(String value) { this.onmouseout = value; } /** * Gets the value of the onkeypress property. * * @return * possible object is * {@link String } * */ public String getOnkeypress() { return onkeypress; } /** * Sets the value of the onkeypress property. * * @param value * allowed object is * {@link String } * */ public void setOnkeypress(String value) { this.onkeypress = value; } /** * Gets the value of the onkeydown property. * * @return * possible object is * {@link String } * */ public String getOnkeydown() { return onkeydown; } /** * Sets the value of the onkeydown property. * * @param value * allowed object is * {@link String } * */ public void setOnkeydown(String value) { this.onkeydown = value; } /** * Gets the value of the onkeyup property. * * @return * possible object is * {@link String } * */ public String getOnkeyup() { return onkeyup; } /** * Sets the value of the onkeyup property. * * @param value * allowed object is * {@link String } * */ public void setOnkeyup(String value) { this.onkeyup = value; } public A withCharset(String value) { setCharset(value); return this; } public A withType(String value) { setType(value); return this; } public A withName(String value) { setName(value); return this; } public A withHref(String value) { setHref(value); return this; } public A withHreflang(String value) { setHreflang(value); return this; } public A withRel(String... values) { if (values!= null) { for (String value: values) { getRel().add(value); } } return this; } public A withRel(Collection values) { if (values!= null) { getRel().addAll(values); } return this; } public A withRev(String... values) { if (values!= null) { for (String value: values) { getRev().add(value); } } return this; } public A withRev(Collection values) { if (values!= null) { getRev().addAll(values); } return this; } public A withShape(Shape value) { setShape(value); return this; } public A withCoords(String value) { setCoords(value); return this; } public A withAccesskey(String value) { setAccesskey(value); return this; } public A withTabindex(Integer value) { setTabindex(value); return this; } public A withOnfocus(String value) { setOnfocus(value); return this; } public A withOnblur(String value) { setOnblur(value); return this; } public A withId(String value) { setId(value); return this; } public A withClazz(String... values) { if (values!= null) { for (String value: values) { getClazz().add(value); } } return this; } public A withClazz(Collection values) { if (values!= null) { getClazz().addAll(values); } return this; } public A withStyle(String value) { setStyle(value); return this; } public A withTitle(String value) { setTitle(value); return this; } public A withLangAttribute(String value) { setLangAttribute(value); return this; } public A withLang(String value) { setLang(value); return this; } public A withDir(String value) { setDir(value); return this; } public A withOnclick(String value) { setOnclick(value); return this; } public A withOndblclick(String value) { setOndblclick(value); return this; } public A withOnmousedown(String value) { setOnmousedown(value); return this; } public A withOnmouseup(String value) { setOnmouseup(value); return this; } public A withOnmouseover(String value) { setOnmouseover(value); return this; } public A withOnmousemove(String value) { setOnmousemove(value); return this; } public A withOnmouseout(String value) { setOnmouseout(value); return this; } public A withOnkeypress(String value) { setOnkeypress(value); return this; } public A withOnkeydown(String value) { setOnkeydown(value); return this; } public A withOnkeyup(String value) { setOnkeyup(value); return this; } @Override public A withContent(java.lang.Object... values) { if (values!= null) { for (java.lang.Object value: values) { getContent().add(value); } } return this; } @Override public A withContent(Collection values) { if (values!= null) { getContent().addAll(values); } return this; } @Override public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, java.lang.Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } if (!super.equals(thisLocator, thatLocator, object, strategy)) { return false; } final A that = ((A) object); { String lhsCharset; lhsCharset = this.getCharset(); String rhsCharset; rhsCharset = that.getCharset(); if (!strategy.equals(LocatorUtils.property(thisLocator, "charset", lhsCharset), LocatorUtils.property(thatLocator, "charset", rhsCharset), lhsCharset, rhsCharset, (this.charset!= null), (that.charset!= null))) { return false; } } { String lhsType; lhsType = this.getType(); String rhsType; rhsType = that.getType(); if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType, (this.type!= null), (that.type!= null))) { return false; } } { String lhsName; lhsName = this.getName(); String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName, (this.name!= null), (that.name!= null))) { return false; } } { String lhsHref; lhsHref = this.getHref(); String rhsHref; rhsHref = that.getHref(); if (!strategy.equals(LocatorUtils.property(thisLocator, "href", lhsHref), LocatorUtils.property(thatLocator, "href", rhsHref), lhsHref, rhsHref, (this.href!= null), (that.href!= null))) { return false; } } { String lhsHreflang; lhsHreflang = this.getHreflang(); String rhsHreflang; rhsHreflang = that.getHreflang(); if (!strategy.equals(LocatorUtils.property(thisLocator, "hreflang", lhsHreflang), LocatorUtils.property(thatLocator, "hreflang", rhsHreflang), lhsHreflang, rhsHreflang, (this.hreflang!= null), (that.hreflang!= null))) { return false; } } { List lhsRel; lhsRel = (((this.rel!= null)&&(!this.rel.isEmpty()))?this.getRel():null); List rhsRel; rhsRel = (((that.rel!= null)&&(!that.rel.isEmpty()))?that.getRel():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "rel", lhsRel), LocatorUtils.property(thatLocator, "rel", rhsRel), lhsRel, rhsRel, ((this.rel!= null)&&(!this.rel.isEmpty())), ((that.rel!= null)&&(!that.rel.isEmpty())))) { return false; } } { List lhsRev; lhsRev = (((this.rev!= null)&&(!this.rev.isEmpty()))?this.getRev():null); List rhsRev; rhsRev = (((that.rev!= null)&&(!that.rev.isEmpty()))?that.getRev():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "rev", lhsRev), LocatorUtils.property(thatLocator, "rev", rhsRev), lhsRev, rhsRev, ((this.rev!= null)&&(!this.rev.isEmpty())), ((that.rev!= null)&&(!that.rev.isEmpty())))) { return false; } } { Shape lhsShape; lhsShape = this.getShape(); Shape rhsShape; rhsShape = that.getShape(); if (!strategy.equals(LocatorUtils.property(thisLocator, "shape", lhsShape), LocatorUtils.property(thatLocator, "shape", rhsShape), lhsShape, rhsShape, (this.shape!= null), (that.shape!= null))) { return false; } } { String lhsCoords; lhsCoords = this.getCoords(); String rhsCoords; rhsCoords = that.getCoords(); if (!strategy.equals(LocatorUtils.property(thisLocator, "coords", lhsCoords), LocatorUtils.property(thatLocator, "coords", rhsCoords), lhsCoords, rhsCoords, (this.coords!= null), (that.coords!= null))) { return false; } } { String lhsAccesskey; lhsAccesskey = this.getAccesskey(); String rhsAccesskey; rhsAccesskey = that.getAccesskey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "accesskey", lhsAccesskey), LocatorUtils.property(thatLocator, "accesskey", rhsAccesskey), lhsAccesskey, rhsAccesskey, (this.accesskey!= null), (that.accesskey!= null))) { return false; } } { Integer lhsTabindex; lhsTabindex = this.getTabindex(); Integer rhsTabindex; rhsTabindex = that.getTabindex(); if (!strategy.equals(LocatorUtils.property(thisLocator, "tabindex", lhsTabindex), LocatorUtils.property(thatLocator, "tabindex", rhsTabindex), lhsTabindex, rhsTabindex, (this.tabindex!= null), (that.tabindex!= null))) { return false; } } { String lhsOnfocus; lhsOnfocus = this.getOnfocus(); String rhsOnfocus; rhsOnfocus = that.getOnfocus(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onfocus", lhsOnfocus), LocatorUtils.property(thatLocator, "onfocus", rhsOnfocus), lhsOnfocus, rhsOnfocus, (this.onfocus!= null), (that.onfocus!= null))) { return false; } } { String lhsOnblur; lhsOnblur = this.getOnblur(); String rhsOnblur; rhsOnblur = that.getOnblur(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onblur", lhsOnblur), LocatorUtils.property(thatLocator, "onblur", rhsOnblur), lhsOnblur, rhsOnblur, (this.onblur!= null), (that.onblur!= null))) { return false; } } { String lhsId; lhsId = this.getId(); String rhsId; rhsId = that.getId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId, (this.id!= null), (that.id!= null))) { return false; } } { List lhsClazz; lhsClazz = (((this.clazz!= null)&&(!this.clazz.isEmpty()))?this.getClazz():null); List rhsClazz; rhsClazz = (((that.clazz!= null)&&(!that.clazz.isEmpty()))?that.getClazz():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "clazz", lhsClazz), LocatorUtils.property(thatLocator, "clazz", rhsClazz), lhsClazz, rhsClazz, ((this.clazz!= null)&&(!this.clazz.isEmpty())), ((that.clazz!= null)&&(!that.clazz.isEmpty())))) { return false; } } { String lhsStyle; lhsStyle = this.getStyle(); String rhsStyle; rhsStyle = that.getStyle(); if (!strategy.equals(LocatorUtils.property(thisLocator, "style", lhsStyle), LocatorUtils.property(thatLocator, "style", rhsStyle), lhsStyle, rhsStyle, (this.style!= null), (that.style!= null))) { return false; } } { String lhsTitle; lhsTitle = this.getTitle(); String rhsTitle; rhsTitle = that.getTitle(); if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle, (this.title!= null), (that.title!= null))) { return false; } } { String lhsLangAttribute; lhsLangAttribute = this.getLangAttribute(); String rhsLangAttribute; rhsLangAttribute = that.getLangAttribute(); if (!strategy.equals(LocatorUtils.property(thisLocator, "langAttribute", lhsLangAttribute), LocatorUtils.property(thatLocator, "langAttribute", rhsLangAttribute), lhsLangAttribute, rhsLangAttribute, (this.langAttribute!= null), (that.langAttribute!= null))) { return false; } } { String lhsLang; lhsLang = this.getLang(); String rhsLang; rhsLang = that.getLang(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lang", lhsLang), LocatorUtils.property(thatLocator, "lang", rhsLang), lhsLang, rhsLang, (this.lang!= null), (that.lang!= null))) { return false; } } { String lhsDir; lhsDir = this.getDir(); String rhsDir; rhsDir = that.getDir(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dir", lhsDir), LocatorUtils.property(thatLocator, "dir", rhsDir), lhsDir, rhsDir, (this.dir!= null), (that.dir!= null))) { return false; } } { String lhsOnclick; lhsOnclick = this.getOnclick(); String rhsOnclick; rhsOnclick = that.getOnclick(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onclick", lhsOnclick), LocatorUtils.property(thatLocator, "onclick", rhsOnclick), lhsOnclick, rhsOnclick, (this.onclick!= null), (that.onclick!= null))) { return false; } } { String lhsOndblclick; lhsOndblclick = this.getOndblclick(); String rhsOndblclick; rhsOndblclick = that.getOndblclick(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ondblclick", lhsOndblclick), LocatorUtils.property(thatLocator, "ondblclick", rhsOndblclick), lhsOndblclick, rhsOndblclick, (this.ondblclick!= null), (that.ondblclick!= null))) { return false; } } { String lhsOnmousedown; lhsOnmousedown = this.getOnmousedown(); String rhsOnmousedown; rhsOnmousedown = that.getOnmousedown(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmousedown", lhsOnmousedown), LocatorUtils.property(thatLocator, "onmousedown", rhsOnmousedown), lhsOnmousedown, rhsOnmousedown, (this.onmousedown!= null), (that.onmousedown!= null))) { return false; } } { String lhsOnmouseup; lhsOnmouseup = this.getOnmouseup(); String rhsOnmouseup; rhsOnmouseup = that.getOnmouseup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmouseup", lhsOnmouseup), LocatorUtils.property(thatLocator, "onmouseup", rhsOnmouseup), lhsOnmouseup, rhsOnmouseup, (this.onmouseup!= null), (that.onmouseup!= null))) { return false; } } { String lhsOnmouseover; lhsOnmouseover = this.getOnmouseover(); String rhsOnmouseover; rhsOnmouseover = that.getOnmouseover(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmouseover", lhsOnmouseover), LocatorUtils.property(thatLocator, "onmouseover", rhsOnmouseover), lhsOnmouseover, rhsOnmouseover, (this.onmouseover!= null), (that.onmouseover!= null))) { return false; } } { String lhsOnmousemove; lhsOnmousemove = this.getOnmousemove(); String rhsOnmousemove; rhsOnmousemove = that.getOnmousemove(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmousemove", lhsOnmousemove), LocatorUtils.property(thatLocator, "onmousemove", rhsOnmousemove), lhsOnmousemove, rhsOnmousemove, (this.onmousemove!= null), (that.onmousemove!= null))) { return false; } } { String lhsOnmouseout; lhsOnmouseout = this.getOnmouseout(); String rhsOnmouseout; rhsOnmouseout = that.getOnmouseout(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmouseout", lhsOnmouseout), LocatorUtils.property(thatLocator, "onmouseout", rhsOnmouseout), lhsOnmouseout, rhsOnmouseout, (this.onmouseout!= null), (that.onmouseout!= null))) { return false; } } { String lhsOnkeypress; lhsOnkeypress = this.getOnkeypress(); String rhsOnkeypress; rhsOnkeypress = that.getOnkeypress(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onkeypress", lhsOnkeypress), LocatorUtils.property(thatLocator, "onkeypress", rhsOnkeypress), lhsOnkeypress, rhsOnkeypress, (this.onkeypress!= null), (that.onkeypress!= null))) { return false; } } { String lhsOnkeydown; lhsOnkeydown = this.getOnkeydown(); String rhsOnkeydown; rhsOnkeydown = that.getOnkeydown(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onkeydown", lhsOnkeydown), LocatorUtils.property(thatLocator, "onkeydown", rhsOnkeydown), lhsOnkeydown, rhsOnkeydown, (this.onkeydown!= null), (that.onkeydown!= null))) { return false; } } { String lhsOnkeyup; lhsOnkeyup = this.getOnkeyup(); String rhsOnkeyup; rhsOnkeyup = that.getOnkeyup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onkeyup", lhsOnkeyup), LocatorUtils.property(thatLocator, "onkeyup", rhsOnkeyup), lhsOnkeyup, rhsOnkeyup, (this.onkeyup!= null), (that.onkeyup!= null))) { return false; } } return true; } @Override public boolean equals(java.lang.Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance(); return equals(null, null, object, strategy); } @Override public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = super.hashCode(locator, strategy); { String theCharset; theCharset = this.getCharset(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "charset", theCharset), currentHashCode, theCharset, (this.charset!= null)); } { String theType; theType = this.getType(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType, (this.type!= null)); } { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } { String theHref; theHref = this.getHref(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "href", theHref), currentHashCode, theHref, (this.href!= null)); } { String theHreflang; theHreflang = this.getHreflang(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "hreflang", theHreflang), currentHashCode, theHreflang, (this.hreflang!= null)); } { List theRel; theRel = (((this.rel!= null)&&(!this.rel.isEmpty()))?this.getRel():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rel", theRel), currentHashCode, theRel, ((this.rel!= null)&&(!this.rel.isEmpty()))); } { List theRev; theRev = (((this.rev!= null)&&(!this.rev.isEmpty()))?this.getRev():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rev", theRev), currentHashCode, theRev, ((this.rev!= null)&&(!this.rev.isEmpty()))); } { Shape theShape; theShape = this.getShape(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "shape", theShape), currentHashCode, theShape, (this.shape!= null)); } { String theCoords; theCoords = this.getCoords(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "coords", theCoords), currentHashCode, theCoords, (this.coords!= null)); } { String theAccesskey; theAccesskey = this.getAccesskey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "accesskey", theAccesskey), currentHashCode, theAccesskey, (this.accesskey!= null)); } { Integer theTabindex; theTabindex = this.getTabindex(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tabindex", theTabindex), currentHashCode, theTabindex, (this.tabindex!= null)); } { String theOnfocus; theOnfocus = this.getOnfocus(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onfocus", theOnfocus), currentHashCode, theOnfocus, (this.onfocus!= null)); } { String theOnblur; theOnblur = this.getOnblur(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onblur", theOnblur), currentHashCode, theOnblur, (this.onblur!= null)); } { String theId; theId = this.getId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId, (this.id!= null)); } { List theClazz; theClazz = (((this.clazz!= null)&&(!this.clazz.isEmpty()))?this.getClazz():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clazz", theClazz), currentHashCode, theClazz, ((this.clazz!= null)&&(!this.clazz.isEmpty()))); } { String theStyle; theStyle = this.getStyle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "style", theStyle), currentHashCode, theStyle, (this.style!= null)); } { String theTitle; theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, (this.title!= null)); } { String theLangAttribute; theLangAttribute = this.getLangAttribute(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "langAttribute", theLangAttribute), currentHashCode, theLangAttribute, (this.langAttribute!= null)); } { String theLang; theLang = this.getLang(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lang", theLang), currentHashCode, theLang, (this.lang!= null)); } { String theDir; theDir = this.getDir(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dir", theDir), currentHashCode, theDir, (this.dir!= null)); } { String theOnclick; theOnclick = this.getOnclick(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onclick", theOnclick), currentHashCode, theOnclick, (this.onclick!= null)); } { String theOndblclick; theOndblclick = this.getOndblclick(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ondblclick", theOndblclick), currentHashCode, theOndblclick, (this.ondblclick!= null)); } { String theOnmousedown; theOnmousedown = this.getOnmousedown(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmousedown", theOnmousedown), currentHashCode, theOnmousedown, (this.onmousedown!= null)); } { String theOnmouseup; theOnmouseup = this.getOnmouseup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmouseup", theOnmouseup), currentHashCode, theOnmouseup, (this.onmouseup!= null)); } { String theOnmouseover; theOnmouseover = this.getOnmouseover(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmouseover", theOnmouseover), currentHashCode, theOnmouseover, (this.onmouseover!= null)); } { String theOnmousemove; theOnmousemove = this.getOnmousemove(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmousemove", theOnmousemove), currentHashCode, theOnmousemove, (this.onmousemove!= null)); } { String theOnmouseout; theOnmouseout = this.getOnmouseout(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmouseout", theOnmouseout), currentHashCode, theOnmouseout, (this.onmouseout!= null)); } { String theOnkeypress; theOnkeypress = this.getOnkeypress(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onkeypress", theOnkeypress), currentHashCode, theOnkeypress, (this.onkeypress!= null)); } { String theOnkeydown; theOnkeydown = this.getOnkeydown(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onkeydown", theOnkeydown), currentHashCode, theOnkeydown, (this.onkeydown!= null)); } { String theOnkeyup; theOnkeyup = this.getOnkeyup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onkeyup", theOnkeyup), currentHashCode, theOnkeyup, (this.onkeyup!= null)); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } @Override public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance(); final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } @Override public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } @Override public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { super.appendFields(locator, buffer, strategy); { String theCharset; theCharset = this.getCharset(); strategy.appendField(locator, this, "charset", buffer, theCharset, (this.charset!= null)); } { String theType; theType = this.getType(); strategy.appendField(locator, this, "type", buffer, theType, (this.type!= null)); } { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } { String theHref; theHref = this.getHref(); strategy.appendField(locator, this, "href", buffer, theHref, (this.href!= null)); } { String theHreflang; theHreflang = this.getHreflang(); strategy.appendField(locator, this, "hreflang", buffer, theHreflang, (this.hreflang!= null)); } { List theRel; theRel = (((this.rel!= null)&&(!this.rel.isEmpty()))?this.getRel():null); strategy.appendField(locator, this, "rel", buffer, theRel, ((this.rel!= null)&&(!this.rel.isEmpty()))); } { List theRev; theRev = (((this.rev!= null)&&(!this.rev.isEmpty()))?this.getRev():null); strategy.appendField(locator, this, "rev", buffer, theRev, ((this.rev!= null)&&(!this.rev.isEmpty()))); } { Shape theShape; theShape = this.getShape(); strategy.appendField(locator, this, "shape", buffer, theShape, (this.shape!= null)); } { String theCoords; theCoords = this.getCoords(); strategy.appendField(locator, this, "coords", buffer, theCoords, (this.coords!= null)); } { String theAccesskey; theAccesskey = this.getAccesskey(); strategy.appendField(locator, this, "accesskey", buffer, theAccesskey, (this.accesskey!= null)); } { Integer theTabindex; theTabindex = this.getTabindex(); strategy.appendField(locator, this, "tabindex", buffer, theTabindex, (this.tabindex!= null)); } { String theOnfocus; theOnfocus = this.getOnfocus(); strategy.appendField(locator, this, "onfocus", buffer, theOnfocus, (this.onfocus!= null)); } { String theOnblur; theOnblur = this.getOnblur(); strategy.appendField(locator, this, "onblur", buffer, theOnblur, (this.onblur!= null)); } { String theId; theId = this.getId(); strategy.appendField(locator, this, "id", buffer, theId, (this.id!= null)); } { List theClazz; theClazz = (((this.clazz!= null)&&(!this.clazz.isEmpty()))?this.getClazz():null); strategy.appendField(locator, this, "clazz", buffer, theClazz, ((this.clazz!= null)&&(!this.clazz.isEmpty()))); } { String theStyle; theStyle = this.getStyle(); strategy.appendField(locator, this, "style", buffer, theStyle, (this.style!= null)); } { String theTitle; theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle, (this.title!= null)); } { String theLangAttribute; theLangAttribute = this.getLangAttribute(); strategy.appendField(locator, this, "langAttribute", buffer, theLangAttribute, (this.langAttribute!= null)); } { String theLang; theLang = this.getLang(); strategy.appendField(locator, this, "lang", buffer, theLang, (this.lang!= null)); } { String theDir; theDir = this.getDir(); strategy.appendField(locator, this, "dir", buffer, theDir, (this.dir!= null)); } { String theOnclick; theOnclick = this.getOnclick(); strategy.appendField(locator, this, "onclick", buffer, theOnclick, (this.onclick!= null)); } { String theOndblclick; theOndblclick = this.getOndblclick(); strategy.appendField(locator, this, "ondblclick", buffer, theOndblclick, (this.ondblclick!= null)); } { String theOnmousedown; theOnmousedown = this.getOnmousedown(); strategy.appendField(locator, this, "onmousedown", buffer, theOnmousedown, (this.onmousedown!= null)); } { String theOnmouseup; theOnmouseup = this.getOnmouseup(); strategy.appendField(locator, this, "onmouseup", buffer, theOnmouseup, (this.onmouseup!= null)); } { String theOnmouseover; theOnmouseover = this.getOnmouseover(); strategy.appendField(locator, this, "onmouseover", buffer, theOnmouseover, (this.onmouseover!= null)); } { String theOnmousemove; theOnmousemove = this.getOnmousemove(); strategy.appendField(locator, this, "onmousemove", buffer, theOnmousemove, (this.onmousemove!= null)); } { String theOnmouseout; theOnmouseout = this.getOnmouseout(); strategy.appendField(locator, this, "onmouseout", buffer, theOnmouseout, (this.onmouseout!= null)); } { String theOnkeypress; theOnkeypress = this.getOnkeypress(); strategy.appendField(locator, this, "onkeypress", buffer, theOnkeypress, (this.onkeypress!= null)); } { String theOnkeydown; theOnkeydown = this.getOnkeydown(); strategy.appendField(locator, this, "onkeydown", buffer, theOnkeydown, (this.onkeydown!= null)); } { String theOnkeyup; theOnkeyup = this.getOnkeyup(); strategy.appendField(locator, this, "onkeyup", buffer, theOnkeyup, (this.onkeyup!= null)); } return buffer; } public void setRel(List value) { this.rel = value; } public void setRev(List value) { this.rev = value; } public void setClazz(List value) { this.clazz = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy