001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2007.03.17 at 08:38:02 AM PDT
006: //
007:
008: package org.collada.colladaschema;
009:
010: import java.util.ArrayList;
011: import java.util.List;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAnyElement;
015: import javax.xml.bind.annotation.XmlAttribute;
016: import javax.xml.bind.annotation.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
019: import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
020: import org.w3c.dom.Element;
021:
022: /**
023: * <p>Java class for anonymous complex type.
024: *
025: * <p>The following schema fragment specifies the expected content contained within this class.
026: *
027: * <pre>
028: * <complexType>
029: * <complexContent>
030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031: * <sequence>
032: * <any/>
033: * </sequence>
034: * <attribute name="profile" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
035: * </restriction>
036: * </complexContent>
037: * </complexType>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="",propOrder={"anies"})
044: @XmlRootElement(name="technique")
045: public class Technique {
046:
047: @XmlAnyElement
048: protected List<Element> anies;
049: @XmlAttribute(required=true)
050: @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
051: protected String profile;
052:
053: /**
054: * Gets the value of the anies property.
055: *
056: * <p>
057: * This accessor method returns a reference to the live list,
058: * not a snapshot. Therefore any modification you make to the
059: * returned list will be present inside the JAXB object.
060: * This is why there is not a <CODE>set</CODE> method for the anies property.
061: *
062: * <p>
063: * For example, to add a new item, do as follows:
064: * <pre>
065: * getAnies().add(newItem);
066: * </pre>
067: *
068: *
069: * <p>
070: * Objects of the following type(s) are allowed in the list
071: * {@link Element }
072: *
073: *
074: */
075: public List<Element> getAnies() {
076: if (anies == null) {
077: anies = new ArrayList<Element>();
078: }
079: return this .anies;
080: }
081:
082: /**
083: * Gets the value of the profile property.
084: *
085: * @return
086: * possible object is
087: * {@link String }
088: *
089: */
090: public String getProfile() {
091: return profile;
092: }
093:
094: /**
095: * Sets the value of the profile property.
096: *
097: * @param value
098: * allowed object is
099: * {@link String }
100: *
101: */
102: public void setProfile(String value) {
103: this.profile = value;
104: }
105:
106: }
|