<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://jetty.org/configure_9_3.dtd">

<Configure class="org.eclipse.jetty.xml.TestConfiguration">
  <Arg name="name">name</Arg>

  <Set name="Test">SetValue</Set>
  <Set name="Test" type="int"><Property name="does.not.exist" default="2"/></Set>
  
  <Set name="PropertyTest"><Property name="anIntegerNoActualPropDefined" default="18080"/></Set>

  <Put name="Test">PutValue</Put>
  <Put name="TestDft">2</Put>
  <Put name="TestInt" type="int">2</Put>

  <Put name="Trim">
    PutValue
  </Put>

  <Put name="Null"></Put>

  <Put name="NullTrim">
  </Put>

  <Put name="Object"><New class="java.lang.Double" arg="1.2345"/></Put>
 
  <Put name="ObjectTrim">
    <New class="java.lang.Double" arg="1.2345"/>
  </Put>

  <Put name="Objects"><New class="java.lang.Integer" arg="-1"/><New class="java.lang.String" arg="String"/></Put>

  <Put name="ObjectsTrim">
    <New class="java.lang.Integer" arg="-1">
  </New><New class="java.lang.String" arg="String">
  </New></Put>

  <Put name="String" type="String">
    PutValue
  </Put>

  <Put name="NullString" type="String"></Put>

  <Put name="WhiteSpace" type="String">
  </Put>

  <Put name="ObjectString" type="String">
    <New class="java.lang.Double">
      <Arg>1.2345</Arg>
    </New>
  </Put>

  <Put name="ObjectsString" type="String"><New class="java.lang.Integer" arg="-1"/><New class="java.lang.String" arg="String"/></Put>

  <Put name="ObjectsWhiteString">
    <New class="java.lang.Integer" arg="-1">
  </New>
  <New class="java.lang.String" arg="String">
  </New></Put>

  <Put name="SystemProperty" ><SystemProperty name="user.dir"/>/stuff</Put>
  <Put name="Property"><Property name="whatever" default="xxx"/></Put>
  <Put name="SomethingElse"><SystemProperty name="floople" default="xxx"/></Put>
  <Put name="Boolean" type="Boolean">True</Put>
  <Put name="Float" type="Float">2.3</Put>
  <Put name="Env"><Env name="HOME"/></Put>

  <Set name="nested">
    <New class="org.eclipse.jetty.xml.TestConfiguration">
      <Set name="testString">nested</Set>
      <Set name="nested">
        <New class="org.eclipse.jetty.xml.TestConfiguration">
        </New>
      </Set>
    </New>
  </Set>

  <Call name="call">
  </Call>

  <Call name="call">
    <Arg type="boolean">false</Arg>
  </Call>

  <Call name="call">
    <Arg type="boolean">true</Arg>
    <Put name="nested">put</Put>
    <Set name="Test">Call1</Set>
    <Set name="Test" type="int">4</Set>
    <Call name="call">
      <Arg type="URL">http://www.eclipse.com/</Arg>
      <Arg type="boolean">false</Arg>
    </Call>
  </Call>

  <Get name="String">
     <Call name="toString"/>
  </Get>

  <Call name="callStatic" class="org.eclipse.jetty.xml.TestConfiguration"/>

  <Call name="call">
    <Arg><Array type="java.lang.Object">
      <Item>Blah</Item>
      <Item type="String">1.2.3.4:5678</Item>
      <Item><New class="java.lang.Double"><Arg>1.2345</Arg></New></Item>
      <Item></Item>
    </Array></Arg>
  </Call>

  <Call name="call">
    <Arg><Array type="int">
      <Item type="int">1</Item>
      <Item type="int">2</Item>
      <Item type="int">3</Item>
      <Item></Item>
    </Array></Arg>
  </Call>

  <Set name="testField1"><Get class="org.eclipse.jetty.xml.TestConfiguration" name="VALUE"/></Set>
  <Set name="testField2"><Get name="testInt"/></Set>
  <Set name="VALUE" type="int">42</Set>

  <Map id="map">
    <Entry>
      <Item id="key0">key0</Item>
      <Item id="value0">value0</Item>
    </Entry>
    <Entry>
      <Item id="key1">key1</Item>
      <Item id="value1">value1</Item>
    </Entry>
  </Map>

</Configure>


