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