Compile a simple schema to create a java binding classes. Test the methods createMarshaller, createUnmarshaller and createValidator using this context.


TEST JAXBContext_CTTests - createMarshaller, createUnmarshaller and createValidator tests. (content tree test)

DESCRIPTION

The test JAXBContext_CTTests.java contains the following test cases:

DescriptionTestCase
The test creates a marshaller object, creates a java content tree and marshals it using the marshaller. createMarshaller001
The test creates a unmarshaller object and unmarshals JAXBContext.xml. createUnmarshaller001
The test creates a binder object, unmarshals JAXBContext.xml and then modifies result. createBinder001
public Binder createBinder(Class domType) Returns always a new valid Binder object. createBinder002
The test creates a JAXBIntrospector object. createJAXBIntrospector001

FILES

ItemValue
title JAXBContext_CTTests - createMarshaller, createUnmarshaller and createValidator tests. (content tree test)
name JAXBContext_CTTests
source ObjectFactory.java JAXBContext_CTTests.java
schemaName JAXBContext.xsd
executeClass javasoft.sqe.tests.bind.jaxbcontext.JAXBContext_CTTests
executeArgs -TestURL $testURL -package $package -schema JAXBContext.xsd
keywords positive document runtime
package javasoft.sqe.tests.bind.jaxbcontext


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