Code example for Attributes

Methods: getLength, getValue

0
					.equals("editor"))
					|| rawName.equals("year")) {
				Value = "";
				return; 
			} 
			if ((atts.getLength() > 0) && (atts.getValue("key") != null)) {
				recordTag = rawName;
			} 
		} 
 
		public void endElement(String namespaceURI, String localName,
				String rawName) throws SAXException {
			if (rawName.equals("author") || rawName.equals("editor")) {
 
				// Author gefunden "Value" 
				if (authorMappings.get(Value) == null) {
					Long author_id;
					if(dbconnector!=null) {
					 
						author_id = dbconnector.createAuthor(Value);
					} else {