< prev index next >
src/java.xml.bind/share/classes/javax/xml/bind/annotation/XmlSchemaType.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 64,79 ****
* @XmlElement
* @XmlSchemaType(name="date")
* public XMLGregorianCalendar date;
* }
*
! * <!-- Example: Local XML Schema element -->
! * <xs:complexType name="USPrice"/>
! * <xs:sequence>
! * <xs:element name="date" type="xs:date"/>
! * </sequence>
! * </xs:complexType>
* </pre>
*
* <p> <b> Example 2: </b> Customize mapping of XMLGregorianCalendar at package
* level </p>
* <pre>
--- 64,79 ----
* @XmlElement
* @XmlSchemaType(name="date")
* public XMLGregorianCalendar date;
* }
*
! * <!-- Example: Local XML Schema element -->
! * <xs:complexType name="USPrice"/>
! * <xs:sequence>
! * <xs:element name="date" type="xs:date"/>
! * </sequence>
! * </xs:complexType>
* </pre>
*
* <p> <b> Example 2: </b> Customize mapping of XMLGregorianCalendar at package
* level </p>
* <pre>
< prev index next >