2 * orthographicType.java
\r
4 * This file was generated by XMLSpy 2007sp2 Enterprise Edition.
\r
6 * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
\r
7 * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
\r
9 * Refer to the XMLSpy Documentation for further details.
\r
10 * http://www.altova.com/xmlspy
\r
14 package com.jmex.model.collada.schema;
\r
17 public class orthographicType extends com.jmex.xml.xml.Node {
\r
19 public orthographicType(orthographicType node) {
\r
23 public orthographicType(org.w3c.dom.Node node) {
\r
27 public orthographicType(org.w3c.dom.Document doc) {
\r
31 public orthographicType(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {
\r
32 super(doc, namespaceURI, prefix, name);
\r
35 public void adjustPrefix() {
\r
36 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag" );
\r
38 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", tmpNode )
\r
40 internalAdjustPrefix(tmpNode, true);
\r
41 new TargetableFloat(tmpNode).adjustPrefix();
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
48 new TargetableFloat(tmpNode).adjustPrefix();
\r
50 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio" );
\r
52 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", tmpNode )
\r
54 internalAdjustPrefix(tmpNode, true);
\r
55 new TargetableFloat(tmpNode).adjustPrefix();
\r
57 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "znear" );
\r
59 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", tmpNode )
\r
61 internalAdjustPrefix(tmpNode, true);
\r
62 new TargetableFloat(tmpNode).adjustPrefix();
\r
64 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar" );
\r
66 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", tmpNode )
\r
68 internalAdjustPrefix(tmpNode, true);
\r
69 new TargetableFloat(tmpNode).adjustPrefix();
\r
72 public void setXsiType() {
\r
73 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
74 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "orthographic");
\r
77 public static int getxmagMinCount() {
\r
81 public static int getxmagMaxCount() {
\r
85 public int getxmagCount() {
\r
86 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag");
\r
89 public boolean hasxmag() {
\r
90 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag");
\r
93 public TargetableFloat newxmag() {
\r
94 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "xmag"));
\r
97 public TargetableFloat getxmagAt(int index) throws Exception {
\r
98 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", index));
\r
101 public org.w3c.dom.Node getStartingxmagCursor() throws Exception {
\r
102 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag" );
\r
105 public org.w3c.dom.Node getAdvancedxmagCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
106 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", curNode );
\r
109 public TargetableFloat getxmagValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
110 if( curNode == null )
\r
111 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
113 return new TargetableFloat(curNode);
\r
116 public TargetableFloat getxmag() throws Exception
\r
118 return getxmagAt(0);
\r
121 public void removexmagAt(int index) {
\r
122 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", index);
\r
125 public void removexmag() {
\r
129 public org.w3c.dom.Node addxmag(TargetableFloat value) {
\r
130 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "xmag", value);
\r
133 public void insertxmagAt(TargetableFloat value, int index) {
\r
134 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "xmag", index, value);
\r
137 public void replacexmagAt(TargetableFloat value, int index) {
\r
138 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "xmag", index, value);
\r
141 public static int getymagMinCount() {
\r
145 public static int getymagMaxCount() {
\r
149 public int getymagCount() {
\r
150 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag");
\r
153 public boolean hasymag() {
\r
154 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag");
\r
157 public TargetableFloat newymag() {
\r
158 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "ymag"));
\r
161 public TargetableFloat getymagAt(int index) throws Exception {
\r
162 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", index));
\r
165 public org.w3c.dom.Node getStartingymagCursor() throws Exception {
\r
166 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag" );
\r
169 public org.w3c.dom.Node getAdvancedymagCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
170 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", curNode );
\r
173 public TargetableFloat getymagValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
174 if( curNode == null )
\r
175 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
177 return new TargetableFloat(curNode);
\r
180 public TargetableFloat getymag() throws Exception
\r
182 return getymagAt(0);
\r
185 public void removeymagAt(int index) {
\r
186 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", index);
\r
189 public void removeymag() {
\r
193 public org.w3c.dom.Node addymag(TargetableFloat value) {
\r
194 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "ymag", value);
\r
197 public void insertymagAt(TargetableFloat value, int index) {
\r
198 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ymag", index, value);
\r
201 public void replaceymagAt(TargetableFloat value, int index) {
\r
202 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ymag", index, value);
\r
205 public static int getaspect_ratioMinCount() {
\r
209 public static int getaspect_ratioMaxCount() {
\r
213 public int getaspect_ratioCount() {
\r
214 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio");
\r
217 public boolean hasaspect_ratio() {
\r
218 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio");
\r
221 public TargetableFloat newaspect_ratio() {
\r
222 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio"));
\r
225 public TargetableFloat getaspect_ratioAt(int index) throws Exception {
\r
226 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index));
\r
229 public org.w3c.dom.Node getStartingaspect_ratioCursor() throws Exception {
\r
230 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio" );
\r
233 public org.w3c.dom.Node getAdvancedaspect_ratioCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
234 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", curNode );
\r
237 public TargetableFloat getaspect_ratioValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
238 if( curNode == null )
\r
239 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
241 return new TargetableFloat(curNode);
\r
244 public TargetableFloat getaspect_ratio() throws Exception
\r
246 return getaspect_ratioAt(0);
\r
249 public void removeaspect_ratioAt(int index) {
\r
250 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index);
\r
253 public void removeaspect_ratio() {
\r
254 removeaspect_ratioAt(0);
\r
257 public org.w3c.dom.Node addaspect_ratio(TargetableFloat value) {
\r
258 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", value);
\r
261 public void insertaspect_ratioAt(TargetableFloat value, int index) {
\r
262 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index, value);
\r
265 public void replaceaspect_ratioAt(TargetableFloat value, int index) {
\r
266 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index, value);
\r
269 public static int getznearMinCount() {
\r
273 public static int getznearMaxCount() {
\r
277 public int getznearCount() {
\r
278 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear");
\r
281 public boolean hasznear() {
\r
282 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear");
\r
285 public TargetableFloat newznear() {
\r
286 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "znear"));
\r
289 public TargetableFloat getznearAt(int index) throws Exception {
\r
290 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", index));
\r
293 public org.w3c.dom.Node getStartingznearCursor() throws Exception {
\r
294 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear" );
\r
297 public org.w3c.dom.Node getAdvancedznearCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
298 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", curNode );
\r
301 public TargetableFloat getznearValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
302 if( curNode == null )
\r
303 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
305 return new TargetableFloat(curNode);
\r
308 public TargetableFloat getznear() throws Exception
\r
310 return getznearAt(0);
\r
313 public void removeznearAt(int index) {
\r
314 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", index);
\r
317 public void removeznear() {
\r
321 public org.w3c.dom.Node addznear(TargetableFloat value) {
\r
322 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "znear", value);
\r
325 public void insertznearAt(TargetableFloat value, int index) {
\r
326 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "znear", index, value);
\r
329 public void replaceznearAt(TargetableFloat value, int index) {
\r
330 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "znear", index, value);
\r
333 public static int getzfarMinCount() {
\r
337 public static int getzfarMaxCount() {
\r
341 public int getzfarCount() {
\r
342 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar");
\r
345 public boolean haszfar() {
\r
346 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar");
\r
349 public TargetableFloat newzfar() {
\r
350 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "zfar"));
\r
353 public TargetableFloat getzfarAt(int index) throws Exception {
\r
354 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", index));
\r
357 public org.w3c.dom.Node getStartingzfarCursor() throws Exception {
\r
358 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar" );
\r
361 public org.w3c.dom.Node getAdvancedzfarCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
362 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", curNode );
\r
365 public TargetableFloat getzfarValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
366 if( curNode == null )
\r
367 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
369 return new TargetableFloat(curNode);
\r
372 public TargetableFloat getzfar() throws Exception
\r
374 return getzfarAt(0);
\r
377 public void removezfarAt(int index) {
\r
378 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", index);
\r
381 public void removezfar() {
\r
385 public org.w3c.dom.Node addzfar(TargetableFloat value) {
\r
386 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "zfar", value);
\r
389 public void insertzfarAt(TargetableFloat value, int index) {
\r
390 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfar", index, value);
\r
393 public void replacezfarAt(TargetableFloat value, int index) {
\r
394 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfar", index, value);
\r