/** * Character data */ @Override public void characters(CharSequence chars, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.characters(chars, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Output a comment */ @Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.comment(chars, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Processing Instruction */ @Override public void processingInstruction(String target, CharSequence data, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.processingInstruction(target, data, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Character data */ @Override public void characters(CharSequence chars, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.characters(chars, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Processing Instruction */ @Override public void processingInstruction(String target, CharSequence data, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.processingInstruction(target, data, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * End of element */ @Override public void endElement() throws XPathException { try { maybeStartContent(); level--; super.endElement(); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Output a comment */ @Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { try { maybeStartContent(); super.comment(chars, locationId, properties); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * End of element */ @Override public void endElement() throws XPathException { try { maybeStartContent(); level--; super.endElement(); previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Notify the start of an element * @param elemName 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 location * @param properties properties of the element node */ @Override public void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException { try { maybeStartContent(); level++; super.startElement(elemName, typeCode, location, properties); inStartTag = true; previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }
/** * Notify the start of an element * @param elemName 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 location * @param properties properties of the element node */ @Override public void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException { try { maybeStartContent(); level++; super.startElement(elemName, typeCode, location, properties); inStartTag = true; previousAtomic = false; } catch (XPathException e) { failed = true; throw e; } }