public override void characters(char[] buf, int offset, int len) { // If the SAX handler is reading an element, just spread the call to the parser currentString += new string(buf, offset, len); if (subParsing != NONE) { subParser.characters(buf, offset, len); } }
//@Override //public void error(SAXParseException exception) throws SAXParseException //{ // // On validation, propagate exception // exception.printStackTrace( ); // throw exception; //} public override void characters(char[] buf, int offset, int len) { // Append the new characters currentstring += new string(buf, offset, len); if (reading != READING_NONE) { subParser.characters(buf, offset, len); } }
/* * (non-Javadoc) * * @see es.eucm.eadventure.engine.loader.subparsers.SubParser#characters(char[], int, int) */ public override void characters(char[] buf, int offset, int len) { // If no element is being subparsed if (subParsing == SUBPARSING_NONE) { base.characters(buf, offset, len); } // If it is reading an effect or a condition else { subParser.characters(buf, offset, len); } }
/* * (non-Javadoc) * * @see es.eucm.eadventure.engine.loader.subparsers.SubParser#characters(char[], int, int) */ public override void characters(char[] buf, int offset, int len) { // If no element is being subparsing if (subParsing == SUBPARSING_NONE) { base.characters(buf, offset, len); } // If an effect is being subparsed, spread the call else if (subParsing == SUBPARSING_EFFECT || subParsing == SUBPARSING_CONDITION) { subParser.characters(buf, offset, len); } }
/* * (non-Javadoc) * * @see es.eucm.eadventure.engine.loader.subparsers.SubParser#characters(char[], int, int) */ public override void characters(char[] buf, int offset, int len) { // If no element is being subparsed if (subParsing == SUBPARSING_NONE) { base.characters(buf, offset, len); } /// If there are some kind of subparsing, spread the call else { subParser.characters(buf, offset, len); } }
/* * (non-Javadoc) * * @see es.eucm.eadventure.engine.loader.subparsers.SubParser#characters(char[], int, int) */ public override void characters(char[] buf, int offset, int len) { // If no element is being subparsed if (subParsing == SUBPARSING_NONE) { base.characters(buf, offset, len); } // If an effect is being subparsed else if (subParsing == SUBPARSING_EFFECT) { effectSubParser.characters(buf, offset, len); } }
/* * (non-Javadoc) * * @see es.eucm.eadventure.engine.loader.subparsers.SubParser#characters(char[], int, int) */ public override void characters(char[] buf, int offset, int len) { // If no element is being subparsed, read the characters if (subParsing == SUBPARSING_NONE) { base.characters(buf, offset, len); } // If a condition is being subparsed, spread the call else if (subParsing == SUBPARSING_CONDITION) { conditionSubParser.characters(buf, offset, len); } }