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)
public class LogoHandler extends DefaultHandler{ // =========================================================== // Fields // =========================================================== private boolean in_NewDataSet = false; private boolean in_Table= false; private boolean in_UserID= false; private boolean in_LastUpdated=false; private boolean in_Logo=false; Context mContext; public LogoHandler(Context ctx) { super(); mContext = ctx; } private ParsedExampleDataSet myParsedExampleDataSet = new ParsedExampleDataSet(mContext); // =========================================================== // Getter & Setter // =========================================================== public ParsedExampleDataSet getParsedData() { return this.myParsedExampleDataSet; } // =========================================================== // Methods // =========================================================== @Override public void startDocument() throws SAXException { this.myParsedExampleDataSet = new ParsedExampleDataSet(mContext); } @Override public void endDocument() throws SAXException { // Nothing to do } /** Gets be called on opening tags like: * * Can provide attribute(s), when xml was like: * */ @Override public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException { if (localName.equals("NewDataSet")) { this.in_NewDataSet = true; }else if (localName.equals("Table")) { this.in_Table = true; }else if (localName.equals("UserID")) { this.in_UserID = true; } else if(localName.equals("Logo")) { this.in_Logo= true; } else if(localName.equals("LastUpdated")) { this.in_LastUpdated= true; } } //else if (localName.equals("tagwithnumber")) { // } // Extract an Attribute // String attrValue = atts.getValue("thenumber"); // int i = Integer.parseInt(attrValue); // myParsedExampleDataSet.setExtractedInt(i); // } /** Gets be called on closing tags like: * */ @Override public void endElement(String namespaceURI, String localName, String qName) throws SAXException { if (localName.equals("NewDataSet")) { this.in_NewDataSet = false; }else if (localName.equals("Table")) { this.in_Table= false; }else if (localName.equals("UserID")) { this.in_UserID = false; } else if(localName.equals("Logo")) { this.in_Logo=false; } else if(localName.equals("LastUpdated")) { this.in_LastUpdated= false; } } /** Gets be called on the following structure: * characters */ @Override public void characters(char ch[], int start, int length) { if(this.in_UserID) { myParsedExampleDataSet.setUserID(new String(ch, start, length)); } if(this.in_Logo) { myParsedExampleDataSet.setLogo(new String(ch, start, length)); } } }