當前位置: 首頁>>代碼示例>>Java>>正文


Java DTDHandler類代碼示例

本文整理匯總了Java中org.xml.sax.DTDHandler的典型用法代碼示例。如果您正苦於以下問題:Java DTDHandler類的具體用法?Java DTDHandler怎麽用?Java DTDHandler使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


DTDHandler類屬於org.xml.sax包,在下文中一共展示了DTDHandler類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: setResult

import org.xml.sax.DTDHandler; //導入依賴的package包/類
@Override
public void setResult(Result result) throws IllegalArgumentException
{
	SAXResult saxResult = toSAXResult(result);

	ContentHandler handler = saxResult.getHandler();
	this.nextContentHandler = handler;
	if (handler instanceof LexicalHandler)
	{
		this.nextLexicalHandler = (LexicalHandler) handler;
	}
	if (handler instanceof DTDHandler)
	{
		this.nextDtdHandler = (DTDHandler) handler;
	}

}
 
開發者ID:fluentxml4j,項目名稱:fluentxml4j,代碼行數:18,代碼來源:AbstractSAXFilter.java

示例2: notationDecl

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public void notationDecl (String name, String publicId, String systemId)
throws SAXException
{
    DTDHandler      l1 = first.getDTDHandler ();
    DTDHandler      l2 = rest.getDTDHandler ();

    l1.notationDecl (name, publicId, systemId);
    l2.notationDecl (name, publicId, systemId);
}
 
開發者ID:vilie,項目名稱:javify,代碼行數:10,代碼來源:TeeConsumer.java

示例3: unparsedEntityDecl

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public void unparsedEntityDecl (String name,
        String publicId, String systemId,
        String notationName
) throws SAXException
{
    DTDHandler      l1 = first.getDTDHandler ();
    DTDHandler      l2 = rest.getDTDHandler ();

    l1.unparsedEntityDecl (name, publicId, systemId, notationName);
    l2.unparsedEntityDecl (name, publicId, systemId, notationName);
}
 
開發者ID:vilie,項目名稱:javify,代碼行數:12,代碼來源:TeeConsumer.java

示例4: getDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
@Override
public DTDHandler getDTDHandler() {
    return null;
}
 
開發者ID:Vitaliy-Yakovchuk,項目名稱:ramus,代碼行數:5,代碼來源:ReportSaveXMLReader.java

示例5: setDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
@Override
public void setDTDHandler(DTDHandler handler) {
}
 
開發者ID:Vitaliy-Yakovchuk,項目名稱:ramus,代碼行數:4,代碼來源:ReportSaveXMLReader.java

示例6: setDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public void setDTDHandler(DTDHandler handler) {
    _dtdHandler = handler;
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:4,代碼來源:SAXBufferProcessor.java

示例7: getDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public DTDHandler getDTDHandler() {
    return _dtdHandler;
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:4,代碼來源:SAXBufferProcessor.java

示例8: setDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public void setDTDHandler(DTDHandler handler) {
    this.dtdHandler = handler;
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:4,代碼來源:JAXBSource.java

示例9: getDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public DTDHandler getDTDHandler() {
    return dtdHandler;
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:4,代碼來源:JAXBSource.java

示例10: setDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public void setDTDHandler(DTDHandler handler)
{
  clientDTDHandler=handler;
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:5,代碼來源:IncrementalSAXSource_Filter.java

示例11: setDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
/** SAX Parser API. */
public void setDTDHandler(DTDHandler handler) {
  dtdHandler = handler;
}
 
開發者ID:SunburstApps,項目名稱:OpenJSharp,代碼行數:5,代碼來源:ResolvingParser.java

示例12: getDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public DTDHandler getDTDHandler() {
  return null;
}
 
開發者ID:ampool,項目名稱:monarch,代碼行數:4,代碼來源:CacheXmlGenerator.java

示例13: setDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public void setDTDHandler (DTDHandler handler) {
    theDTDHandler = (handler == null) ? this : handler;
}
 
開發者ID:Pixplicity,項目名稱:HtmlCompat,代碼行數:4,代碼來源:Parser.java

示例14: getDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public DTDHandler getDTDHandler () {
    return (theDTDHandler == this) ? null : theDTDHandler;
}
 
開發者ID:Pixplicity,項目名稱:HtmlCompat,代碼行數:4,代碼來源:Parser.java

示例15: setDTDHandler

import org.xml.sax.DTDHandler; //導入依賴的package包/類
public void setDTDHandler(final DTDHandler theHandler) {
    dtdHandler = theHandler;
}
 
開發者ID:AdoptOpenJDK,項目名稱:openjdk-jdk10,代碼行數:4,代碼來源:TransformerTest.java


注:本文中的org.xml.sax.DTDHandler類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。