Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
2015OmegaT/OmegaT/src/gen/core/tbx/P.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
179 lines (166 sloc)
4.47 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520 | |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> | |
// Any modifications to this file will be lost upon recompilation of the source schema. | |
// Generated on: 2012.12.21 at 11:57:29 AM JST | |
// | |
package gen.core.tbx; | |
/** | |
* <p>Java class for anonymous complex type. | |
* | |
* <p>The following schema fragment specifies the expected content contained within this class. | |
* | |
* <pre> | |
* <complexType> | |
* <complexContent> | |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | |
* <choice maxOccurs="unbounded" minOccurs="0"> | |
* <element ref="{}hi"/> | |
* <element ref="{}foreign"/> | |
* <element ref="{}bpt"/> | |
* <element ref="{}ept"/> | |
* <element ref="{}ph"/> | |
* </choice> | |
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> | |
* <attribute name="type"> | |
* <simpleType> | |
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> | |
* <enumeration value="XCSURI"/> | |
* <enumeration value="DCSName"/> | |
* <enumeration value="XCSContent"/> | |
* </restriction> | |
* </simpleType> | |
* </attribute> | |
* <attribute ref="{http://www.w3.org/XML/1998/namespace}lang"/> | |
* </restriction> | |
* </complexContent> | |
* </complexType> | |
* </pre> | |
* | |
* | |
*/ | |
@XmlAccessorType(XmlAccessType.FIELD) | |
@XmlType(name = "", propOrder = { | |
"content" | |
}) | |
@XmlRootElement(name = "p") | |
public class P { | |
@XmlElementRefs({ | |
@XmlElementRef(name = "ph", type = Ph.class), | |
@XmlElementRef(name = "hi", type = Hi.class), | |
@XmlElementRef(name = "ept", type = Ept.class), | |
@XmlElementRef(name = "bpt", type = Bpt.class), | |
@XmlElementRef(name = "foreign", type = Foreign.class) | |
}) | |
@XmlMixed | |
protected List<Object> content; | |
@XmlAttribute | |
@XmlJavaTypeAdapter(CollapsedStringAdapter.class) | |
@XmlID | |
@XmlSchemaType(name = "ID") | |
protected String id; | |
@XmlAttribute | |
@XmlJavaTypeAdapter(CollapsedStringAdapter.class) | |
protected String type; | |
@XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace") | |
protected String lang; | |
/** | |
* Gets the value of the content property. | |
* | |
* <p> | |
* 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 <CODE>set</CODE> method for the content property. | |
* | |
* <p> | |
* For example, to add a new item, do as follows: | |
* <pre> | |
* getContent().add(newItem); | |
* </pre> | |
* | |
* | |
* <p> | |
* Objects of the following type(s) are allowed in the list | |
* {@link Hi } | |
* {@link Bpt } | |
* {@link Ept } | |
* {@link Foreign } | |
* {@link Ph } | |
* {@link String } | |
* | |
* | |
*/ | |
public List<Object> getContent() { | |
if (content == null) { | |
content = new ArrayList<Object>(); | |
} | |
return this.content; | |
} | |
/** | |
* 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 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 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; | |
} | |
} |