// Generated by Haxe 4.3.1
package haxe.root;

import haxe.root.*;

@SuppressWarnings(value={"rawtypes", "unchecked"})
public class Xml extends haxe.lang.HxObject
{
	static
	{
		//line 86 "/usr/share/haxe/std/Xml.hx"
		haxe.root.Xml.Element = ((int) (0) );
		//line 91 "/usr/share/haxe/std/Xml.hx"
		haxe.root.Xml.PCData = ((int) (1) );
		//line 116 "/usr/share/haxe/std/Xml.hx"
		haxe.root.Xml.Document = ((int) (6) );
	}
	
	public Xml(haxe.lang.EmptyObject empty)
	{
	}
	
	
	public Xml(int nodeType)
	{
		//line 397 "/usr/share/haxe/std/Xml.hx"
		haxe.root.Xml.__hx_ctor__Xml(this, nodeType);
	}
	
	
	protected static void __hx_ctor__Xml(haxe.root.Xml __hx_this, int nodeType)
	{
		//line 398 "/usr/share/haxe/std/Xml.hx"
		__hx_this.nodeType = nodeType;
		//line 399 "/usr/share/haxe/std/Xml.hx"
		__hx_this.children = new haxe.root.Array<haxe.root.Xml>(new haxe.root.Xml[]{});
		//line 400 "/usr/share/haxe/std/Xml.hx"
		__hx_this.attributeMap = new haxe.ds.StringMap<java.lang.String>();
	}
	
	
	public static int Element;
	
	public static int PCData;
	
	public static int Document;
	
	public static haxe.root.Xml createElement(java.lang.String name)
	{
		//line 183 "/usr/share/haxe/std/Xml.hx"
		haxe.root.Xml xml = new haxe.root.Xml(((int) (haxe.root.Xml.Element) ));
		//line 184 "/usr/share/haxe/std/Xml.hx"
		{
			//line 184 "/usr/share/haxe/std/Xml.hx"
			if (( xml.nodeType != haxe.root.Xml.Element )) 
			{
				//line 184 "/usr/share/haxe/std/Xml.hx"
				throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element but found " + _Xml.XmlType_Impl_.toString(xml.nodeType) ))) );
			}
			
			//line 184 "/usr/share/haxe/std/Xml.hx"
			xml.nodeName = name;
		}
		
		//line 185 "/usr/share/haxe/std/Xml.hx"
		return xml;
	}
	
	
	public static haxe.root.Xml createPCData(java.lang.String data)
	{
		//line 192 "/usr/share/haxe/std/Xml.hx"
		haxe.root.Xml xml = new haxe.root.Xml(((int) (haxe.root.Xml.PCData) ));
		//line 193 "/usr/share/haxe/std/Xml.hx"
		{
			//line 193 "/usr/share/haxe/std/Xml.hx"
			if (( ( xml.nodeType == haxe.root.Xml.Document ) || ( xml.nodeType == haxe.root.Xml.Element ) )) 
			{
				//line 193 "/usr/share/haxe/std/Xml.hx"
				throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, unexpected " + _Xml.XmlType_Impl_.toString(xml.nodeType) ))) );
			}
			
			//line 193 "/usr/share/haxe/std/Xml.hx"
			xml.nodeValue = data;
		}
		
		//line 194 "/usr/share/haxe/std/Xml.hx"
		return xml;
	}
	
	
	public static haxe.root.Xml createDocument()
	{
		//line 237 "/usr/share/haxe/std/Xml.hx"
		return new haxe.root.Xml(((int) (haxe.root.Xml.Document) ));
	}
	
	
	public int nodeType;
	
	public java.lang.String nodeName;
	
	public java.lang.String nodeValue;
	
	public haxe.root.Xml parent;
	
	public haxe.root.Array<haxe.root.Xml> children;
	
	public haxe.ds.StringMap<java.lang.String> attributeMap;
	
	public java.lang.String get(java.lang.String att)
	{
		//line 245 "/usr/share/haxe/std/Xml.hx"
		if (( this.nodeType != haxe.root.Xml.Element )) 
		{
			//line 246 "/usr/share/haxe/std/Xml.hx"
			throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element but found " + _Xml.XmlType_Impl_.toString(this.nodeType) ))) );
		}
		
		//line 248 "/usr/share/haxe/std/Xml.hx"
		return ((haxe.ds.StringMap<java.lang.String>) (((haxe.IMap<java.lang.String, java.lang.String>) (this.attributeMap) )) ).get(att);
	}
	
	
	public void set(java.lang.String att, java.lang.String value)
	{
		//line 256 "/usr/share/haxe/std/Xml.hx"
		if (( this.nodeType != haxe.root.Xml.Element )) 
		{
			//line 257 "/usr/share/haxe/std/Xml.hx"
			throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element but found " + _Xml.XmlType_Impl_.toString(this.nodeType) ))) );
		}
		
		//line 259 "/usr/share/haxe/std/Xml.hx"
		((haxe.ds.StringMap<java.lang.String>) (((haxe.IMap<java.lang.String, java.lang.String>) (this.attributeMap) )) ).set(att, value);
	}
	
	
	public java.lang.Object attributes()
	{
		//line 288 "/usr/share/haxe/std/Xml.hx"
		if (( this.nodeType != haxe.root.Xml.Element )) 
		{
			//line 289 "/usr/share/haxe/std/Xml.hx"
			throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element but found " + _Xml.XmlType_Impl_.toString(this.nodeType) ))) );
		}
		
		//line 291 "/usr/share/haxe/std/Xml.hx"
		return ((java.lang.Object) (new haxe.ds._StringMap.StringMapKeyIterator<java.lang.String>(((haxe.ds.StringMap<java.lang.String>) (((haxe.IMap<java.lang.String, java.lang.String>) (this.attributeMap) )) ))) );
	}
	
	
	public void addChild(haxe.root.Xml x)
	{
		//line 354 "/usr/share/haxe/std/Xml.hx"
		if (( ( this.nodeType != haxe.root.Xml.Document ) && ( this.nodeType != haxe.root.Xml.Element ) )) 
		{
			//line 354 "/usr/share/haxe/std/Xml.hx"
			throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element or Document but found " + _Xml.XmlType_Impl_.toString(this.nodeType) ))) );
		}
		
		//line 355 "/usr/share/haxe/std/Xml.hx"
		if (( x.parent != null )) 
		{
			//line 356 "/usr/share/haxe/std/Xml.hx"
			x.parent.removeChild(x);
		}
		
		//line 358 "/usr/share/haxe/std/Xml.hx"
		this.children.push(x);
		//line 359 "/usr/share/haxe/std/Xml.hx"
		x.parent = this;
	}
	
	
	public boolean removeChild(haxe.root.Xml x)
	{
		//line 367 "/usr/share/haxe/std/Xml.hx"
		if (( ( this.nodeType != haxe.root.Xml.Document ) && ( this.nodeType != haxe.root.Xml.Element ) )) 
		{
			//line 367 "/usr/share/haxe/std/Xml.hx"
			throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element or Document but found " + _Xml.XmlType_Impl_.toString(this.nodeType) ))) );
		}
		
		//line 368 "/usr/share/haxe/std/Xml.hx"
		if (this.children.remove(x)) 
		{
			//line 369 "/usr/share/haxe/std/Xml.hx"
			x.parent = null;
			//line 370 "/usr/share/haxe/std/Xml.hx"
			return true;
		}
		
		//line 372 "/usr/share/haxe/std/Xml.hx"
		return false;
	}
	
	
	public void insertChild(haxe.root.Xml x, int pos)
	{
		//line 382 "/usr/share/haxe/std/Xml.hx"
		if (( ( this.nodeType != haxe.root.Xml.Document ) && ( this.nodeType != haxe.root.Xml.Element ) )) 
		{
			//line 382 "/usr/share/haxe/std/Xml.hx"
			throw ((java.lang.RuntimeException) (haxe.Exception.thrown(( "Bad node type, expected Element or Document but found " + _Xml.XmlType_Impl_.toString(this.nodeType) ))) );
		}
		
		//line 383 "/usr/share/haxe/std/Xml.hx"
		if (( x.parent != null )) 
		{
			//line 384 "/usr/share/haxe/std/Xml.hx"
			x.parent.children.remove(x);
		}
		
		//line 386 "/usr/share/haxe/std/Xml.hx"
		this.children.insert(pos, x);
		//line 387 "/usr/share/haxe/std/Xml.hx"
		x.parent = this;
	}
	
	
	@Override public java.lang.String toString()
	{
		//line 394 "/usr/share/haxe/std/Xml.hx"
		return haxe.xml.Printer.print(this, null);
	}
	
	
	@Override public double __hx_setField_f(java.lang.String field, double value, boolean handleProperties)
	{
		//line 82 "/usr/share/haxe/std/Xml.hx"
		{
			//line 82 "/usr/share/haxe/std/Xml.hx"
			boolean __temp_executeDef1 = true;
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (( field != null )) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				switch (field.hashCode())
				{
					case 1123082332:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeType")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.nodeType = ((int) (value) );
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return value;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (__temp_executeDef1) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				return super.__hx_setField_f(field, value, handleProperties);
			}
			else
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_setField(java.lang.String field, java.lang.Object value, boolean handleProperties)
	{
		//line 82 "/usr/share/haxe/std/Xml.hx"
		{
			//line 82 "/usr/share/haxe/std/Xml.hx"
			boolean __temp_executeDef1 = true;
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (( field != null )) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				switch (field.hashCode())
				{
					case -1016582880:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("attributeMap")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.attributeMap = ((haxe.ds.StringMap<java.lang.String>) (value) );
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return value;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 1123082332:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeType")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.nodeType = ((int) (haxe.lang.Runtime.toInt(value)) );
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return value;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 1659526655:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("children")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.children = ((haxe.root.Array<haxe.root.Xml>) (value) );
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return value;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 1122880429:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeName")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.nodeName = haxe.lang.Runtime.toString(value);
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return value;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -995424086:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("parent")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.parent = ((haxe.root.Xml) (value) );
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return value;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 456942735:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeValue")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.nodeValue = haxe.lang.Runtime.toString(value);
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return value;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (__temp_executeDef1) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				return super.__hx_setField(field, value, handleProperties);
			}
			else
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_getField(java.lang.String field, boolean throwErrors, boolean isCheck, boolean handleProperties)
	{
		//line 82 "/usr/share/haxe/std/Xml.hx"
		{
			//line 82 "/usr/share/haxe/std/Xml.hx"
			boolean __temp_executeDef1 = true;
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (( field != null )) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				switch (field.hashCode())
				{
					case -1776922004:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("toString")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "toString")) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 1123082332:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeType")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.nodeType;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -129364509:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("insertChild")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "insertChild")) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 1122880429:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeName")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.nodeName;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -319766792:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("removeChild")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "removeChild")) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 456942735:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeValue")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.nodeValue;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -1262040837:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("addChild")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "addChild")) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -995424086:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("parent")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.parent;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 405645655:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("attributes")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "attributes")) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 1659526655:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("children")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.children;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 113762:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("set")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "set")) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -1016582880:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("attributeMap")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.attributeMap;
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 102230:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("get")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((haxe.lang.Function) (new haxe.lang.Closure(this, "get")) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (__temp_executeDef1) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				return super.__hx_getField(field, throwErrors, isCheck, handleProperties);
			}
			else
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public double __hx_getField_f(java.lang.String field, boolean throwErrors, boolean handleProperties)
	{
		//line 82 "/usr/share/haxe/std/Xml.hx"
		{
			//line 82 "/usr/share/haxe/std/Xml.hx"
			boolean __temp_executeDef1 = true;
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (( field != null )) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				switch (field.hashCode())
				{
					case 1123082332:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("nodeType")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return ((double) (this.nodeType) );
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (__temp_executeDef1) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				return super.__hx_getField_f(field, throwErrors, handleProperties);
			}
			else
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				throw null;
			}
			
		}
		
	}
	
	
	@Override public java.lang.Object __hx_invokeField(java.lang.String field, java.lang.Object[] dynargs)
	{
		//line 82 "/usr/share/haxe/std/Xml.hx"
		{
			//line 82 "/usr/share/haxe/std/Xml.hx"
			boolean __temp_executeDef1 = true;
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (( field != null )) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				switch (field.hashCode())
				{
					case -1776922004:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("toString")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.toString();
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 102230:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("get")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.get(haxe.lang.Runtime.toString(dynargs[0]));
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -129364509:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("insertChild")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.insertChild(((haxe.root.Xml) (dynargs[0]) ), ((int) (haxe.lang.Runtime.toInt(dynargs[1])) ));
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 113762:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("set")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.set(haxe.lang.Runtime.toString(dynargs[0]), haxe.lang.Runtime.toString(dynargs[1]));
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -319766792:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("removeChild")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.removeChild(((haxe.root.Xml) (dynargs[0]) ));
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case 405645655:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("attributes")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							return this.attributes();
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
					case -1262040837:
					{
						//line 82 "/usr/share/haxe/std/Xml.hx"
						if (field.equals("addChild")) 
						{
							//line 82 "/usr/share/haxe/std/Xml.hx"
							__temp_executeDef1 = false;
							//line 82 "/usr/share/haxe/std/Xml.hx"
							this.addChild(((haxe.root.Xml) (dynargs[0]) ));
						}
						
						//line 82 "/usr/share/haxe/std/Xml.hx"
						break;
					}
					
					
				}
				
			}
			
			//line 82 "/usr/share/haxe/std/Xml.hx"
			if (__temp_executeDef1) 
			{
				//line 82 "/usr/share/haxe/std/Xml.hx"
				return super.__hx_invokeField(field, dynargs);
			}
			
		}
		
		//line 82 "/usr/share/haxe/std/Xml.hx"
		return null;
	}
	
	
	@Override public void __hx_getFields(haxe.root.Array<java.lang.String> baseArr)
	{
		//line 82 "/usr/share/haxe/std/Xml.hx"
		baseArr.push("attributeMap");
		//line 82 "/usr/share/haxe/std/Xml.hx"
		baseArr.push("children");
		//line 82 "/usr/share/haxe/std/Xml.hx"
		baseArr.push("parent");
		//line 82 "/usr/share/haxe/std/Xml.hx"
		baseArr.push("nodeValue");
		//line 82 "/usr/share/haxe/std/Xml.hx"
		baseArr.push("nodeName");
		//line 82 "/usr/share/haxe/std/Xml.hx"
		baseArr.push("nodeType");
		//line 82 "/usr/share/haxe/std/Xml.hx"
		super.__hx_getFields(baseArr);
	}
	
	
}


