ogc-schemas | XML - Java and XML - JS for OGC XSDs
kandi X-RAY | ogc-schemas Summary
kandi X-RAY | ogc-schemas Summary
OGC Schemas project provides [JAXB] and [Jsonix] bindings for some of the XML Schemas defined by OGC. This allows converting between XML (conforming to one of these schemas) and Java objects in Java or JSON in JavaScript.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ogc-schemas
ogc-schemas Key Features
ogc-schemas Examples and Code Snippets
Community Discussions
Trending Discussions on ogc-schemas
QUESTION
I'm using the OGC schemas from https://github.com/highsource/ogc-schemas.
I'm looking at the unmarshalled object structure from deserializing XML to the JaxB object.
I'm trying to construct a custom object to serialize to XML using JaxB.
The filter schema is seen http://schemas.opengis.net/filter/2.0/filter.xsd
I'm unmarshalling the object like so:
JAXBElement filter = (JAXBElement) unmarshal.unmarshal(new File("Filter01.xml"));
Now, I'm looking at the internal objects and see that I have different filter types. I want to create a filter type that is a binarylogicaloperator and initialize it with the proper data. The initialization part of this is what is confusing to me.
IE:
BinaryLogicOpType blop = new BinaryLogicOpType();
ANSWER
Answered 2018-Feb-20 at 20:32Something along the lines:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ogc-schemas
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page