Update the admin framework to complete the partial support for the
case-insensitive property of the string syntax.
| | |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="case-insensitive" type="xsd:boolean" |
| | | use="optional" default="true"> |
| | | <xsd:annotation> |
| | | <xsd:documentation> |
| | | Indicates whether or not values of this property should |
| | | be treated in a case-insensitive manner. |
| | | </xsd:documentation> |
| | | </xsd:annotation> |
| | | </xsd:attribute> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | |
| | | <xsl:template match="adm:string" mode="java-definition-type"> |
| | | <xsl:value-of select="'StringPropertyDefinition'" /> |
| | | </xsl:template> |
| | | <xsl:template match="adm:string" mode="java-definition-ctor"> |
| | | <xsl:if test="boolean(@case-insensitive)"> |
| | | <xsl:value-of |
| | | select="concat(' builder.setCaseInsensitive(', |
| | | @case-insensitive, ');
')" /> |
| | | </xsl:if> |
| | | </xsl:template> |
| | | </xsl:stylesheet> |