equal
deleted
inserted
replaced
27 import java.util.Collection; |
27 import java.util.Collection; |
28 import java.util.Collections; |
28 import java.util.Collections; |
29 import java.util.List; |
29 import java.util.List; |
30 import javax.xml.bind.annotation.XmlElement; |
30 import javax.xml.bind.annotation.XmlElement; |
31 import javax.xml.bind.annotation.XmlRootElement; |
31 import javax.xml.bind.annotation.XmlRootElement; |
|
32 import javax.xml.bind.annotation.XmlTransient; |
32 |
33 |
33 /** |
34 /** |
34 * |
35 * |
35 * @author Ing. František Kučera (frantovo.cz) |
36 * @author Ing. František Kučera (frantovo.cz) |
36 */ |
37 */ |
97 FormatterDefinition fd = findByName(formatters, name); |
98 FormatterDefinition fd = findByName(formatters, name); |
98 return fd == null ? findByName(buildInFormatters, name) : fd; |
99 return fd == null ? findByName(buildInFormatters, name) : fd; |
99 } |
100 } |
100 } |
101 } |
101 |
102 |
|
103 @XmlTransient |
|
104 public Collection<FormatterDefinition> getBuildInFormatters() { |
|
105 return buildInFormatters; |
|
106 } |
|
107 |
102 /** |
108 /** |
103 * @return name of default formatter, is used if name is not specified on CLI |
109 * @return name of default formatter, is used if name is not specified on CLI |
104 */ |
110 */ |
105 @XmlElement(name = "defaultFormatter", namespace = CONFIGURATION) |
111 @XmlElement(name = "defaultFormatter", namespace = CONFIGURATION) |
106 public String getDefaultFormatter() { |
112 public String getDefaultFormatter() { |