TEST testCase0001 - @XmlSchemaType

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00055
@XmlSchemaType annotation annotation allows a customized mapping to a XML Schema built in type.
@XmlAccessorOrder.type
If the annotation @XmlSchemaType is used as a package level annotation or within @XmlSchemaTypes,
value of @XmlSchemaType.type() must be specified and must be the Java type that is being customized.
A @XmlSchemaType that is specified as a package level annotation must apply at the point of reference as follows:
1. a property/field within a class in package (e.g example.po) whose reference type is @XmlSchemaType.type().

FILES

ItemValue
title testCase0001 - @XmlSchemaType
name testCase0001
source XmlSchemaType006/package-info.java XmlSchemaType006.java XmlSchemaType006.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.packages.XmlSchemaType006.XmlSchemaType006 -j XmlSchemaType006/package-info.java:XmlSchemaType006.java -d XmlSchemaType006.p.xml -TestURL $testURL


TEST testCase0002 - @XmlSchemaType

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00055
@XmlSchemaType annotation annotation allows a customized mapping to a XML Schema built in type.
@XmlAccessorOrder.type
If the annotation @XmlSchemaType is used as a package level annotation or within @XmlSchemaTypes,
value of @XmlSchemaType.type() must be specified and must be the Java type that is being customized.
A @XmlSchemaType that is specified as a package level annotation must apply at the point of reference as follows:
1. a property/field within a class in package (e.g example.po) whose reference type is @XmlSchemaType.type().

FILES

ItemValue
title testCase0002 - @XmlSchemaType
name testCase0002
source XmlSchemaType006/package-info.java XmlSchemaType006.java XmlSchemaType006.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.packages.XmlSchemaType006.XmlSchemaType006 -j XmlSchemaType006/package-info.java:XmlSchemaType006.java -n -d XmlSchemaType006.n.xml -TestURL $testURL


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.