2 * fx_surface_init_volume_common.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 fx_surface_init_volume_common extends com.jmex.xml.xml.Node {
\r
19 public fx_surface_init_volume_common(fx_surface_init_volume_common node) {
\r
23 public fx_surface_init_volume_common(org.w3c.dom.Node node) {
\r
27 public fx_surface_init_volume_common(org.w3c.dom.Document doc) {
\r
31 public fx_surface_init_volume_common(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", "all" );
\r
38 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "all", tmpNode )
\r
40 internalAdjustPrefix(tmpNode, true);
\r
41 new allType2(tmpNode).adjustPrefix();
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
48 new primaryType2(tmpNode).adjustPrefix();
\r
51 public void setXsiType() {
\r
52 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
53 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "fx_surface_init_volume_common");
\r
56 public static int getallMinCount() {
\r
60 public static int getallMaxCount() {
\r
64 public int getallCount() {
\r
65 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "all");
\r
68 public boolean hasall() {
\r
69 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "all");
\r
72 public allType2 newall() {
\r
73 return new allType2(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "all"));
\r
76 public allType2 getallAt(int index) throws Exception {
\r
77 return new allType2(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "all", index));
\r
80 public org.w3c.dom.Node getStartingallCursor() throws Exception {
\r
81 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "all" );
\r
84 public org.w3c.dom.Node getAdvancedallCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
85 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "all", curNode );
\r
88 public allType2 getallValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
89 if( curNode == null )
\r
90 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
92 return new allType2(curNode);
\r
95 public allType2 getall() throws Exception
\r
100 public void removeallAt(int index) {
\r
101 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "all", index);
\r
104 public void removeall() {
\r
108 public org.w3c.dom.Node addall(allType2 value) {
\r
109 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "all", value);
\r
112 public void insertallAt(allType2 value, int index) {
\r
113 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "all", index, value);
\r
116 public void replaceallAt(allType2 value, int index) {
\r
117 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "all", index, value);
\r
120 public static int getprimaryMinCount() {
\r
124 public static int getprimaryMaxCount() {
\r
128 public int getprimaryCount() {
\r
129 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary");
\r
132 public boolean hasprimary() {
\r
133 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary");
\r
136 public primaryType2 newprimary() {
\r
137 return new primaryType2(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "primary"));
\r
140 public primaryType2 getprimaryAt(int index) throws Exception {
\r
141 return new primaryType2(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", index));
\r
144 public org.w3c.dom.Node getStartingprimaryCursor() throws Exception {
\r
145 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary" );
\r
148 public org.w3c.dom.Node getAdvancedprimaryCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
149 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", curNode );
\r
152 public primaryType2 getprimaryValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
153 if( curNode == null )
\r
154 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
156 return new primaryType2(curNode);
\r
159 public primaryType2 getprimary() throws Exception
\r
161 return getprimaryAt(0);
\r
164 public void removeprimaryAt(int index) {
\r
165 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", index);
\r
168 public void removeprimary() {
\r
169 removeprimaryAt(0);
\r
172 public org.w3c.dom.Node addprimary(primaryType2 value) {
\r
173 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "primary", value);
\r
176 public void insertprimaryAt(primaryType2 value, int index) {
\r
177 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "primary", index, value);
\r
180 public void replaceprimaryAt(primaryType2 value, int index) {
\r
181 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "primary", index, value);
\r