本文整理汇总了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;
}
}
示例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);
}
示例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);
}
示例4: getDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
@Override
public DTDHandler getDTDHandler() {
return null;
}
示例5: setDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
@Override
public void setDTDHandler(DTDHandler handler) {
}
示例6: setDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public void setDTDHandler(DTDHandler handler) {
_dtdHandler = handler;
}
示例7: getDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public DTDHandler getDTDHandler() {
return _dtdHandler;
}
示例8: setDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public void setDTDHandler(DTDHandler handler) {
this.dtdHandler = handler;
}
示例9: getDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public DTDHandler getDTDHandler() {
return dtdHandler;
}
示例10: setDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public void setDTDHandler(DTDHandler handler)
{
clientDTDHandler=handler;
}
示例11: setDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
/** SAX Parser API. */
public void setDTDHandler(DTDHandler handler) {
dtdHandler = handler;
}
示例12: getDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public DTDHandler getDTDHandler() {
return null;
}
示例13: setDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public void setDTDHandler (DTDHandler handler) {
theDTDHandler = (handler == null) ? this : handler;
}
示例14: getDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public DTDHandler getDTDHandler () {
return (theDTDHandler == this) ? null : theDTDHandler;
}
示例15: setDTDHandler
import org.xml.sax.DTDHandler; //导入依赖的package包/类
public void setDTDHandler(final DTDHandler theHandler) {
dtdHandler = theHandler;
}