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

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

The newest version!

package org.mixer2.jaxb.xhtml;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.CopyStrategy;
import org.jvnet.jaxb2_commons.lang.CopyTo;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
import org.mixer2.xhtml.AbstractJaxb;


/**
 * 
 *       a elements use "Inline" excluding a
 *       
 * 
 * 

a.content complex typeのJavaクラス。 * *

次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * *

 * <complexType name="a.content">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <group ref="{http://www.w3.org/1999/xhtml}special"/>
 *         <group ref="{http://www.w3.org/1999/xhtml}fontstyle"/>
 *         <group ref="{http://www.w3.org/1999/xhtml}phrase"/>
 *         <group ref="{http://www.w3.org/1999/xhtml}inline.forms"/>
 *         <group ref="{http://www.w3.org/1999/xhtml}misc.inline"/>
 *         <group ref="{http://www.w3.org/1999/xhtml}block"/>
 *       </choice>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "a.content", propOrder = { "content" }) @XmlSeeAlso({ A.class }) public class AContent extends AbstractJaxb implements Cloneable, CopyTo { @XmlElementRefs({ @XmlElementRef(name = "b", namespace = "http://www.w3.org/1999/xhtml", type = B.class), @XmlElementRef(name = "details", namespace = "http://www.w3.org/1999/xhtml", type = Details.class), @XmlElementRef(name = "datalist", namespace = "http://www.w3.org/1999/xhtml", type = Datalist.class), @XmlElementRef(name = "rt", namespace = "http://www.w3.org/1999/xhtml", type = Rt.class), @XmlElementRef(name = "h5", namespace = "http://www.w3.org/1999/xhtml", type = H5 .class), @XmlElementRef(name = "div", namespace = "http://www.w3.org/1999/xhtml", type = Div.class), @XmlElementRef(name = "script", namespace = "http://www.w3.org/1999/xhtml", type = Script.class), @XmlElementRef(name = "object", namespace = "http://www.w3.org/1999/xhtml", type = org.mixer2.jaxb.xhtml.Object.class), @XmlElementRef(name = "dir", namespace = "http://www.w3.org/1999/xhtml", type = Dir.class), @XmlElementRef(name = "textarea", namespace = "http://www.w3.org/1999/xhtml", type = Textarea.class), @XmlElementRef(name = "h3", namespace = "http://www.w3.org/1999/xhtml", type = H3 .class), @XmlElementRef(name = "video", namespace = "http://www.w3.org/1999/xhtml", type = Video.class), @XmlElementRef(name = "input", namespace = "http://www.w3.org/1999/xhtml", type = Input.class), @XmlElementRef(name = "u", namespace = "http://www.w3.org/1999/xhtml", type = U.class), @XmlElementRef(name = "q", namespace = "http://www.w3.org/1999/xhtml", type = Q.class), @XmlElementRef(name = "hgroup", namespace = "http://www.w3.org/1999/xhtml", type = Hgroup.class), @XmlElementRef(name = "ins", namespace = "http://www.w3.org/1999/xhtml", type = Ins.class), @XmlElementRef(name = "map", namespace = "http://www.w3.org/1999/xhtml", type = Map.class), @XmlElementRef(name = "isindex", namespace = "http://www.w3.org/1999/xhtml", type = Isindex.class), @XmlElementRef(name = "noframes", namespace = "http://www.w3.org/1999/xhtml", type = Noframes.class), @XmlElementRef(name = "label", namespace = "http://www.w3.org/1999/xhtml", type = Label.class), @XmlElementRef(name = "abbr", namespace = "http://www.w3.org/1999/xhtml", type = Abbr.class), @XmlElementRef(name = "p", namespace = "http://www.w3.org/1999/xhtml", type = P.class), @XmlElementRef(name = "figure", namespace = "http://www.w3.org/1999/xhtml", type = Figure.class), @XmlElementRef(name = "article", namespace = "http://www.w3.org/1999/xhtml", type = Article.class), @XmlElementRef(name = "audio", namespace = "http://www.w3.org/1999/xhtml", type = Audio.class), @XmlElementRef(name = "pre", namespace = "http://www.w3.org/1999/xhtml", type = Pre.class), @XmlElementRef(name = "progress", namespace = "http://www.w3.org/1999/xhtml", type = Progress.class), @XmlElementRef(name = "dl", namespace = "http://www.w3.org/1999/xhtml", type = Dl.class), @XmlElementRef(name = "select", namespace = "http://www.w3.org/1999/xhtml", type = Select.class), @XmlElementRef(name = "sub", namespace = "http://www.w3.org/1999/xhtml", type = Sub.class), @XmlElementRef(name = "meter", namespace = "http://www.w3.org/1999/xhtml", type = Meter.class), @XmlElementRef(name = "embed", namespace = "http://www.w3.org/1999/xhtml", type = Embed.class), @XmlElementRef(name = "cite", namespace = "http://www.w3.org/1999/xhtml", type = Cite.class), @XmlElementRef(name = "iframe", namespace = "http://www.w3.org/1999/xhtml", type = Iframe.class), @XmlElementRef(name = "kbd", namespace = "http://www.w3.org/1999/xhtml", type = Kbd.class), @XmlElementRef(name = "command", namespace = "http://www.w3.org/1999/xhtml", type = Command.class), @XmlElementRef(name = "h4", namespace = "http://www.w3.org/1999/xhtml", type = H4 .class), @XmlElementRef(name = "keygen", namespace = "http://www.w3.org/1999/xhtml", type = Keygen.class), @XmlElementRef(name = "wbr", namespace = "http://www.w3.org/1999/xhtml", type = Wbr.class), @XmlElementRef(name = "blockquote", namespace = "http://www.w3.org/1999/xhtml", type = Blockquote.class), @XmlElementRef(name = "sup", namespace = "http://www.w3.org/1999/xhtml", type = Sup.class), @XmlElementRef(name = "big", namespace = "http://www.w3.org/1999/xhtml", type = Big.class), @XmlElementRef(name = "button", namespace = "http://www.w3.org/1999/xhtml", type = Button.class), @XmlElementRef(name = "footer", namespace = "http://www.w3.org/1999/xhtml", type = Footer.class), @XmlElementRef(name = "mark", namespace = "http://www.w3.org/1999/xhtml", type = Mark.class), @XmlElementRef(name = "samp", namespace = "http://www.w3.org/1999/xhtml", type = Samp.class), @XmlElementRef(name = "ol", namespace = "http://www.w3.org/1999/xhtml", type = Ol.class), @XmlElementRef(name = "h2", namespace = "http://www.w3.org/1999/xhtml", type = H2 .class), @XmlElementRef(name = "del", namespace = "http://www.w3.org/1999/xhtml", type = Del.class), @XmlElementRef(name = "em", namespace = "http://www.w3.org/1999/xhtml", type = Em.class), @XmlElementRef(name = "font", namespace = "http://www.w3.org/1999/xhtml", type = Font.class), @XmlElementRef(name = "strike", namespace = "http://www.w3.org/1999/xhtml", type = Strike.class), @XmlElementRef(name = "applet", namespace = "http://www.w3.org/1999/xhtml", type = Applet.class), @XmlElementRef(name = "h1", namespace = "http://www.w3.org/1999/xhtml", type = H1 .class), @XmlElementRef(name = "small", namespace = "http://www.w3.org/1999/xhtml", type = Small.class), @XmlElementRef(name = "code", namespace = "http://www.w3.org/1999/xhtml", type = Code.class), @XmlElementRef(name = "acronym", namespace = "http://www.w3.org/1999/xhtml", type = Acronym.class), @XmlElementRef(name = "ruby", namespace = "http://www.w3.org/1999/xhtml", type = Ruby.class), @XmlElementRef(name = "track", namespace = "http://www.w3.org/1999/xhtml", type = Track.class), @XmlElementRef(name = "bdi", namespace = "http://www.w3.org/1999/xhtml", type = Bdi.class), @XmlElementRef(name = "canvas", namespace = "http://www.w3.org/1999/xhtml", type = Canvas.class), @XmlElementRef(name = "ul", namespace = "http://www.w3.org/1999/xhtml", type = Ul.class), @XmlElementRef(name = "h6", namespace = "http://www.w3.org/1999/xhtml", type = H6 .class), @XmlElementRef(name = "table", namespace = "http://www.w3.org/1999/xhtml", type = Table.class), @XmlElementRef(name = "source", namespace = "http://www.w3.org/1999/xhtml", type = Source.class), @XmlElementRef(name = "hr", namespace = "http://www.w3.org/1999/xhtml", type = Hr.class), @XmlElementRef(name = "span", namespace = "http://www.w3.org/1999/xhtml", type = Span.class), @XmlElementRef(name = "bdo", namespace = "http://www.w3.org/1999/xhtml", type = Bdo.class), @XmlElementRef(name = "img", namespace = "http://www.w3.org/1999/xhtml", type = Img.class), @XmlElementRef(name = "br", namespace = "http://www.w3.org/1999/xhtml", type = Br.class), @XmlElementRef(name = "basefont", namespace = "http://www.w3.org/1999/xhtml", type = Basefont.class), @XmlElementRef(name = "section", namespace = "http://www.w3.org/1999/xhtml", type = Section.class), @XmlElementRef(name = "i", namespace = "http://www.w3.org/1999/xhtml", type = I.class), @XmlElementRef(name = "figcaption", namespace = "http://www.w3.org/1999/xhtml", type = Figcaption.class), @XmlElementRef(name = "strong", namespace = "http://www.w3.org/1999/xhtml", type = Strong.class), @XmlElementRef(name = "menu", namespace = "http://www.w3.org/1999/xhtml", type = Menu.class), @XmlElementRef(name = "center", namespace = "http://www.w3.org/1999/xhtml", type = Center.class), @XmlElementRef(name = "tt", namespace = "http://www.w3.org/1999/xhtml", type = Tt.class), @XmlElementRef(name = "time", namespace = "http://www.w3.org/1999/xhtml", type = Time.class), @XmlElementRef(name = "aside", namespace = "http://www.w3.org/1999/xhtml", type = Aside.class), @XmlElementRef(name = "fieldset", namespace = "http://www.w3.org/1999/xhtml", type = Fieldset.class), @XmlElementRef(name = "address", namespace = "http://www.w3.org/1999/xhtml", type = Address.class), @XmlElementRef(name = "output", namespace = "http://www.w3.org/1999/xhtml", type = Output.class), @XmlElementRef(name = "nav", namespace = "http://www.w3.org/1999/xhtml", type = Nav.class), @XmlElementRef(name = "dfn", namespace = "http://www.w3.org/1999/xhtml", type = Dfn.class), @XmlElementRef(name = "var", namespace = "http://www.w3.org/1999/xhtml", type = Var.class), @XmlElementRef(name = "rp", namespace = "http://www.w3.org/1999/xhtml", type = Rp.class), @XmlElementRef(name = "s", namespace = "http://www.w3.org/1999/xhtml", type = S.class), @XmlElementRef(name = "header", namespace = "http://www.w3.org/1999/xhtml", type = Header.class) }) @XmlMixed protected List content; /** * * a elements use "Inline" excluding a * Gets the value of the content 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 JAXB object. * This is why there is not a set method for the content property. * *

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

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link B } * {@link Details } * {@link Datalist } * {@link Rt } * {@link H5 } * {@link Div } * {@link org.mixer2.jaxb.xhtml.Object } * {@link Script } * {@link Dir } * {@link Textarea } * {@link Video } * {@link H3 } * {@link Input } * {@link U } * {@link Q } * {@link Map } * {@link Ins } * {@link Hgroup } * {@link Noframes } * {@link Isindex } * {@link Abbr } * {@link Label } * {@link P } * {@link String } * {@link Audio } * {@link Article } * {@link Figure } * {@link Progress } * {@link Pre } * {@link Dl } * {@link Sub } * {@link Select } * {@link Meter } * {@link Embed } * {@link Cite } * {@link Iframe } * {@link Command } * {@link Kbd } * {@link Keygen } * {@link H4 } * {@link Wbr } * {@link Blockquote } * {@link Sup } * {@link Big } * {@link Button } * {@link Footer } * {@link Mark } * {@link Samp } * {@link H2 } * {@link Ol } * {@link Em } * {@link Del } * {@link Applet } * {@link Strike } * {@link Font } * {@link H1 } * {@link Small } * {@link Code } * {@link Acronym } * {@link Ruby } * {@link Track } * {@link Bdi } * {@link Canvas } * {@link H6 } * {@link Ul } * {@link Table } * {@link Source } * {@link Hr } * {@link Bdo } * {@link Span } * {@link Img } * {@link Br } * {@link Basefont } * {@link I } * {@link Section } * {@link Figcaption } * {@link Strong } * {@link Center } * {@link Menu } * {@link Time } * {@link Tt } * {@link Fieldset } * {@link Aside } * {@link Output } * {@link Address } * {@link Rp } * {@link Var } * {@link Dfn } * {@link Nav } * {@link S } * {@link Header } * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } public boolean isSetContent() { return ((this.content!= null)&&(!this.content.isEmpty())); } public void unsetContent() { this.content = null; } 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 AContent) { final AContent copy = ((AContent) draftCopy); if (this.isSetContent()) { List sourceContent; sourceContent = (this.isSetContent()?this.getContent():null); @SuppressWarnings("unchecked") List copyContent = ((List ) strategy.copy(LocatorUtils.property(locator, "content", sourceContent), sourceContent)); copy.unsetContent(); if (copyContent!= null) { List uniqueContentl = copy.getContent(); uniqueContentl.addAll(copyContent); } } else { copy.unsetContent(); } } return draftCopy; } public java.lang.Object createNewInstance() { return new AContent(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy