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

org.mixer2.jaxb.xhtml.Optgroup Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version

package org.mixer2.jaxb.xhtml;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
import org.jvnet.jaxb2_commons.lang.CopyStrategy;
import org.jvnet.jaxb2_commons.lang.CopyTo;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
import org.mixer2.xhtml.AbstractJaxb;


/**
 * 

Java class for anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://www.w3.org/1999/xhtml}option" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
 *       <attribute name="disabled">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *             <enumeration value="disabled"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="label" use="required" type="{http://www.w3.org/1999/xhtml}Text" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "option" }) @XmlRootElement(name = "optgroup") public class Optgroup extends AbstractJaxb implements Cloneable, CopyTo, Equals, HashCode { @XmlElement(required = true) protected List

* the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ public Map getOtherAttributes() { return otherAttributes; } public java.lang.Object clone() { return copyTo(createNewInstance()); } public java.lang.Object copyTo(java.lang.Object target) { final CopyStrategy strategy = JAXBCopyStrategy.INSTANCE; return copyTo(null, target, strategy); } public java.lang.Object copyTo(ObjectLocator locator, java.lang.Object target, CopyStrategy strategy) { final java.lang.Object draftCopy = ((target == null)?createNewInstance():target); if (draftCopy instanceof Optgroup) { final Optgroup copy = ((Optgroup) draftCopy); if (this.isSetOption()) { List





© 2015 - 2024 Weber Informatics LLC | Privacy Policy