|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.collada._2005._11.colladaschema.Camera
public class Camera
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.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
<element name="optics">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="technique_common">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="orthographic">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<sequence>
<element name="xmag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<choice minOccurs="0">
<element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
</choice>
</sequence>
<sequence>
<element name="ymag" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
</sequence>
</choice>
<element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="perspective">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<sequence>
<element name="xfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<choice minOccurs="0">
<element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
</choice>
</sequence>
<sequence>
<element name="yfov" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<element name="aspect_ratio" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
</sequence>
</choice>
<element name="znear" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
<element name="zfar" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="imager" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
Camera.Imager
Java class for anonymous complex type. |
static class |
Camera.Optics
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected Asset |
asset
|
protected List<Extra> |
extra
|
protected String |
id
|
protected Camera.Imager |
imager
|
protected String |
name
|
protected Camera.Optics |
optics
|
| Constructor Summary | |
|---|---|
Camera()
|
|
| Method Summary | |
|---|---|
Asset |
getAsset()
The camera element may contain an asset element. |
List<Extra> |
getExtra()
The extra element may appear any number of times. |
String |
getId()
Gets the value of the id property. |
Camera.Imager |
getImager()
Gets the value of the imager property. |
String |
getName()
Gets the value of the name property. |
Camera.Optics |
getOptics()
Gets the value of the optics property. |
void |
setAsset(Asset value)
The camera element may contain an asset element. |
void |
setId(String value)
Sets the value of the id property. |
void |
setImager(Camera.Imager value)
Sets the value of the imager property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setOptics(Camera.Optics value)
Sets the value of the optics property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Asset asset
protected Camera.Optics optics
protected Camera.Imager imager
protected List<Extra> extra
protected String id
protected String name
| Constructor Detail |
|---|
public Camera()
| Method Detail |
|---|
public Asset getAsset()
Assetpublic void setAsset(Asset value)
value - allowed object is
Assetpublic Camera.Optics getOptics()
Camera.Opticspublic void setOptics(Camera.Optics value)
value - allowed object is
Camera.Opticspublic Camera.Imager getImager()
Camera.Imagerpublic void setImager(Camera.Imager value)
value - allowed object is
Camera.Imagerpublic List<Extra> getExtra()
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 extra property.
For example, to add a new item, do as follows:
getExtra().add(newItem);
Objects of the following type(s) are allowed in the list
Extra
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
String
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||