Lines Matching refs:AttributeSchema

36 import static com.sun.identity.sm.AttributeSchema.UIType.*;
43 import com.sun.identity.sm.AttributeSchema;
93 mapUITypeToName.put(AttributeSchema.UIType.BUTTON, "button");
94 mapUITypeToName.put(AttributeSchema.UIType.LINK, "link");
95 mapUITypeToName.put(AttributeSchema.UIType.ADDREMOVELIST, "addremove");
96 mapUITypeToName.put(AttributeSchema.UIType.NAME_VALUE_LIST,
98 mapUITypeToName.put(AttributeSchema.UIType.RADIO, "radio");
99 mapUITypeToName.put(AttributeSchema.UIType.UNORDEREDLIST,
101 mapUITypeToName.put(AttributeSchema.UIType.ORDEREDLIST,
103 mapUITypeToName.put(AttributeSchema.UIType.MAPLIST, "maplist");
104 mapUITypeToName.put(AttributeSchema.UIType.GLOBALMAPLIST,
106 mapUITypeToName.put(AttributeSchema.UIType.SCRIPTSELECT, "scriptSelect");
108 mapTypeToName.put(AttributeSchema.Type.LIST, "list");
109 mapTypeToName.put(AttributeSchema.Type.MULTIPLE_CHOICE,
111 mapTypeToName.put(AttributeSchema.Type.SINGLE_CHOICE, "single_choice");
112 mapTypeToName.put(AttributeSchema.Type.SINGLE, "single");
114 mapSyntaxToName.put(AttributeSchema.Syntax.BOOLEAN, "boolean");
115 mapSyntaxToName.put(AttributeSchema.Syntax.PASSWORD, "password");
116 mapSyntaxToName.put(AttributeSchema.Syntax.ENCRYPTED_PASSWORD,
118 mapSyntaxToName.put(AttributeSchema.Syntax.PARAGRAPH, "paragraph");
119 mapSyntaxToName.put(AttributeSchema.Syntax.XML, "xml");
120 mapSyntaxToName.put(AttributeSchema.Syntax.SCRIPT, "script");
121 mapSyntaxToName.put(AttributeSchema.Syntax.STRING, "string");
122 mapSyntaxToName.put(AttributeSchema.Syntax.NUMERIC, "numeric");
123 mapSyntaxToName.put(AttributeSchema.Syntax.NUMBER_RANGE,"number_range");
124 mapSyntaxToName.put(AttributeSchema.Syntax.NUMBER, "number");
125 mapSyntaxToName.put(AttributeSchema.Syntax.DN, "dn");
126 mapSyntaxToName.put(AttributeSchema.Syntax.URL, "url");
142 static String getTagClassName(AttributeSchema as) {
144 AttributeSchema.UIType uitype = as.getUIType();
155 AttributeSchema.Type type = as.getType();
167 AttributeSchema.Syntax syntax = as.getSyntax();
203 AttributeSchema as = (AttributeSchema)iter.next();
227 AttributeSchema as = (AttributeSchema)iter.next();
246 AttributeSchema as = (AttributeSchema)iter.next();
420 AttributeSchema as,
444 AttributeSchema as,
461 AttributeSchema.Type type = as.getType();
462 AttributeSchema.UIType uitype = as.getUIType();
464 type.equals(AttributeSchema.Type.MULTIPLE_CHOICE) &&
466 uitype.equals(AttributeSchema.UIType.ADDREMOVELIST);
578 if (type.equals(AttributeSchema.Type.MULTIPLE_CHOICE)) {
580 !uitype.equals(AttributeSchema.UIType.ADDREMOVELIST)) {
609 private String getStringFieldSize(AttributeSchema as) {
611 AttributeSchema.Syntax syntax = as.getSyntax();
636 private Map<String, String> getTextAreaSize(AttributeSchema as) {
638 final AttributeSchema.Syntax syntax = as.getSyntax();
651 AttributeSchema as,
654 AttributeSchema.Syntax syntax = as.getSyntax();
655 if (syntax.equals(AttributeSchema.Syntax.DATE)) {
662 AttributeSchema as,
691 private void buildFileUploadXML(AttributeSchema as, StringBuffer xml, AMModel model) {
700 private void buildScriptSelectXML(AttributeSchema as, StringBuffer xml, AMModel model, ResourceBundle bundle,
734 AttributeSchema as,
747 AttributeSchema as,
765 AttributeSchema as,
824 AttributeSchema as,
829 AttributeSchema.Type type = as.getType();
831 if (type.equals(AttributeSchema.Type.SINGLE)) {
832 AttributeSchema.UIType uitype = as.getUIType();
834 if ((uitype != null) && uitype.equals(AttributeSchema.UIType.RADIO))
842 } else if (type.equals(AttributeSchema.Type.SINGLE_CHOICE)) {
844 } else if (type.equals(AttributeSchema.Type.LIST)) {
850 AttributeSchema as,
871 AttributeSchema as,
934 AttributeSchema as,
939 if (AttributeSchema.ListOrder.INSERTION.equals(as.getListOrder())) {
967 private Map<String, String> getSortedChoiceValueMap(AttributeSchema as, AMModel model) {
980 AttributeSchema as,
1120 AttributeSchema as = (AttributeSchema)iter.next();
1139 if (AttributeSchema.Syntax.SCRIPT.equals(as.getSyntax())) {
1150 Set<AttributeSchema> attributeSchemas,
1158 Set<AttributeSchema> as = getAttributeSchemaForSection(attributeSchemas, sectionList);
1170 protected Set<AttributeSchema> getAttributeSchemaForSection(Set<AttributeSchema> attributeSchemas, List<String> sectionList) {
1172 Set<AttributeSchema> result = new LinkedHashSet<AttributeSchema>();
1174 for (AttributeSchema attribute : attributeSchemas) {
1226 protected String getAttributeNameForPropertyXML(AttributeSchema as) {
1249 private static boolean needRequiredTag(AttributeSchema as) {