public void writeDTD(String rootName, String systemId, String publicId, String internalSubset) throws XMLStreamException { mDelegate2.writeDTD(rootName, systemId, publicId, internalSubset); }
public void writeDoctypeDecl(String rootName, String systemId, String publicId, String intSubset) throws XMLStreamException { if (_indentSuppress == 0) { outputIndentation(); } _streamWriter.writeDTD(rootName, systemId, publicId, intSubset); }
public void writeDoctypeDecl(String rootName, String systemId, String publicId, String intSubset) throws XMLStreamException { if (_indentSuppress == 0) { outputIndentation(); } _streamWriter.writeDTD(rootName, systemId, publicId, intSubset); }
public void writeUsing(XMLStreamWriter w) throws XMLStreamException { /* 07-Feb-2005, TSa: We need to make use of StAX2 extensions, * if possible... */ if (w instanceof XMLStreamWriter2) { /* Information might not have come from an advanced implementation * however? */ if (mRootName != null) { XMLStreamWriter2 sw2 = (XMLStreamWriter2) w; sw2.writeDTD(mRootName, mSystemId, mPublicId, mInternalSubset); return; } } // Nah, just need to do a "dumb" write... w.writeDTD(getDocumentTypeDeclaration()); }
public void writeUsing(XMLStreamWriter w) throws XMLStreamException { /* 07-Feb-2005, TSa: We need to make use of StAX2 extensions, * if possible... */ if (w instanceof XMLStreamWriter2) { /* Information might not have come from an advanced implementation * however? */ if (mRootName != null) { XMLStreamWriter2 sw2 = (XMLStreamWriter2) w; sw2.writeDTD(mRootName, mSystemId, mPublicId, mInternalSubset); return; } } // Nah, just need to do a "dumb" write... w.writeDTD(getDocumentTypeDeclaration()); }
public void writeUsing(XMLStreamWriter w) throws XMLStreamException { /* 07-Feb-2005, TSa: We need to make use of StAX2 extensions, * if possible... */ if (w instanceof XMLStreamWriter2) { /* Information might not have come from an advanced implementation * however? */ if (mRootName != null) { XMLStreamWriter2 sw2 = (XMLStreamWriter2) w; sw2.writeDTD(mRootName, mSystemId, mPublicId, mInternalSubset); return; } } // Nah, just need to do a "dumb" write... w.writeDTD(getDocumentTypeDeclaration()); }
sw.writeDTD(_buildDTD((DocumentType) node)); break; default:
sw.writeDTD(_buildDTD((DocumentType) node)); break; default:
xmlw.writeDTD("<!DOCTYPE properties SYSTEM \"http://java.sun.com/dtd/properties.dtd\">"); xmlw.writeCharacters("\n"); // indent xmlw.writeStartElement("properties");
mWriter.writeDTD(((DTD) event).getDocumentTypeDeclaration()); break;
xmlw.writeDTD("<!DOCTYPE html " + "PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" " + "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">");