Changeset 2201 for trunk/java-client
- Timestamp:
- 2001-03-20T12:37:42+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/GMLDocument.java
r2184 r2201 61 61 while ((element = iterator.next()) != null) { 62 62 // System.err.println("Got an element, getName() = " + element.getName() ); 63 if (element.getName() == "img") { 64 //System.err.println("Got an image tag!"); 65 AttributeSet attributes = element.getAttributes(); 63 AttributeSet attributes = element.getAttributes(); 64 65 Object name = attributes.getAttribute(StyleConstants.NameAttribute); 66 System.err.println(" " + name); 67 if ( attributes.getAttribute(StyleConstants.NameAttribute) == HTML.Tag.IMG) { 68 System.err.println("Got an image!"); 66 69 System.err.println("Num of attributes = " + attributes.getAttributeCount()); 67 70 //Enumeration attributeNames = attributes.getAttributeNames(); … … 70 73 Object attributeValue = attributes.getAttribute(attributeName); 71 74 System.err.println("\t" + attributeName + " = " + attributeValue); 72 } 73 74 Object name = attributes.getAttribute(StyleConstants.NameAttribute); 75 //System.err.println("name = " + name); 76 } 75 } // end for 76 } // end if 77 77 78 } 78 } // end while 79 79 80 80 /* … … 106 106 System.err.println("tag " + tag + " has block status " + tag.isBlock()); 107 107 */ 108 } 108 } //end getImageData 109 109 110 110
Note:
See TracChangeset
for help on using the changeset viewer.