当前位置: 首页>>代码示例>>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;未经允许,请勿转载。