java - Is it possible to prevent some attributes from being marshalled with JAXB? -


i need value changed via xml file.

in other words, have like:

<settings>   <enabled>true</enabled>   <property>something</property> </settings> 

and want enabled value manipulated in xml file. want values loaded file (unmarshalled), want jaxb leave original value in file , output (marshal) other values file.

scenario can required example if while being processed, want modify xml file manually, , disable something, don't want jaxb later overwrite particular value, of course other values need written file after processing date.

is possible achieve jaxb?


Comments

Popular posts from this blog

loops - Spock: How to use test data with @Stepwise -

amazon web services - S3 Pre-signed POST validate file type? -