本文整理匯總了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;
}