org.w3._1999.xhtml.Td Maven / Gradle / Ivy
Show all versions of quick Show documentation
//
// 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.08.16 at 09:36:55 AM MDT
//
package org.w3._1999.xhtml;
import java.math.BigInteger;
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.XmlIDREF;
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}Flow">
* <attGroup ref="{http://www.w3.org/1999/xhtml}cellvalign"/>
* <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
* <attGroup ref="{http://www.w3.org/1999/xhtml}cellhalign"/>
* <attribute name="abbr" type="{http://www.w3.org/1999/xhtml}Text" />
* <attribute name="axis" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="headers" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
* <attribute name="scope" type="{http://www.w3.org/1999/xhtml}Scope" />
* <attribute name="rowspan" type="{http://www.w3.org/1999/xhtml}Number" default="1" />
* <attribute name="colspan" type="{http://www.w3.org/1999/xhtml}Number" default="1" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "td")
public class Td
extends Flow
implements Equals2, HashCode2, ToString2
{
@XmlAttribute(name = "abbr")
protected String abbr;
@XmlAttribute(name = "axis")
@XmlSchemaType(name = "anySimpleType")
protected String axis;
@XmlAttribute(name = "headers")
@XmlIDREF
@XmlSchemaType(name = "IDREFS")
protected List headers;
@XmlAttribute(name = "scope")
protected Scope scope;
@XmlAttribute(name = "rowspan")
protected BigInteger rowspan;
@XmlAttribute(name = "colspan")
protected BigInteger colspan;
@XmlAttribute(name = "valign")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String valign;
@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 = "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 = "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;
@XmlAttribute(name = "align")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String align;
@XmlAttribute(name = "char")
protected String _char;
@XmlAttribute(name = "charoff")
protected String charoff;
/**
* Gets the value of the abbr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAbbr() {
return abbr;
}
/**
* Sets the value of the abbr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAbbr(String value) {
this.abbr = value;
}
/**
* Gets the value of the axis property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAxis() {
return axis;
}
/**
* Sets the value of the axis property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAxis(String value) {
this.axis = value;
}
/**
* Gets the value of the headers 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 headers property.
*
*
* For example, to add a new item, do as follows:
*
* getHeaders().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link java.lang.Object }
*
*
*/
public List getHeaders() {
if (headers == null) {
headers = new ArrayList();
}
return this.headers;
}
/**
* Gets the value of the scope property.
*
* @return
* possible object is
* {@link Scope }
*
*/
public Scope getScope() {
return scope;
}
/**
* Sets the value of the scope property.
*
* @param value
* allowed object is
* {@link Scope }
*
*/
public void setScope(Scope value) {
this.scope = value;
}
/**
* Gets the value of the rowspan property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getRowspan() {
if (rowspan == null) {
return new BigInteger("1");
} else {
return rowspan;
}
}
/**
* Sets the value of the rowspan property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setRowspan(BigInteger value) {
this.rowspan = value;
}
/**
* Gets the value of the colspan property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getColspan() {
if (colspan == null) {
return new BigInteger("1");
} else {
return colspan;
}
}
/**
* Sets the value of the colspan property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setColspan(BigInteger value) {
this.colspan = value;
}
/**
* Gets the value of the valign property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValign() {
return valign;
}
/**
* Sets the value of the valign property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValign(String value) {
this.valign = 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 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 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;
}
/**
* Gets the value of the align property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlign() {
return align;
}
/**
* Sets the value of the align property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlign(String value) {
this.align = value;
}
/**
* Gets the value of the char property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getChar() {
return _char;
}
/**
* Sets the value of the char property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChar(String value) {
this._char = value;
}
/**
* Gets the value of the charoff property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCharoff() {
return charoff;
}
/**
* Sets the value of the charoff property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCharoff(String value) {
this.charoff = value;
}
public Td withAbbr(String value) {
setAbbr(value);
return this;
}
public Td withAxis(String value) {
setAxis(value);
return this;
}
public Td withHeaders(java.lang.Object... values) {
if (values!= null) {
for (java.lang.Object value: values) {
getHeaders().add(value);
}
}
return this;
}
public Td withHeaders(Collection values) {
if (values!= null) {
getHeaders().addAll(values);
}
return this;
}
public Td withScope(Scope value) {
setScope(value);
return this;
}
public Td withRowspan(BigInteger value) {
setRowspan(value);
return this;
}
public Td withColspan(BigInteger value) {
setColspan(value);
return this;
}
public Td withValign(String value) {
setValign(value);
return this;
}
public Td withLangAttribute(String value) {
setLangAttribute(value);
return this;
}
public Td withLang(String value) {
setLang(value);
return this;
}
public Td withDir(String value) {
setDir(value);
return this;
}
public Td withId(String value) {
setId(value);
return this;
}
public Td withClazz(String... values) {
if (values!= null) {
for (String value: values) {
getClazz().add(value);
}
}
return this;
}
public Td withClazz(Collection values) {
if (values!= null) {
getClazz().addAll(values);
}
return this;
}
public Td withStyle(String value) {
setStyle(value);
return this;
}
public Td withTitle(String value) {
setTitle(value);
return this;
}
public Td withOnclick(String value) {
setOnclick(value);
return this;
}
public Td withOndblclick(String value) {
setOndblclick(value);
return this;
}
public Td withOnmousedown(String value) {
setOnmousedown(value);
return this;
}
public Td withOnmouseup(String value) {
setOnmouseup(value);
return this;
}
public Td withOnmouseover(String value) {
setOnmouseover(value);
return this;
}
public Td withOnmousemove(String value) {
setOnmousemove(value);
return this;
}
public Td withOnmouseout(String value) {
setOnmouseout(value);
return this;
}
public Td withOnkeypress(String value) {
setOnkeypress(value);
return this;
}
public Td withOnkeydown(String value) {
setOnkeydown(value);
return this;
}
public Td withOnkeyup(String value) {
setOnkeyup(value);
return this;
}
public Td withAlign(String value) {
setAlign(value);
return this;
}
public Td withChar(String value) {
setChar(value);
return this;
}
public Td withCharoff(String value) {
setCharoff(value);
return this;
}
@Override
public Td withContent(java.lang.Object... values) {
if (values!= null) {
for (java.lang.Object value: values) {
getContent().add(value);
}
}
return this;
}
@Override
public Td 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 Td that = ((Td) object);
{
String lhsAbbr;
lhsAbbr = this.getAbbr();
String rhsAbbr;
rhsAbbr = that.getAbbr();
if (!strategy.equals(LocatorUtils.property(thisLocator, "abbr", lhsAbbr), LocatorUtils.property(thatLocator, "abbr", rhsAbbr), lhsAbbr, rhsAbbr, (this.abbr!= null), (that.abbr!= null))) {
return false;
}
}
{
String lhsAxis;
lhsAxis = this.getAxis();
String rhsAxis;
rhsAxis = that.getAxis();
if (!strategy.equals(LocatorUtils.property(thisLocator, "axis", lhsAxis), LocatorUtils.property(thatLocator, "axis", rhsAxis), lhsAxis, rhsAxis, (this.axis!= null), (that.axis!= null))) {
return false;
}
}
{
List lhsHeaders;
lhsHeaders = (((this.headers!= null)&&(!this.headers.isEmpty()))?this.getHeaders():null);
List rhsHeaders;
rhsHeaders = (((that.headers!= null)&&(!that.headers.isEmpty()))?that.getHeaders():null);
if (!strategy.equals(LocatorUtils.property(thisLocator, "headers", lhsHeaders), LocatorUtils.property(thatLocator, "headers", rhsHeaders), lhsHeaders, rhsHeaders, ((this.headers!= null)&&(!this.headers.isEmpty())), ((that.headers!= null)&&(!that.headers.isEmpty())))) {
return false;
}
}
{
Scope lhsScope;
lhsScope = this.getScope();
Scope rhsScope;
rhsScope = that.getScope();
if (!strategy.equals(LocatorUtils.property(thisLocator, "scope", lhsScope), LocatorUtils.property(thatLocator, "scope", rhsScope), lhsScope, rhsScope, (this.scope!= null), (that.scope!= null))) {
return false;
}
}
{
BigInteger lhsRowspan;
lhsRowspan = this.getRowspan();
BigInteger rhsRowspan;
rhsRowspan = that.getRowspan();
if (!strategy.equals(LocatorUtils.property(thisLocator, "rowspan", lhsRowspan), LocatorUtils.property(thatLocator, "rowspan", rhsRowspan), lhsRowspan, rhsRowspan, (this.rowspan!= null), (that.rowspan!= null))) {
return false;
}
}
{
BigInteger lhsColspan;
lhsColspan = this.getColspan();
BigInteger rhsColspan;
rhsColspan = that.getColspan();
if (!strategy.equals(LocatorUtils.property(thisLocator, "colspan", lhsColspan), LocatorUtils.property(thatLocator, "colspan", rhsColspan), lhsColspan, rhsColspan, (this.colspan!= null), (that.colspan!= null))) {
return false;
}
}
{
String lhsValign;
lhsValign = this.getValign();
String rhsValign;
rhsValign = that.getValign();
if (!strategy.equals(LocatorUtils.property(thisLocator, "valign", lhsValign), LocatorUtils.property(thatLocator, "valign", rhsValign), lhsValign, rhsValign, (this.valign!= null), (that.valign!= 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 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 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;
}
}
{
String lhsAlign;
lhsAlign = this.getAlign();
String rhsAlign;
rhsAlign = that.getAlign();
if (!strategy.equals(LocatorUtils.property(thisLocator, "align", lhsAlign), LocatorUtils.property(thatLocator, "align", rhsAlign), lhsAlign, rhsAlign, (this.align!= null), (that.align!= null))) {
return false;
}
}
{
String lhsChar;
lhsChar = this.getChar();
String rhsChar;
rhsChar = that.getChar();
if (!strategy.equals(LocatorUtils.property(thisLocator, "_char", lhsChar), LocatorUtils.property(thatLocator, "_char", rhsChar), lhsChar, rhsChar, (this._char!= null), (that._char!= null))) {
return false;
}
}
{
String lhsCharoff;
lhsCharoff = this.getCharoff();
String rhsCharoff;
rhsCharoff = that.getCharoff();
if (!strategy.equals(LocatorUtils.property(thisLocator, "charoff", lhsCharoff), LocatorUtils.property(thatLocator, "charoff", rhsCharoff), lhsCharoff, rhsCharoff, (this.charoff!= null), (that.charoff!= 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 theAbbr;
theAbbr = this.getAbbr();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "abbr", theAbbr), currentHashCode, theAbbr, (this.abbr!= null));
}
{
String theAxis;
theAxis = this.getAxis();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "axis", theAxis), currentHashCode, theAxis, (this.axis!= null));
}
{
List theHeaders;
theHeaders = (((this.headers!= null)&&(!this.headers.isEmpty()))?this.getHeaders():null);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "headers", theHeaders), currentHashCode, theHeaders, ((this.headers!= null)&&(!this.headers.isEmpty())));
}
{
Scope theScope;
theScope = this.getScope();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "scope", theScope), currentHashCode, theScope, (this.scope!= null));
}
{
BigInteger theRowspan;
theRowspan = this.getRowspan();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rowspan", theRowspan), currentHashCode, theRowspan, (this.rowspan!= null));
}
{
BigInteger theColspan;
theColspan = this.getColspan();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "colspan", theColspan), currentHashCode, theColspan, (this.colspan!= null));
}
{
String theValign;
theValign = this.getValign();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "valign", theValign), currentHashCode, theValign, (this.valign!= 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 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 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));
}
{
String theAlign;
theAlign = this.getAlign();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "align", theAlign), currentHashCode, theAlign, (this.align!= null));
}
{
String theChar;
theChar = this.getChar();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "_char", theChar), currentHashCode, theChar, (this._char!= null));
}
{
String theCharoff;
theCharoff = this.getCharoff();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "charoff", theCharoff), currentHashCode, theCharoff, (this.charoff!= 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 theAbbr;
theAbbr = this.getAbbr();
strategy.appendField(locator, this, "abbr", buffer, theAbbr, (this.abbr!= null));
}
{
String theAxis;
theAxis = this.getAxis();
strategy.appendField(locator, this, "axis", buffer, theAxis, (this.axis!= null));
}
{
List theHeaders;
theHeaders = (((this.headers!= null)&&(!this.headers.isEmpty()))?this.getHeaders():null);
strategy.appendField(locator, this, "headers", buffer, theHeaders, ((this.headers!= null)&&(!this.headers.isEmpty())));
}
{
Scope theScope;
theScope = this.getScope();
strategy.appendField(locator, this, "scope", buffer, theScope, (this.scope!= null));
}
{
BigInteger theRowspan;
theRowspan = this.getRowspan();
strategy.appendField(locator, this, "rowspan", buffer, theRowspan, (this.rowspan!= null));
}
{
BigInteger theColspan;
theColspan = this.getColspan();
strategy.appendField(locator, this, "colspan", buffer, theColspan, (this.colspan!= null));
}
{
String theValign;
theValign = this.getValign();
strategy.appendField(locator, this, "valign", buffer, theValign, (this.valign!= 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 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 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));
}
{
String theAlign;
theAlign = this.getAlign();
strategy.appendField(locator, this, "align", buffer, theAlign, (this.align!= null));
}
{
String theChar;
theChar = this.getChar();
strategy.appendField(locator, this, "_char", buffer, theChar, (this._char!= null));
}
{
String theCharoff;
theCharoff = this.getCharoff();
strategy.appendField(locator, this, "charoff", buffer, theCharoff, (this.charoff!= null));
}
return buffer;
}
public void setHeaders(List value) {
this.headers = value;
}
public void setClazz(List value) {
this.clazz = value;
}
}