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


Java XMLDTDHandler類代碼示例

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


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

示例1: startConditional

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/**
 * The start of a conditional section.
 * 
 * @param type The type of the conditional section. This value will
 *             either be CONDITIONAL_INCLUDE or CONDITIONAL_IGNORE.
 * @param augs Additional information that may include infoset
 *                      augmentations.
 *
 * @throws XNIException Thrown by handler to signal an error.
 *
 * @see #CONDITIONAL_INCLUDE
 * @see #CONDITIONAL_IGNORE
 */
public void startConditional(short type, Augmentations augs) throws XNIException {

    // set state
    fInDTDIgnore = type == XMLDTDHandler.CONDITIONAL_IGNORE;

    // call handlers
    if(fDTDGrammar != null) 
        fDTDGrammar.startConditional(type, augs);
    if (fDTDHandler != null) {
        fDTDHandler.startConditional(type, augs);
    }

}
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:27,代碼來源:XMLDTDProcessor.java

示例2: startConditional

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Start conditional section. */
public void startConditional(short type, Augmentations augs)
    throws XNIException {

    printIndent();
    fOut.print("startConditional(");
    fOut.print("type=");
    switch (type) {
        case XMLDTDHandler.CONDITIONAL_IGNORE: {
            fOut.print("CONDITIONAL_IGNORE");
            break;
        }
        case XMLDTDHandler.CONDITIONAL_INCLUDE: {
            fOut.print("CONDITIONAL_INCLUDE");
            break;
        }
        default: {
            fOut.print("??? ("+type+')');
        }
    }
    if (augs != null) {
        fOut.print(',');
        printAugmentations(augs);
    }
    fOut.println(')');
    fOut.flush();
    fIndent++;

}
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:30,代碼來源:DocumentTracer.java

示例3: getDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Returns the registered DTD handler. */
public XMLDTDHandler getDTDHandler() {
	return fDTDHandler;
}
 
開發者ID:BowlerHatLLC,項目名稱:feathers-sdk,代碼行數:5,代碼來源:XML11ConfigurationMMImpl.java

示例4: getDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Returns the registered DTD handler. */
public XMLDTDHandler getDTDHandler();
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:3,代碼來源:XMLParserConfiguration.java

示例5: setDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Sets the DTD handler. */
public void setDTDHandler(XMLDTDHandler handler);
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:3,代碼來源:XMLDTDSource.java

示例6: getDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Returns the DTD handler. */
public XMLDTDHandler getDTDHandler();
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:3,代碼來源:XMLDTDSource.java

示例7: getDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Returns the registered DTD handler. */
public XMLDTDHandler getDTDHandler() {
    return fDTDHandler;
}
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:5,代碼來源:BasicParserConfiguration.java

示例8: getDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Returns the registered DTD handler. */
public XMLDTDHandler getDTDHandler() {
    return null;
}
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:5,代碼來源:DOMConfigurationImpl.java

示例9: setDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
public void setDTDHandler(XMLDTDHandler handler) {
    fDTDHandler = handler;
}
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:4,代碼來源:UnparsedEntityHandler.java

示例10: getDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
public XMLDTDHandler getDTDHandler() {
    return fDTDHandler;
}
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:4,代碼來源:UnparsedEntityHandler.java

示例11: setDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Sets the DTD handler. */
public void setDTDHandler(XMLDTDHandler handler) {
    fDTDHandler = handler;
}
 
開發者ID:ecologylab,項目名稱:BigSemanticsJava,代碼行數:5,代碼來源:HTMLConfiguration.java

示例12: getDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/** Returns the DTD handler. */
public XMLDTDHandler getDTDHandler() {
    return fDTDHandler;
}
 
開發者ID:ecologylab,項目名稱:BigSemanticsJava,代碼行數:5,代碼來源:HTMLConfiguration.java

示例13: setDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/**
 * Sets the DTD handler.
 * 
 * @param dtdHandler The DTD handler.
 */
public void setDTDHandler(XMLDTDHandler dtdHandler) {
	fDTDHandler = dtdHandler;
}
 
開發者ID:BowlerHatLLC,項目名稱:feathers-sdk,代碼行數:9,代碼來源:XML11ConfigurationMMImpl.java

示例14: setDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/**
 * Sets the DTD handler.
 * 
 * @param dtdHandler The DTD handler.
 */
public void setDTDHandler(XMLDTDHandler dtdHandler);
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:7,代碼來源:XMLParserConfiguration.java

示例15: setDTDHandler

import org.apache.xerces.xni.XMLDTDHandler; //導入依賴的package包/類
/**
 * Sets the DTD handler.
 * 
 * @param dtdHandler The DTD handler.
 */
public void setDTDHandler(XMLDTDHandler dtdHandler) {
    fDTDHandler = dtdHandler;
}
 
開發者ID:AaronZhangL,項目名稱:SplitCharater,代碼行數:9,代碼來源:BasicParserConfiguration.java


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