Searched defs:lang (Results 1 - 4 of 4) sorted by relevance

/glassfish-3.1.2/javaee-api/javax.annotation/src/main/java/javax/annotation/
H A DResource.java43 import java.lang.annotation.*;
44 import static java.lang.annotation.ElementType.*;
45 import static java.lang.annotation.RetentionPolicy.*;
96 Class type() default java.lang.Object.class;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DLocalizedNode.java59 * This class is responsible for handling the xml lang attribute of
66 protected String lang = null; field in class:LocalizedNode
83 lang = attributes.getValue(i);
104 * the lang attribute to a DOM node
109 String lang = (String) itr.next();
110 Element aLocalizedNode = (Element) appendTextChild(parentNode, tagName, (String) localizedMap.get(lang));
111 if (aLocalizedNode!=null && lang!=Locale.getDefault().getLanguage()) {
112 aLocalizedNode.setAttributeNS(TagNames.XML_NAMESPACE, TagNames.XML_NAMESPACE_PREFIX + TagNames.LANG, lang);
H A DIconNode.java97 descriptor.setLocalizedLargeIconUri(lang, largeIcon);
100 descriptor.setLocalizedSmallIconUri(lang, smallIcon);
119 String lang = (String) smallItr.next();
120 String smallIconUri = (String) smallIcons.get(lang);
123 largeIconUri = (String) largeIcons.get(lang);
125 addIconInfo(parentNode, lang, smallIconUri, largeIconUri);
130 String lang = (String) largeItr.next();
131 String largeIconUri = (String) largeIcons.get(lang);
132 if (smallIcons!=null && smallIcons.get(lang)!=null) {
136 addIconInfo(parentNode, lang, nul
145 addIconInfo(Node node, String lang, String smallIconUri, String largeIconUri) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DDescriptor.java168 * @param lang the local identifier (null if using default locale)
171 public void setLocalizedDisplayName(String lang, String displayName) { argument
173 if (lang == null) {
174 lang = Locale.getDefault().getLanguage();
179 displayNames.put(lang, displayName);
257 * @param lang the local identifier (null if using default locale)
260 public void setLocalizedDescription(String lang, String description) { argument
261 if (lang == null) {
262 lang = Locale.getDefault().getLanguage();
267 descriptions.put(lang, descriptio
274 getLocalizedDescription(String lang) argument
301 setLocalizedLargeIconUri(String lang, String uri) argument
315 getLocalizedLargeIconUri(String lang) argument
339 setLocalizedSmallIconUri(String lang, String uri) argument
353 getLocalizedSmallIconUri(String lang) argument
[all...]

Completed in 14 milliseconds