/** * End of element */ public void endElement() throws XPathException { if (inStartTag) { startContent(); } nextReceiver.endElement(); previousAtomic = false; level--; }
/** * Character data */ public void characters(CharSequence chars, Location locationId, int properties) throws XPathException { if (chars.length() > 0) { if (inStartTag) { startContent(); } nextReceiver.characters(chars, locationId, properties); } previousAtomic = false; }
/** * Processing Instruction */ public void processingInstruction(String target, CharSequence data, Location locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } nextReceiver.processingInstruction(target, data, locationId, properties); previousAtomic = false; }
/** * Character data */ public void characters(CharSequence chars, int locationId, int properties) throws XPathException { if (chars.length() > 0) { if (inStartTag) { startContent(); } nextReceiver.characters(chars, locationId, properties); } previousAtomic = false; }
/** * Processing Instruction */ public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } nextReceiver.processingInstruction(target, data, locationId, properties); previousAtomic = false; }
/** * End of element */ public void endElement() throws XPathException { if (!contentStarted) { startContent(); } nextReceiver.endElement(); previousAtomic = false; }
/** * Output a comment */ public void comment(CharSequence chars, int locationId, int properties) throws XPathException { if (!contentStarted) { startContent(); } nextReceiver.comment(chars, locationId, properties); previousAtomic = false; }
/** * End of element */ public void endElement() throws XPathException { if (inStartTag) { startContent(); } nextReceiver.endElement(); previousAtomic = false; level--; }
/** * End of element */ public void endElement() throws XPathException { if (inStartTag) { startContent(); } nextReceiver.endElement(); previousAtomic = false; level--; }
/** * Character data */ public void characters(CharSequence chars, Location locationId, int properties) throws XPathException { if (chars.length() > 0) { if (inStartTag) { startContent(); } nextReceiver.characters(chars, locationId, properties); } previousAtomic = false; }
/** * Output a comment */ public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } nextReceiver.comment(chars, locationId, properties); previousAtomic = false; }
/** * Output a comment */ public void comment(CharSequence chars, int locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } nextReceiver.comment(chars, locationId, properties); previousAtomic = false; }
/** * Processing Instruction */ public void processingInstruction(String target, CharSequence data, Location locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } nextReceiver.processingInstruction(target, data, locationId, properties); previousAtomic = false; }
/** * Output a comment */ public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } nextReceiver.comment(chars, locationId, properties); previousAtomic = false; }
/** * Character data */ public void characters(CharSequence chars, int locationId, int properties) throws XPathException { if (chars.length() > 0) { if (!contentStarted) { startContent(); } nextReceiver.characters(chars, locationId, properties); } previousAtomic = false; }
/** * Processing Instruction */ public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException { if (!contentStarted) { startContent(); } nextReceiver.processingInstruction(target, data, locationId, properties); previousAtomic = false; }
/** * Notify the start of an element * @param nameCode integer code identifying the name of the element within the name pool. * @param typeCode integer code identifying the element's type within the name pool. * @param properties bit-significant properties of the element node */ public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException { if (!contentStarted) { startContent(); } contentStarted = false; nextReceiver.startElement(nameCode, typeCode, locationId, properties); previousAtomic = false; }
/** * Notify the start of an element * @param nameCode the name of the element * @param typeCode the element's type * @param location the location of the element * @param properties bit-significant properties of the element node */ public void startElement(NodeName nameCode, SchemaType typeCode, Location location, int properties) throws XPathException { if (inStartTag) { startContent(); } inStartTag = true; nextReceiver.startElement(nameCode, typeCode, location, properties); previousAtomic = false; if (isDocumentLevel.length - 1 < level) { isDocumentLevel = Arrays.copyOf(isDocumentLevel, level * 2); } isDocumentLevel[level++] = false; }
/** * Notify the start of an element * @param nameCode the name of the element * @param typeCode the element's type * @param location the location of the element * @param properties bit-significant properties of the element node */ public void startElement(NodeName nameCode, SchemaType typeCode, Location location, int properties) throws XPathException { if (inStartTag) { startContent(); } inStartTag = true; nextReceiver.startElement(nameCode, typeCode, location, properties); previousAtomic = false; if (isDocumentLevel.length - 1 < level) { isDocumentLevel = Arrays.copyOf(isDocumentLevel, level * 2); } isDocumentLevel[level++] = false; }
/** * Notify the start of an element * @param nameCode integer code identifying the name of the element within the name pool. * @param typeCode integer code identifying the element's type within the name pool. * @param properties bit-significant properties of the element node */ public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } inStartTag = true; nextReceiver.startElement(nameCode, typeCode, locationId, properties); previousAtomic = false; if (isDocumentLevel.length - 1 < level) { boolean[] d2 = new boolean[level*2]; System.arraycopy(isDocumentLevel, 0, d2, 0, level); isDocumentLevel = d2; } isDocumentLevel[level++] = false; }