Searched refs:attr (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/javax/naming/directory/
H A DModificationItem.java59 private Attribute attr; field in class:ModificationItem
67 * @param attr The non-null attribute to use for modification.
68 * @exception IllegalArgumentException If attr is null, or if mod_op is
71 public ModificationItem(int mod_op, Attribute attr) { argument
76 if (attr == null)
80 this.attr = attr;
104 return attr;
118 return ("Add attribute: " + attr.toString());
121 return ("Replace attribute: " + attr
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/
H A DAttribute.java157 Attribute attr = new Attribute(type);
158 attr.value = new byte[len];
159 System.arraycopy(cr.b, off, attr.value, 0, len);
160 return attr;
203 Attribute attr = this;
204 while (attr != null) {
206 attr = attr.next;
238 Attribute attr = this;
240 while (attr !
[all...]
H A DFieldVisitor.java84 * @param attr an attribute.
86 void visitAttribute(Attribute attr); argument
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DPKCS10Attribute.java72 PKCS9Attribute attr = new PKCS9Attribute(derVal);
73 this.attributeId = attr.getOID();
74 this.attributeValue = attr.getValue();
94 * @param attr the PKCS9Attribute to create from.
96 public PKCS10Attribute(PKCS9Attribute attr) { argument
97 this.attributeId = attr.getOID();
98 this.attributeValue = attr.getValue();
111 PKCS9Attribute attr = new PKCS9Attribute(attributeId, attributeValue);
112 attr.derEncode(out);
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DLdapSchemaParser.java275 Attribute attr = null;
280 attr = readNumericOID(desc, pos);
281 String currentName = (String) attr.get(0); // name is OID by default
282 attrs.put(attr);
287 attr = readNextTag(desc, pos);
288 attrs.put(attr);
290 if (attr.getID().equals(NAME_ID)) {
291 currentName = (String) attr.get(0); // use NAME attribute as name
357 Attribute attr = null;
387 attr
1154 writeWOID(Attribute attr) argument
1179 writeQDStrings(Attribute attr) argument
1189 writeQDescrs(Attribute attr) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DOption.java52 * @param attr the attributes associated with the
56 public Option(AttributeSet attr) { argument
57 this.attr = attr.copyAttributes();
58 selected = (attr.getAttribute(HTML.Attribute.SELECTED) != null);
79 return attr;
110 String value = (String) attr.getAttribute(HTML.Attribute.VALUE);
119 private AttributeSet attr; field in class:Option
/openjdk7/jdk/src/share/classes/sun/print/
H A DPrintJobAttributeException.java35 private Attribute attr; field in class:PrintJobAttributeException
40 attr = attrval;
54 if (attr == null) {
57 Attribute [] attrs = { attr};
/openjdk7/jdk/src/share/classes/javax/accessibility/
H A DAccessibleAttributeSequence.java68 * @param attr the <code>AttributeSet</code> shared by this text span
72 public AccessibleAttributeSequence(int start, int end, AttributeSet attr) { argument
75 attributes = attr;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DLabelView.java140 AttributeSet attr = getAttributes();
141 if (attr != null) {
145 font = doc.getFont(attr);
146 fg = doc.getForeground(attr);
147 if (attr.isDefined(StyleConstants.Background)) {
148 bg = doc.getBackground(attr);
152 setUnderline(StyleConstants.isUnderline(attr));
153 setStrikeThrough(StyleConstants.isStrikeThrough(attr));
154 setSuperscript(StyleConstants.isSuperscript(attr));
155 setSubscript(StyleConstants.isSubscript(attr));
[all...]
H A DDocumentFilter.java93 * @param attr the attributes to associate with the inserted
99 AttributeSet attr) throws BadLocationException {
100 fb.insertString(offset, string, attr);
160 * @param attr the attributes to associate with the inserted
166 AttributeSet attr) throws
98 insertString(FilterBypass fb, int offset, String string, AttributeSet attr) argument
165 insertString(int offset, String string, AttributeSet attr) argument
H A DStyledDocument.java151 * @param attr the set of attributes
154 public Color getForeground(AttributeSet attr); argument
161 * @param attr the set of attributes
164 public Color getBackground(AttributeSet attr); argument
172 * @param attr the set of attributes
175 public Font getFont(AttributeSet attr); argument
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DAttributes.java46 Attribute attr = Attribute.read(cr);
47 attrs[i] = attr;
49 map.put(attr.getName(cr.getConstantPool()), attr);
60 Attribute attr = attrs[i];
62 map.put(attr.getName(constant_pool), attr);
83 Attribute attr = attrs[i];
85 if (attr != null && attr
[all...]
H A DAttribute.java160 R visitBootstrapMethods(BootstrapMethods_attribute attr, P p); argument
161 R visitDefault(DefaultAttribute attr, P p); argument
162 R visitAnnotationDefault(AnnotationDefault_attribute attr, P p); argument
163 R visitCharacterRangeTable(CharacterRangeTable_attribute attr, P p); argument
164 R visitCode(Code_attribute attr, P p); argument
165 R visitCompilationID(CompilationID_attribute attr, P p); argument
166 R visitConstantValue(ConstantValue_attribute attr, P p); argument
167 R visitDeprecated(Deprecated_attribute attr, P p); argument
168 R visitEnclosingMethod(EnclosingMethod_attribute attr, P p); argument
169 R visitExceptions(Exceptions_attribute attr, argument
170 visitInnerClasses(InnerClasses_attribute attr, P p) argument
171 visitLineNumberTable(LineNumberTable_attribute attr, P p) argument
172 visitLocalVariableTable(LocalVariableTable_attribute attr, P p) argument
173 visitLocalVariableTypeTable(LocalVariableTypeTable_attribute attr, P p) argument
174 visitRuntimeVisibleAnnotations(RuntimeVisibleAnnotations_attribute attr, P p) argument
175 visitRuntimeInvisibleAnnotations(RuntimeInvisibleAnnotations_attribute attr, P p) argument
176 visitRuntimeVisibleParameterAnnotations(RuntimeVisibleParameterAnnotations_attribute attr, P p) argument
177 visitRuntimeInvisibleParameterAnnotations(RuntimeInvisibleParameterAnnotations_attribute attr, P p) argument
178 visitSignature(Signature_attribute attr, P p) argument
179 visitSourceDebugExtension(SourceDebugExtension_attribute attr, P p) argument
180 visitSourceFile(SourceFile_attribute attr, P p) argument
181 visitSourceID(SourceID_attribute attr, P p) argument
182 visitStackMap(StackMap_attribute attr, P p) argument
183 visitStackMapTable(StackMapTable_attribute attr, P p) argument
184 visitSynthetic(Synthetic_attribute attr, P p) argument
[all...]
/openjdk7/jaxp/src/com/sun/xml/internal/stream/events/
H A DStartElementEvent.java139 Attribute attr = null;
141 attr = (Attribute) it.next();
143 startElement.append(attr.toString());
150 Namespace attr = null;
152 attr = (Namespace) it.next();
154 startElement.append(attr.toString());
199 void addAttribute(Attribute attr){ argument
200 if(attr.isNamespace()){
201 fNamespaces.add(attr);
203 fAttributes.put(attr
216 addNamespaceAttribute(Namespace attr) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DPSVIAttrNSImpl.java203 * @param attr the source of attribute PSVI items
205 public void setPSVI(AttributePSVI attr) { argument
206 this.fDeclaration = attr.getAttributeDeclaration();
207 this.fValidationContext = attr.getValidationContext();
208 this.fValidity = attr.getValidity();
209 this.fValidationAttempted = attr.getValidationAttempted();
210 this.fErrorCodes = attr.getErrorCodes();
211 this.fNormalizedValue = attr.getSchemaNormalizedValue();
212 this.fActualValue = attr.getActualNormalizedValue();
213 this.fActualValueType = attr
[all...]
H A DDeferredElementNSImpl.java126 AttrImpl attr = (AttrImpl) ownerDocument.getNodeObject(attrIndex);
130 if (!attr.getSpecified() && (seenSchemaDefault ||
131 (attr.getNamespaceURI() != null &&
132 attr.getNamespaceURI() != NamespaceContext.XMLNS_URI &&
133 attr.getName().indexOf(':') < 0))) {
135 attrs.setNamedItemNS(attr);
138 attrs.setNamedItem(attr);
/openjdk7/jdk/src/share/classes/javax/management/
H A DAttributeValueExp.java35 * Instances of this class are usually obtained using {@link Query#attr(String)
36 * Query.attr}.</p>
52 private String attr; field in class:AttributeValueExp
65 * specified object attribute, named attr.
67 * @param attr the name of the attribute whose value is the value
70 public AttributeValueExp(String attr) { argument
71 this.attr = attr;
80 return attr;
123 return attr;
[all...]
H A DClassAttributeValueExp.java78 private String attr; field in class:ClassAttributeValueExp
84 /* Compatibility: we have an attr field that we must hold on to
87 attr = "Class";
118 return attr;
/openjdk7/jdk/test/javax/management/monitor/
H A DDerivedGaugeMonitorTest.java173 public static void check(String attr, MBeanServer server, ObjectName mon, argument
176 check(attr,server,mon,mbean,obj);
179 public static void check(String attr, MBeanServer server, ObjectName mon, argument
182 throw new Exception("Derived gauge for: " + attr +
185 throw new Exception("Derived gauge for: " + attr +
189 public static void check(String attr, MBeanServer server, ObjectName mon, argument
195 throw new Exception(attr+": Can't verify test case: " +
198 check(attr,server,mon,mbean,obj);
201 public static void test(String attr) throws Exception { argument
202 System.err.println("Testing "+ attr);
[all...]
/openjdk7/jdk/src/share/classes/java/util/jar/
H A DJarEntry.java38 Attributes attr; field in class:JarEntry
73 this.attr = je.attr;
86 return attr;
/openjdk7/jdk/test/javax/print/attribute/
H A DAttributeTest.java52 Media attr[] = (Media[]) attrVal;
53 for (int z = 0; z < attr.length; z ++) {
54 if (!service[x].isAttributeValueSupported(attr[z], flavors[y], null)) {
56 " and isAttributeValueSupported, for the attribute: " + attr[z] +
/openjdk7/jdk/src/share/classes/java/text/
H A DDontCareFieldPosition.java38 public void formatted(Format.Field attr, Object value, int start,
41 public void formatted(int fieldID, Format.Field attr, Object value,
/openjdk7/jdk/src/share/classes/javax/swing/text/rtf/
H A DMockAttributeSet.java55 public boolean isEqual(AttributeSet attr) argument
75 public void addAttributes(AttributeSet attr) argument
77 Enumeration as = attr.getAttributeNames();
80 backing.put(el, attr.getAttribute(el));
89 public void removeAttributes(AttributeSet attr) argument
115 public boolean containsAttributes(AttributeSet attr) argument
/openjdk7/jdk/test/javax/management/mxbean/
H A DComparatorExceptionTest.java67 for (String attr : new String[] {"SortedSet", "SortedMap"}) {
69 Object value = mbs.getAttribute(name, attr);
70 fail("get " + attr + " did not throw exception");
79 System.out.println("Correct exception for " + attr);
81 fail("get " + attr + " got wrong exception");
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DAttributeWriter.java90 public void write(Object owner, Attribute attr, ConstantPool constant_pool) { argument
91 if (attr != null) {
97 attr.accept(this, null);
108 for (Attribute attr: attrs)
109 attr.accept(this, null);
113 public Void visitDefault(DefaultAttribute attr, Void ignore) { argument
114 byte[] data = attr.info;
119 print(attr.getName(constant_pool));
122 print("attribute name = #" + attr.attribute_name_index);
125 println("length = 0x" + toHex(attr
146 visitAnnotationDefault(AnnotationDefault_attribute attr, Void ignore) argument
155 visitBootstrapMethods(BootstrapMethods_attribute attr, Void p) argument
174 visitCharacterRangeTable(CharacterRangeTable_attribute attr, Void ignore) argument
212 visitCode(Code_attribute attr, Void ignore) argument
217 visitCompilationID(CompilationID_attribute attr, Void ignore) argument
222 visitConstantValue(ConstantValue_attribute attr, Void ignore) argument
232 visitDeprecated(Deprecated_attribute attr, Void ignore) argument
237 visitEnclosingMethod(EnclosingMethod_attribute attr, Void ignore) argument
263 visitExceptions(Exceptions_attribute attr, Void ignore) argument
277 getJavaException(Exceptions_attribute attr, int index) argument
285 visitInnerClasses(InnerClasses_attribute attr, Void ignore) argument
350 visitLineNumberTable(LineNumberTable_attribute attr, Void ignore) argument
360 visitLocalVariableTable(LocalVariableTable_attribute attr, Void ignore) argument
375 visitLocalVariableTypeTable(LocalVariableTypeTable_attribute attr, Void ignore) argument
389 visitRuntimeVisibleAnnotations(RuntimeVisibleAnnotations_attribute attr, Void ignore) argument
401 visitRuntimeInvisibleAnnotations(RuntimeInvisibleAnnotations_attribute attr, Void ignore) argument
413 visitRuntimeVisibleParameterAnnotations(RuntimeVisibleParameterAnnotations_attribute attr, Void ignore) argument
430 visitRuntimeInvisibleParameterAnnotations(RuntimeInvisibleParameterAnnotations_attribute attr, Void ignore) argument
447 visitSignature(Signature_attribute attr, Void ignore) argument
462 visitSourceDebugExtension(SourceDebugExtension_attribute attr, Void ignore) argument
467 visitSourceFile(SourceFile_attribute attr, Void ignore) argument
472 getSourceFile(SourceFile_attribute attr) argument
480 visitSourceID(SourceID_attribute attr, Void ignore) argument
485 visitStackMap(StackMap_attribute attr, Void ignore) argument
497 visitStackMapTable(StackMapTable_attribute attr, Void ignore) argument
644 visitSynthetic(Synthetic_attribute attr, Void ignore) argument
[all...]

Completed in 113 milliseconds

1234567891011>>