ip-address.xsl revision bb8874d71cdd8e5288297b9727703437c6dfcfed
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift<!--
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! CDDL HEADER START
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift !
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! The contents of this file are subject to the terms of the
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! Common Development and Distribution License, Version 1.0 only
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! (the "License"). You may not use this file except in compliance
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! with the License.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift !
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! You can obtain a copy of the license at
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! See the License for the specific language governing permissions
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! and limitations under the License.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift !
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! When distributing Covered Code, include this CDDL HEADER in each
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! file and include the License file at
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! add the following below this CDDL HEADER, with the fields enclosed
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! by brackets "[]" replaced with your own identifying information:
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! Portions Copyright [yyyy] [name of copyright owner]
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift !
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! CDDL HEADER END
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift !
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift !
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! Portions Copyright 2007 Sun Microsystems, Inc.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift ! -->
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift<xsl:stylesheet version="1.0" xmlns:adm="http://www.opends.org/admin"
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift <!--
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift Templates for processing IP address properties.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift -->
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift <xsl:template match="adm:ip-address" mode="java-value-imports">
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift <import>java.net.InetAddress</import>
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift </xsl:template>
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift <xsl:template match="adm:ip-address" mode="java-value-type">
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift <xsl:value-of select="'InetAddress'" />
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift </xsl:template>
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift <xsl:template match="adm:ip-address" mode="java-definition-type">
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift <xsl:value-of select="'IPAddressPropertyDefinition'" />
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift </xsl:template>
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift</xsl:stylesheet>