/** Comment. */ public void comment(XMLString text, Augmentations augs) throws XNIException { Comment comment = fDocument.createComment(text.toString()); fCurrentNode.appendChild(comment); } // comment(XMLString,Augmentations)
/** * Comment. */ public void comment(XMLString text, Augmentations augs) throws XNIException { Comment comment = fDocument.createComment(text.toString()); fCurrentNode.appendChild(comment); } // comment(XMLString,Augmentations)
/** * Comment. */ public void comment(XMLString text, Augmentations augs) throws XNIException { Comment comment = fDocument.createComment(text.toString()); fCurrentNode.appendChild(comment); } // comment(XMLString,Augmentations)
/** Comment. */ public void comment(XMLString text, Augmentations augs) throws XNIException { Comment comment = fDocument.createComment(text.toString()); fCurrentNode.appendChild(comment); } // comment(XMLString,Augmentations)
/** Comment. */ @Override public void comment(XMLString text, Augmentations augs) throws XNIException { final Comment comment = fDocument.createComment(text.toString()); fCurrentNode.appendChild(comment); }
/** Processing instruction. */ public void processingInstruction(final String target, final XMLString data, final Augmentations augs) throws XNIException { final String s = data.toString(); if (XMLChar.isValidName(s)) { final ProcessingInstruction pi = fDocument.createProcessingInstruction(target, s); fCurrentNode.appendChild(pi); } } // processingInstruction(String,XMLString,Augmentations)
/** * Adds some text that need to be re-feed later. The information gets copied. */ public void add(final XMLString text, final Augmentations augs) { if (!entries.isEmpty() || text.toString().trim().length() > 0) entries.add(new Entry(text, augs)); }
public void characters(XMLString xmlString, Augmentations augmentations) throws XNIException { super.characters(xmlString, augmentations); buffer.append(xmlString.toString()); }
public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException { try { fContentHandler.processingInstruction(target,data.toString()); } catch (SAXException e) { throw new XNIException(e); } }
public void characters(XMLString text, Augmentations augs) throws XNIException { if (!fIgnoreChars) { final Element currentElement = (Element) fDOMValidatorHelper.getCurrentElement(); currentElement.appendChild(fDocument.createTextNode(text.toString())); } }
public void characters(XMLString xmlString, Augmentations augmentations) throws XNIException { super.characters(xmlString, augmentations); buffer.append(xmlString.toString()); }
/** Processing instruction. */ @Override public void processingInstruction(final String target, final XMLString data, final Augmentations augs) throws XNIException { final String s = data.toString(); if (XMLChar.isValidName(s)) { final ProcessingInstruction pi = fDocument.createProcessingInstruction(target, s); fCurrentNode.appendChild(pi); } }
/** * Processing instruction. */ public void processingInstruction(final String target, final XMLString data, final Augmentations augs) throws XNIException { final String s = data.toString(); if (XMLChar.isValidName(s)) { final ProcessingInstruction pi = fDocument.createProcessingInstruction(target, s); fCurrentNode.appendChild(pi); } } // processingInstruction(String,XMLString,Augmentations)
public void characters(XMLString text, Augmentations augs) throws XNIException { if (!fIgnoreChars) { append(fDocument.createTextNode(text.toString())); } }
/** * Adds some text that need to be re-feed later. The information gets copied. */ public void add(final XMLString text, final Augmentations augs) { if (!entries.isEmpty() || text.toString().trim().length() > 0) entries.add(new Entry(text, augs)); }
/** * Adds some text that need to be re-feed later. The information gets copied. */ public void add(final XMLString text, final Augmentations augs) { if (!entries.isEmpty() || text.toString().trim().length() > 0) entries.add(new Entry(text, augs)); }
/** * Adds some text that need to be re-feed later. The information gets copied. */ public void add(final XMLString text, final Augmentations augs) { if (!entries.isEmpty() || text.toString().trim().length() > 0) entries.add(new Entry(text, augs)); }
/** Processing instruction. */ public void processingInstruction(final String target, final XMLString data, final Augmentations augs) throws XNIException { final String s = data.toString(); if (XMLChar.isValidName(s)) { final ProcessingInstruction pi = fDocument.createProcessingInstruction(target, s); fCurrentNode.appendChild(pi); } } // processingInstruction(String,XMLString,Augmentations)
/** Processing instruction. */ public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_TARGET, "NMTOKEN", target); fAttributes.setSpecified(0, true); fAttributes.addAttribute(A_DATA, "CDATA", data.toString()); fAttributes.setSpecified(1, true); fDocumentHandler.emptyElement(E_PROCESSING_INSTRUCTION, fAttributes, augs); } } // processingInstruction(String,XMLString,Augmentations)
/** Internal entity declaration. */ public void internalEntityDecl(String name, XMLString value, XMLString nonvalue, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_NAME, "NMTOKEN", name); fAttributes.setSpecified(0, true); fAttributes.addAttribute(A_VALUE, "CDATA", value.toString()); fAttributes.setSpecified(1, true); fDocumentHandler.emptyElement(E_INTERNAL_ENTITY_DECL, fAttributes, augs); } } // internalEntityDecl(String,XMLString,XMLString,Augmentations)