Searched refs:elem (Results 51 - 75 of 241) sorted by relevance

12345678910

/openjdk7/langtools/test/tools/javac/processing/model/testgetallmembers/
H A DMain.java80 TypeElement elem = elements.getTypeElement(type);
81 if (elem == null && type.indexOf('$') > 0) {
87 packages.add(getPackage(elem).getQualifiedName().toString());
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DWrappedPlainView.java59 * @param elem the element underlying the view
61 public WrappedPlainView(Element elem) { argument
62 this(elem, false);
70 * @param elem the element underlying the view
73 public WrappedPlainView(Element elem, boolean wordWrap) { argument
74 super(elem, Y_AXIS);
107 Element elem;
117 elem = line.getElement(idx);
118 int start = Math.max(elem.getStartOffset(), p0);
119 int end = Math.min(elem
128 drawText(Element elem, int p0, int p1, Graphics g, int x, int y) argument
533 WrappedLine(Element elem) argument
[all...]
H A DLabelView.java43 * @param elem the element
45 public LabelView(Element elem) { argument
46 super(elem);
H A DAbstractWriter.java272 * @param elem an <code>Element</code>
277 protected String getText(Element elem) throws BadLocationException { argument
278 return doc.getText(elem.getStartOffset(),
279 elem.getEndOffset() - elem.getStartOffset());
288 * @param elem an Element.
293 protected void text(Element elem) throws BadLocationException, argument
295 int start = Math.max(getStartOffset(), elem.getStartOffset());
296 int end = Math.min(getEndOffset(), elem.getEndOffset());
H A DPlainView.java45 * @param elem the element
47 public PlainView(Element elem) { argument
48 super(elem);
78 Element elem;
87 elem = line.getElement(i);
88 x = drawElement(lineIndex, elem, g, x, y);
96 private int drawElement(int lineIndex, Element elem, Graphics g, int x, int y) throws BadLocationException { argument
97 int p0 = elem.getStartOffset();
98 int p1 = elem.getEndOffset();
104 AttributeSet attr = elem
[all...]
H A DStyledEditorKit.java307 public View create(Element elem) { argument
308 String kind = elem.getName();
311 return new LabelView(elem);
313 return new ParagraphView(elem);
315 return new BoxView(elem, View.Y_AXIS);
317 return new ComponentView(elem);
319 return new IconView(elem);
324 return new LabelView(elem);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DHTMLWriter.java273 * @param elem an Element
278 protected void emptyTag(Element elem) throws BadLocationException, IOException { argument
284 AttributeSet attr = elem.getAttributes();
290 text(elem);
292 comment(elem);
294 boolean isBlock = isBlockTag(elem.getAttributes());
327 write(elem.getName());
331 Document doc = elem.getDocument();
364 * @param elem an Element
367 protected void startTag(Element elem) throw argument
490 text(Element elem) argument
581 endTag(Element elem) argument
618 comment(Element elem) argument
674 synthesizedElement(Element elem) argument
[all...]
H A DFrameView.java60 * @param elem the element to represent.
62 public FrameView(Element elem) { argument
63 super(elem);
68 Element elem = getElement();
69 AttributeSet attributes = elem.getAttributes();
74 URL base = ((HTMLDocument)elem.getDocument()).getBase();
368 Element elem = getElement();
369 AttributeSet attributes = elem.getAttributes();
374 URL base = ((HTMLDocument)elem.getDocument()).getBase();
H A DIsindexView.java51 public IsindexView(Element elem) { argument
52 super(elem);
H A DListView.java41 * @param elem the element to create a view for
43 public ListView(Element elem) { argument
44 super(elem, View.Y_AXIS);
H A DHTMLDocument.java984 * <p>Consider the following structure (the <code>elem</code>
995 * <p>Invoking <code>setInnerHTML(elem, "&lt;ul>&lt;li>")</code>
1009 * <p>Parameter <code>elem</code> must not be a leaf element,
1011 * If either <code>elem</code> or <code>htmlText</code> parameter
1019 * @param elem the branch element whose children will be replaced
1020 * @param htmlText the string to be parsed and assigned to <code>elem</code>
1021 * @throws IllegalArgumentException if <code>elem</code> is a leaf
1026 public void setInnerHTML(Element elem, String htmlText) throws argument
1029 if (elem != null && elem
1103 setOuterHTML(Element elem, String htmlText) argument
1181 insertAfterStart(Element elem, String htmlText) argument
1246 insertBeforeEnd(Element elem, String htmlText) argument
1309 insertBeforeStart(Element elem, String htmlText) argument
1367 insertAfterEnd(Element elem, String htmlText) argument
[all...]
H A DInlineView.java43 * @param elem the element
45 public InlineView(Element elem) { argument
46 super(elem);
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serialize/
H A DTextSerializer.java249 protected void serializeElement( Element elem )
257 tagName = elem.getTagName();
279 if ( elem.hasChildNodes() ) {
283 child = elem.getFirstChild();
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaTextPasswordFieldUI.java56 public View create(final Element elem) { argument
57 return new AquaPasswordView(elem);
88 public AquaPasswordView(final Element elem) { argument
89 super(elem);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/developer/
H A DMemberSubmissionEndpointReference.java123 for (Element elem : elements) {
124 if (elem.getNamespaceURI().equals(WSDLConstants.NS_WSDL) &&
125 elem.getLocalName().equals(WSDLConstants.QNAME_DEFINITIONS.getLocalPart())) {
126 wsdlElement = elem;
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DUtils.java154 public static boolean canBeRenderedAsArray(Object elem) { argument
155 if (isSupportedArray(elem)) {
158 if (elem instanceof Collection) {
159 Collection<?> c = (Collection<?>) elem;
173 if (elem instanceof Map) {
174 return !(elem instanceof TabularData);
188 public static boolean isSupportedArray(Object elem) { argument
189 if (elem == null || !elem.getClass().isArray()) {
192 Class<?> ct = elem
[all...]
/openjdk7/jdk/test/javax/swing/MultiUIDefaults/
H A DTest6860438.java62 void checkEnumeration(Enumeration<Object> e, Object elem, argument
66 if (e.nextElement() == elem) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/factory/
H A DStAXEventFactory.java135 StartElementEvent elem = new StartElementEvent(prefix, namespaceUri, localName);
136 elem.addAttributes(attributes);
137 elem.addNamespaces(namespaces);
138 elem.setNamespaceContext(context);
139 if(location != null)elem.setLocation(location);
140 return elem;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DDOMResultBuilder.java225 Element elem;
228 elem = fDocument.createElementNS(element.uri, element.rawname);
231 elem.setAttributeNS(fAttributeQName.uri, fAttributeQName.rawname, attributes.getValue(i));
236 elem = fDocumentImpl.createElementNS(element.uri, element.rawname, element.localpart);
255 ((ElementImpl) elem).setIdAttributeNode (attr, true);
262 ((ElementImpl) elem).setIdAttributeNode (attr, true);
267 elem.setAttributeNode(attr);
270 append(elem);
271 fCurrentNode = elem;
273 fFragmentRoot = elem;
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsLinkSupport.java355 int elem = 0;
356 while (elem < path.getNameCount()) {
357 WindowsPath current = path.getRoot().resolve(path.subpath(0, elem+1));
381 if ((elem+1) < count) {
382 remainder = path.subpath(elem+1, count);
398 elem = 0;
401 elem++;
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DDerIndefLenConverter.java97 Object elem = null;
102 elem = ndefsList.get(index);
103 if (elem instanceof Integer) {
106 numOfEncapsulatedLenBytes += ((byte[])elem).length - 3;
113 int sectionLen = dataPos - ((Integer)elem).intValue() +
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/toa/
H A DTransientObjectManager.java63 Element elem = freeList;
66 byte[] result = elem.getKey(servant, servantData);
68 dprint( "storeServant returns key for element " + elem ) ;
/openjdk7/hotspot/test/compiler/7196199/
H A DTest7196199.java181 static int verify(String text, int i, float elem, float val) { argument
182 if (elem != val) {
183 System.err.println(text + "[" + i + "] = " + elem + " != " + val);
/openjdk7/jaxp/src/com/sun/xml/internal/stream/events/
H A DXMLEventFactoryImpl.java189 StartElementEvent elem = new StartElementEvent(prefix, namespaceUri, localName);
190 elem.addAttributes(attributes);
191 elem.addNamespaceAttributes(namespaces);
192 elem.setNamespaceContext(context);
193 if(location != null)elem.setLocation(location);
194 return elem;
/openjdk7/jdk/src/share/classes/org/jcp/xml/dsig/internal/dom/
H A DDOMX509Data.java219 private X509Certificate unmarshalX509Certificate(Element elem) argument
222 ByteArrayInputStream bs = unmarshalBase64Binary(elem);
229 private X509CRL unmarshalX509CRL(Element elem) throws MarshalException { argument
231 ByteArrayInputStream bs = unmarshalBase64Binary(elem);
238 private ByteArrayInputStream unmarshalBase64Binary(Element elem) argument
244 return new ByteArrayInputStream(Base64.decode(elem));

Completed in 927 milliseconds

12345678910