public final class SortTypeDefsPreProcessor extends Object implements ConfigurationPreProcessor
ConfigurationPreProcessor which additionally sorts all type
codes according to the type hierarchie.| Modifier and Type | Method and Description |
|---|---|
static SortTypeDefsPreProcessor |
getInstance(JaloSession jaloSession) |
List |
getSortedTypeCodes(boolean indent)
Returns a complete list of all type codes sorted according to the type hierarchie.
|
void |
printTypeCodes(List typeCodes) |
InputStream |
process(InputStream inputStream)
Sorts all type tags in the hmc.xml according to the type hierarchie.
|
public static SortTypeDefsPreProcessor getInstance(JaloSession jaloSession)
public List getSortedTypeCodes(boolean indent)
indent - if true is submitted, the type code of a ComposedType will be append to the list of type codes with
white spaces as indention. The number of white spaces used for indention depends on the inheritance
level of the ComposedType in the type hierarchie.public void printTypeCodes(List typeCodes)
public InputStream process(InputStream inputStream)
process in interface ConfigurationPreProcessorinputStream - InputStream containing the original hmc.xml contentCopyright © 2017 SAP SE. All Rights Reserved.