XBean > Home > Features > MetaData XML |
|
<constructor class="org.acme.Foo" arg0="java.lang.Integer:age"/>
<org.acme.Foo> <constructor> <age type="java.lang.Integer"/> </constructor> </org.acme.Foo> <org.acme.Foo> <constructor signature="java.lang.Integer blah, Monkey monkey"/> <constructor signature="Monkey monkey"/> </org.acme.Foo> <org.acme.Foo> <constructor> <java.lang.Integer name="age" default="12"/> <org.acme.Bar name="myBar"/> </constructor> </org.acme.Foo> <org.acme.Foo> <constructor xmlns="java.lang,org.acme"> <Integer name="age" default="12"/> <Bar name="myBar"/> </constructor> </org.acme.Foo> <org.acme.Foo> <constructor> <age type="java.lang.Integer" alias="myAge"/> </constructor> <age alias="myAge" default="12"/> <height default="4.3"/> </org.acme.Foo> <org.acme.Foo> <constructor> <age type="java.lang.Integer" alias="myAge"/> </constructor> <age alias="myAge" default="12"/> <height default="4.3"/> <start method="onStart"/> </org.acme.Foo> <org.acme.Foo> <constructor0 args="age,height"/> <constructor1 args="age,height,weight"/> <age type="java.lang.Integer" default="12"/> <height type="java.lang.Double" /> <weight type="java.lang.Double" /> </org.acme.Foo> <org.acme.Foo> <constructor0 args="age,height"/> <age/> <height/> <weight/> </org.acme.Foo> <org.acme.Person element="person,child,adult" init="birth" destroy="death"> <age type="java.lang.Integer" alias="myAge" default="12"/> <height type="java.lang.Double" default="4.3"/> <weight type="java.lang.Double"/> <sex type="char"/> <xb:template element="male"> <sex fixed="M"/> <height default="5.10"/> <weight default="160"/> </xb:template> <xb:template element="female"> <sex fixed="F"/> <height default="5.3"/> <weight default="115"/> </xb:template> <xb:constructor args="age"> <xb:constructor args="age, height"/> </org.acme.Foo> <org.acme.Person xb:element="person,child,adult" xb:init="birth" xb:destroy="death" age="java.lang.Integer" height="java.lang.Double" weight="java.lang.Double" sex="char"> <xb:constructor args="age"/> <xb:constructor args="age, height"/> </org.acme.Person> <person class="org.acme.Person" init="birth" destroy="death"> <age type="java.lang.Integer" alias="myAge" default="12"/> <height type="java.lang.Double" default="4.3"/> <weight type="java.lang.Double"/> <sex type="char" required="true"/> <xb:constructor args="age"> <xb:constructor args="age, height"/> </person> <male extends="person"> <sex fixed="M"/> <height default="5.10"/> <weight default="160"/> </male> <female extends="person"> <sex fixed="F"/> <height default="5.3"/> <weight default="115"/> </female> |