Instead of adding another parser, why wasn't the constraint specified as
XML. i.e.
<AttributeDef Name="Temperature">
<Description>Temperature in K</Description>
<Constraint>
<IsBetween Min="0" Max="1e30"/>
</Constraint>
</AttributeDef>
<AttributeDef Name="Temperature">
<Description>Temperature in K</Description>
<Constraint class="com.hyprotech.xml.mycustomconstraint.class">
<param name="A" value="75"/>
</Constraint>
</AttributeDef>
<AttributeDef Name="Temperature">
<Description>Temperature in K</Description>
<Constraint>
<And>
<Constraint
class="com.hyprotech.xml.mycustomconstraint">
<param name="A" value="75"/>
</Constraint>
<IsBetween Min="0" Max="1e30"/>
</And>
</Constraint>
</AttributeDef>