/** * Processing Instruction * * @param target * @param data * @param locationId the location of the node in the source, or of the instruction that created it * @param properties */ @Override public void processingInstruction(String target, CharSequence data, Location locationId, int properties) throws XPathException { maybeStartContent(); nextReceiver.processingInstruction(target, data, locationId, properties); }
/** * Character data * * @param chars * @param locationId the location of the node in the source, or of the instruction that created it * @param properties */ @Override public void characters(CharSequence chars, Location locationId, int properties) throws XPathException { maybeStartContent(); nextReceiver.characters(chars, locationId, properties); }
/** * Character data * * @param chars * @param locationId the location of the node in the source, or of the instruction that created it * @param properties */ @Override public void characters(CharSequence chars, Location locationId, int properties) throws XPathException { maybeStartContent(); nextReceiver.characters(chars, locationId, properties); }
/** * Output a comment * * @param chars * @param locationId the location of the node in the source, or of the instruction that created it * @param properties */ @Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { maybeStartContent(); nextReceiver.comment(chars, locationId, properties); } }
/** * Output a comment * * @param chars * @param locationId the location of the node in the source, or of the instruction that created it * @param properties */ @Override public void comment(CharSequence chars, Location locationId, int properties) throws XPathException { maybeStartContent(); nextReceiver.comment(chars, locationId, properties); } }
/** * Processing Instruction * * @param target * @param data * @param locationId the location of the node in the source, or of the instruction that created it * @param properties */ @Override public void processingInstruction(String target, CharSequence data, Location locationId, int properties) throws XPathException { maybeStartContent(); nextReceiver.processingInstruction(target, data, locationId, properties); }
/** * endElement: Discard the namespaces declared locally on this element. */ public void endElement() throws XPathException { maybeStartContent(); nextReceiver.endElement(); undeclareNamespacesForElement(); }
/** * endElement: Discard the namespaces declared locally on this element. */ public void endElement() throws XPathException { maybeStartContent(); nextReceiver.endElement(); undeclareNamespacesForElement(); }
/** * startElement */ public void startElement(NodeName nameCode, SchemaType typeCode, Location location, int properties) throws XPathException { maybeStartContent(); elementNameCode = nameCode; elementTypeCode = typeCode; elementLocationId = location.saveLocation(); elementProperties = properties; bufferedAttributes.clear(); hasChildren = false; // Record the current height of the namespace list so it can be reset at endElement time countStack[depth] = 0; if (++depth >= countStack.length) { countStack = Arrays.copyOf(countStack, depth * 2); } // Ensure that the element namespace is output, unless this is done // automatically by the caller (which is true, for example, for a literal // result element). acceptAttributes = true; inDocument = false; if ((properties & ReceiverOptions.NAMESPACE_OK) == 0) { namespace(nameCode.getNamespaceBinding(), 0); } attCount = 0; inStartTag = true; }
/** * startElement */ public void startElement(NodeName nameCode, SchemaType typeCode, Location location, int properties) throws XPathException { maybeStartContent(); elementNameCode = nameCode; elementTypeCode = typeCode; elementLocationId = location.saveLocation(); elementProperties = properties; bufferedAttributes.clear(); hasChildren = false; // Record the current height of the namespace list so it can be reset at endElement time countStack[depth] = 0; if (++depth >= countStack.length) { countStack = Arrays.copyOf(countStack, depth * 2); } // Ensure that the element namespace is output, unless this is done // automatically by the caller (which is true, for example, for a literal // result element). acceptAttributes = true; inDocument = false; if ((properties & ReceiverOptions.NAMESPACE_OK) == 0) { namespace(nameCode.getNamespaceBinding(), 0); } attCount = 0; inStartTag = true; }