/** * This returns the <code>NamespaceList</code> annotation that was * declared on the type. A list of namespaces are used to simply * declare the namespaces without specifically making the type * belong to any of the declared namespaces. * * @return this returns the namespace declarations, if any */ public NamespaceList getNamespaceList() { return detail.getNamespaceList(); }
/** * This returns the <code>NamespaceList</code> annotation that was * declared on the type. A list of namespaces are used to simply * declare the namespaces without specifically making the type * belong to any of the declared namespaces. * * @return this returns the namespace declarations, if any */ public NamespaceList getNamespaceList() { return detail.getNamespaceList(); }
/** * This returns the <code>NamespaceList</code> annotation that was * declared on the type. A list of namespaces are used to simply * declare the namespaces without specifically making the type * belong to any of the declared namespaces. * * @return this returns the namespace declarations, if any */ public NamespaceList getNamespaceList() { return detail.getNamespaceList(); }
/** * This is used to acquire the namespace annotations that apply to * the scanned class. Namespace annotations are added only if they * have not already been extracted from a more specialized class. * When scanned all the namespace definitions are used to qualify * the XML that is produced from serializing the class. * * @param type this is the type to extract the annotations from */ private void namespace(Detail detail) throws Exception { NamespaceList scope = detail.getNamespaceList(); Namespace namespace = detail.getNamespace(); if(namespace != null) { decorator.add(namespace); } if(scope != null) { Namespace[] list = scope.value(); for(Namespace name : list) { decorator.add(name); } } }
/** * This is used to acquire the namespace annotations that apply to * the scanned class. Namespace annotations are added only if they * have not already been extracted from a more specialized class. * When scanned all the namespace definitions are used to qualify * the XML that is produced from serializing the class. * * @param type this is the type to extract the annotations from */ private void namespace(Detail detail) throws Exception { NamespaceList scope = detail.getNamespaceList(); Namespace namespace = detail.getNamespace(); if(namespace != null) { decorator.add(namespace); } if(scope != null) { Namespace[] list = scope.value(); for(Namespace name : list) { decorator.add(name); } } }
/** * This is used to acquire the namespace annotations that apply to * the scanned class. Namespace annotations are added only if they * have not already been extracted from a more specialized class. * When scanned all the namespace definitions are used to qualify * the XML that is produced from serializing the class. * * @param type this is the type to extract the annotations from */ private void namespace(Detail detail) throws Exception { NamespaceList scope = detail.getNamespaceList(); Namespace namespace = detail.getNamespace(); if(namespace != null) { decorator.add(namespace); } if(scope != null) { Namespace[] list = scope.value(); for(Namespace name : list) { decorator.add(name); } } }