org.collada._2005._11.colladaschema
Class Camera.Optics.TechniqueCommon.Orthographic

java.lang.Object
  extended by org.collada._2005._11.colladaschema.Camera.Optics.TechniqueCommon.Orthographic
Enclosing class:
Camera.Optics.TechniqueCommon

public static class Camera.Optics.TechniqueCommon.Orthographic
extends Object

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>
         <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>
 


Field Summary
protected  List<JAXBElement<TargetableFloat>> content
           
 
Constructor Summary
Camera.Optics.TechniqueCommon.Orthographic()
           
 
Method Summary
 List<JAXBElement<TargetableFloat>> getContent()
          Gets the rest of the content model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<JAXBElement<TargetableFloat>> content
Constructor Detail

Camera.Optics.TechniqueCommon.Orthographic

public Camera.Optics.TechniqueCommon.Orthographic()
Method Detail

getContent

public List<JAXBElement<TargetableFloat>> getContent()
Gets the rest of the content model.

You are getting this "catch-all" property because of the following reason: The field name "Ymag" is used by two different parts of a schema. See: line 2234 of file:/C:/ext/croftsoft/core/xsd/COLLADASchema.xsd line 2214 of file:/C:/ext/croftsoft/core/xsd/COLLADASchema.xsd

To get rid of this property, apply a property customization to one of both of the following declarations to change their names: 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 JAXBElement<TargetableFloat> JAXBElement<TargetableFloat> JAXBElement<TargetableFloat> JAXBElement<TargetableFloat> JAXBElement<TargetableFloat>


CroftSoft Javadoc

CroftSoft COLLADA JAXB Javadoc (2006-11-13 15:08:25)