Skip to content

Is there a way to make @XmlElement(true) the default? #202

Answered by pdvrieze
sschuberth asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @sschuberth, yes there is. There are different approaches, but defaultPrimitiveOutputKind should do this. Otherwise, override the policy with, effectiveOutputKind, or defaultOutputKind

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sschuberth
Comment options

@pdvrieze
Comment options

Answer selected by sschuberth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants