Produced by Araxis Merge on 6/9/2017 3:49:49 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:49:49 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-client\src\main\java\gov\va\nvap\svc\consenteval\common | XACMLMessageMarshaller.java | Fri Apr 21 20:15:58 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 55 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | package go v.va.nvap. svc.consen teval.comm on; | |||||
| 2 | ||||||
| 3 | import jav a.io.Write r; | |||||
| 4 | ||||||
| 5 | import jav ax.xml.bin d.JAXBCont ext; | |||||
| 6 | import jav ax.xml.bin d.JAXBElem ent; | |||||
| 7 | import jav ax.xml.bin d.JAXBExce ption; | |||||
| 8 | import jav ax.xml.bin d.Marshall er; | |||||
| 9 | import jav ax.xml.nam espace.QNa me; | |||||
| 10 | ||||||
| 11 | import oas is.names.t c.xacml._2 _0.context .schema.os .RequestTy pe; | |||||
| 12 | import oas is.names.t c.xacml._2 _0.context .schema.os .ResponseT ype; | |||||
| 13 | ||||||
| 14 | public cla ss XACMLMe ssageMarsh aller { | |||||
| 15 | /* * | |||||
| 16 | * @param co ntext | |||||
| 17 | * @param re q | |||||
| 18 | * @param wr iter | |||||
| 19 | * / | |||||
| 20 | pu blic stati c void mar shalXACMLR equestToWr iter(final String co ntext, | |||||
| 21 | final RequestTyp e req, fin al Writer writer) { | |||||
| 22 | XACM LMessageMa rshaller.m arshalXACM LToWriter( context, r eq, writer ); | |||||
| 23 | } | |||||
| 24 | ||||||
| 25 | /* * | |||||
| 26 | * @param co ntext | |||||
| 27 | * @param re s | |||||
| 28 | * @param wr iter | |||||
| 29 | * / | |||||
| 30 | pu blic stati c void mar shalXACMLR esponseToW riter(fina l String c ontext, | |||||
| 31 | final ResponseTy pe res, fi nal Writer writer) { | |||||
| 32 | XACM LMessageMa rshaller.m arshalXACM LToWriter( context, r es, writer ); | |||||
| 33 | } | |||||
| 34 | ||||||
| 35 | pr ivate stat ic void ma rshalXACML ToWriter(f inal Strin g context, | |||||
| 36 | final Object obj , final Wr iter write r) { | |||||
| 37 | try { | |||||
| 38 | if (ob j == null) { | |||||
| 39 | return; | |||||
| 40 | } | |||||
| 41 | final JAXBContex t jaxbCont ext = JAXB Context | |||||
| 42 | .newInstan ce(Request Type.class ); | |||||
| 43 | final Marshaller m = jaxbC ontext.cre ateMarshal ler(); | |||||
| 44 | m.setP roperty(Ma rshaller.J AXB_FORMAT TED_OUTPUT , true); | |||||
| 45 | ||||||
| 46 | // m.m arshal(req , System.o ut); | |||||
| 47 | m.mars hal(new JA XBElement( new QName( "uri", "lo cal"), | |||||
| 48 | obj.getCla ss(), obj) , writer); | |||||
| 49 | } ca tch (final JAXBExcep tion e) { | |||||
| 50 | // TOD O Auto-gen erated cat ch block | |||||
| 51 | e.prin tStackTrac e(); | |||||
| 52 | } | |||||
| 53 | ||||||
| 54 | } | |||||
| 55 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.