Skip to content

Provides Java XML Bindings for the AIXM 5.1 Schema for use with the FAA SWIM FNS Service.

License

Notifications You must be signed in to change notification settings

faa-swim/aixm-5.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Aeronautical Information Exchange Model (AIXM) JAXB

Provides Java XML Bindings for the AIXM 5.1 Schema for use with the FAA SWIM FNS Service.

Installing

  1. Clone this repository
  2. Run mvn clean install
  3. Add dependency to applicable project pom
	<dependency>
		<groupId>us.dot.faa.swim.jaxb.aixm</groupId>
		<artifactId>aixm-5.1</artifactId>
		<version>1.0</version>
	</dependency>

UnMarshalling FNS AIXM Message

	JAXBContext jaxbContext = JAXBContext.newInstance(AIXMBasicMessageType.class);
	Unmarshaller jaxbContext.createUnmarshaller();
	StringReader reader = new StringReader(fnsAixmMessage);
	AIXMBasicMessageType fnsAixmMessageType = null;
	try {
		fnsAixmMessageType = (AIXMBasicMessageType) JAXBIntrospector
				.getValue(jaxbContext.createUnmarshaller().unmarshal(reader));
	} catch (JAXBException e) {
		throw e;
	} finally {
		reader.close();
	}

About

Provides Java XML Bindings for the AIXM 5.1 Schema for use with the FAA SWIM FNS Service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages