public static interface XMLObfuscator.ElementConfigurer extends XMLObfuscator.Builder
Modifier and Type | Interface and Description |
---|---|
static class |
XMLObfuscator.ElementConfigurer.ObfuscationMode
The possible ways to deal with nested elements.
|
Modifier and Type | Method and Description |
---|---|
default XMLObfuscator.ElementConfigurer |
all()
Indicates that elements nested in elements with the current name will be obfuscated.
|
default XMLObfuscator.ElementConfigurer |
excludeNestedElements()
Indicates that elements nested in elements with the current name will not be obfuscated.
|
XMLObfuscator.ElementConfigurer |
forNestedElements(XMLObfuscator.ElementConfigurer.ObfuscationMode obfuscationMode)
Indicates how to handle nested elements.
|
default XMLObfuscator.ElementConfigurer |
includeNestedElements()
Indicates that elements nested in elements with the current name will be obfuscated.
|
default XMLObfuscator.ElementConfigurer |
textOnly()
Indicates that elements nested in elements with the current name will not be obfuscated.
|
allByDefault, build, caseInsensitiveByDefault, caseSensitiveByDefault, excludeNestedElementsByDefault, forNestedElementsByDefault, generateXML, includeNestedElementsByDefault, limitTo, textOnlyByDefault, transform, withAttribute, withAttribute, withAttribute, withElement, withElement, withElement, withMalformedXMLWarning
default XMLObfuscator.ElementConfigurer textOnly()
excludeNestedElements()
.default XMLObfuscator.ElementConfigurer excludeNestedElements()
forNestedElements(ObfuscationMode)
in combination with XMLObfuscator.ElementConfigurer.ObfuscationMode.EXCLUDE
.default XMLObfuscator.ElementConfigurer all()
includeNestedElements()
.default XMLObfuscator.ElementConfigurer includeNestedElements()
forNestedElements(ObfuscationMode)
in combination with XMLObfuscator.ElementConfigurer.ObfuscationMode.INHERIT
.XMLObfuscator.ElementConfigurer forNestedElements(XMLObfuscator.ElementConfigurer.ObfuscationMode obfuscationMode)
XMLObfuscator.ElementConfigurer.ObfuscationMode.INHERIT
.obfuscationMode
- The obfuscation mode that determines how to handle nested elements.NullPointerException
- If the given obfuscation mode is null
.Copyright © 2020–2023. All rights reserved.