protected void generateExampleXml(Attribute attribute, org.jdom.Element parent, String defaultNs) {
if (!includeDeprecatedFieldsInExample && attribute.getAnnotation(Deprecated.class) != null) {
return;
}
DocumentationExample exampleInfo = attribute.getAnnotation(DocumentationExample.class);
if (exampleInfo == null || !exampleInfo.exclude()) {
String namespace = attribute.getNamespace();
String prefix = namespace == null ? null : ((EnunciateFreemarkerModel) FreemarkerModel.get()).getNamespacesToPrefixes().get(namespace);
String exampleValue = exampleInfo == null || "##default".equals(exampleInfo.value()) ? "..." : exampleInfo.value();
Namespace jdomNS;
if (Namespace.XML_NAMESPACE.getURI().equals(namespace)) {