element javaType

element {http://java.sun.com/xml/ns/jaxb}javaType

Abstractfalse (This can be used in an instance)
Nillablefalse (Instance values cannot use xsi:nil)
Target Namespacehttp://java.sun.com/xml/ns/jaxb
Declared Namespacesxmlns:xs=http://www.w3.org/2001/XMLSchema
xmlns:jaxb=http://java.sun.com/xml/ns/jaxb


Source

<xs:element name="javaType">
    <
xs:annotation>
        <
xs:documentation>Data type conversions; overriding builtins</xs:documentation>
    </
xs:annotation>
    <
xs:complexType>
        <
xs:attribute name="name" use="required" type="jaxb:javaIdentifierType">
            <
xs:annotation>
                <
xs:documentation>name of the java type to which xml type is to be bound.</xs:documentation>
            </
xs:annotation>
        </
xs:attribute>
        <
xs:attribute name="xmlType" type="xs:QName">
            <
xs:annotation>
                <
xs:documentation>
xml type to which java datatype has to be bound.
Must be present when javaType is scoped to globalBindings
                
</xs:documentation>
            </
xs:annotation>
        </
xs:attribute>
        <
xs:attribute name="parseMethod" type="jaxb:javaIdentifierType"/>
        <
xs:attribute name="printMethod" type="jaxb:javaIdentifierType"/>
        <
xs:attribute name="hasNsContext" default="false" type="xs:boolean">
            <
xs:annotation>
                <
xs:documentation>
If true, the parsMethod and printMethod must reference a method
signtature that has a second parameter of type NamespaceContext.
                
</xs:documentation>
            </
xs:annotation>
        </
xs:attribute>
    </
xs:complexType>
</
xs:element>


Documentation

Data type conversions;  overriding builtins


element javaType


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.