Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package com.thomas.annuaire; import java.util.jar.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; public class Handler extends DefaultHandler{ // =========================================================== // Fields // =========================================================== private boolean in_outertag = false; private boolean in_innertag = false; private boolean in_id = false; private boolean in_displayname = false; private boolean in_email = false; private boolean in_fixedlinenumber= false; private boolean in_fixedlineshortnumber=false; private boolean in_mobilephonenumber=false; private boolean in_telephoneastreinte=false; private boolean in_telephoneetranger=false; private boolean in_sitename=false; private boolean in_buildingname=false; private ParsedDataSet myParsedDataSet = new ParsedDataSet(); // =========================================================== // Getter & Setter // =========================================================== public ParsedDataSet getParsedData() { return this.myParsedDataSet; } // =========================================================== // Methods // =========================================================== public void startDocument() throws SAXException { this.myParsedDataSet = new ParsedDataSet(); } public void endDocument() throws SAXException { // Nothing to do } /** Gets be called on opening tags like: * * Can provide attribute(s), when xml was like: * */ public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { if (localName.equals("xml")) { this.in_outertag = true; }else if (localName.equals("Personne")) { this.in_innertag = true; }else if (localName.equals("Id")) { this.in_id = true; }else if (localName.equals("DisplayName")) { this.in_displayname= true; }else if (localName.equals("Email")) { this.in_email= true; }else if (localName.equals("FixedLineNumber")) { this.in_fixedlinenumber= true; }else if (localName.equals("FixedLineShortNumber")) { this.in_fixedlineshortnumber= true; }else if (localName.equals("MobilePhoneNumber")) { this.in_mobilephonenumber= true; }else if (localName.equals("TelephoneAstreinte")) { this.in_telephoneastreinte= true; }else if (localName.equals("TelephoneEtranger")) { this.in_telephoneetranger= true; }else if (localName.equals("SiteName")) { this.in_sitename= true; }else if (localName.equals("BuildingName")) { this.in_buildingname= true; } } /** Gets be called on closing tags like: * */ public void endElement(String namespaceURI, String localName, String qName) throws SAXException { if (localName.equals("xml")) { this.in_outertag = false; }else if (localName.equals("Personne")) { this.in_innertag = false; }else if (localName.equals("Id")) { this.in_id = false; }else if (localName.equals("DisplayName")) { this.in_displayname= false; }else if (localName.equals("Email")) { this.in_email= false; }else if (localName.equals("FixedLineNumber")) { this.in_fixedlinenumber= false; }else if (localName.equals("FixedLineShortNumber")) { this.in_fixedlineshortnumber= false; }else if (localName.equals("MobilePhoneNumber")) { this.in_mobilephonenumber= false; }else if (localName.equals("TelephoneAstreinte")) { this.in_telephoneastreinte= false; }else if (localName.equals("TelephoneEtranger")) { this.in_telephoneetranger= false; }else if (localName.equals("SiteName")) { this.in_sitename= false; }else if (localName.equals("BuildingName")) { this.in_buildingname= false; } } public void characters(char ch[], int start, int length) { if(this.in_id){ myParsedDataSet.setId(new String(ch, start, length)); } }