当前位置: 首页>>代码示例>>Java>>正文


Java XMLDTDContentModelHandler类代码示例

本文整理汇总了Java中org.apache.xerces.xni.XMLDTDContentModelHandler的典型用法代码示例。如果您正苦于以下问题:Java XMLDTDContentModelHandler类的具体用法?Java XMLDTDContentModelHandler怎么用?Java XMLDTDContentModelHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


XMLDTDContentModelHandler类属于org.apache.xerces.xni包,在下文中一共展示了XMLDTDContentModelHandler类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Returns the registered DTD content model handler. */
public XMLDTDContentModelHandler getDTDContentModelHandler() {
	return fDTDContentModelHandler;
}
 
开发者ID:BowlerHatLLC,项目名称:feathers-sdk,代码行数:5,代码来源:XML11ConfigurationMMImpl.java

示例2: setDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Sets the DTD content model handler. */
public void setDTDContentModelHandler(XMLDTDContentModelHandler handler);
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:3,代码来源:XMLDTDContentModelSource.java

示例3: getDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Returns the DTD content model handler. */
public XMLDTDContentModelHandler getDTDContentModelHandler( );
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:3,代码来源:XMLDTDContentModelSource.java

示例4: getDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Returns the registered DTD content model handler. */
public XMLDTDContentModelHandler getDTDContentModelHandler();
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:3,代码来源:XMLParserConfiguration.java

示例5: getDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Returns the registered DTD content model handler. */
public XMLDTDContentModelHandler getDTDContentModelHandler() {
    return fDTDContentModelHandler;
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:5,代码来源:BasicParserConfiguration.java

示例6: getDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Returns the registered DTD content model handler. */
public XMLDTDContentModelHandler getDTDContentModelHandler() {
    return null;
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:5,代码来源:DOMConfigurationImpl.java

示例7: scanMixed

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/**
 * scan Mixed content model
 * This assumes the content model has been parsed up to #PCDATA and
 * can simply append to fStringBuffer.
 * <pre>
 * [51]    Mixed    ::=    '(' S? '#PCDATA' (S? '|' S? Name)* S? ')*'  
 *                       | '(' S? '#PCDATA' S? ')'  
 * </pre>
 *
 * @param elName The element type name this declaration is about.
 *
 * <strong>Note:</strong> Called after scanning past '(#PCDATA'.
 */
private final void scanMixed(String elName)
    throws IOException, XNIException {

    String childName = null;

    fStringBuffer.append("#PCDATA");
    // call handler
    if (fDTDContentModelHandler != null) {
        fDTDContentModelHandler.pcdata(null);
    }
    skipSeparator(false, !scanningInternalSubset());
    while (fEntityScanner.skipChar('|')) {
        fStringBuffer.append('|');
        // call handler
        if (fDTDContentModelHandler != null) {
            fDTDContentModelHandler.separator(XMLDTDContentModelHandler.SEPARATOR_CHOICE,
                                              null);
        }
        skipSeparator(false, !scanningInternalSubset());

        childName = fEntityScanner.scanName();
        if (childName == null) {
            reportFatalError("MSG_ELEMENT_TYPE_REQUIRED_IN_MIXED_CONTENT",
                             new Object[]{elName});
        }
        fStringBuffer.append(childName);
        // call handler
        if (fDTDContentModelHandler != null) {
            fDTDContentModelHandler.element(childName, null);
        }
        skipSeparator(false, !scanningInternalSubset());
    }
    // The following check must be done in a single call (as opposed to one
    // for ')' and then one for '*') to guarantee that callbacks are
    // properly nested. We do not want to trigger endEntity too early in
    // case we cross the boundary of an entity between the two characters.
    if (fEntityScanner.skipString(")*")) {
        fStringBuffer.append(")*");
        // call handler
        if (fDTDContentModelHandler != null) {
            fDTDContentModelHandler.endGroup(null);
            fDTDContentModelHandler.occurrence(XMLDTDContentModelHandler.OCCURS_ZERO_OR_MORE,
                                               null);
        }
    }
    else if (childName != null) {
        reportFatalError("MixedContentUnterminated",
                         new Object[]{elName});
    }
    else if (fEntityScanner.skipChar(')')){
        fStringBuffer.append(')');
        // call handler
        if (fDTDContentModelHandler != null) {
            fDTDContentModelHandler.endGroup(null);
        }
    }
    else {
        reportFatalError("MSG_CLOSE_PAREN_REQUIRED_IN_CHILDREN",
                         new Object[]{elName});
    }
    fMarkUpDepth--;
    // we are done
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:77,代码来源:XMLDTDScannerImpl.java

示例8: setDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Sets the DTD content model handler. */
public void setDTDContentModelHandler(XMLDTDContentModelHandler handler) {
    fDTDContentModelHandler = handler;
}
 
开发者ID:ecologylab,项目名称:BigSemanticsJava,代码行数:5,代码来源:HTMLConfiguration.java

示例9: getDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/** Returns the DTD content model handler. */
public XMLDTDContentModelHandler getDTDContentModelHandler() {
    return fDTDContentModelHandler;
}
 
开发者ID:ecologylab,项目名称:BigSemanticsJava,代码行数:5,代码来源:HTMLConfiguration.java

示例10: setDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/**
 * Sets the DTD content model handler.
 * 
 * @param handler The DTD content model handler.
 */
public void setDTDContentModelHandler(XMLDTDContentModelHandler handler) {
	fDTDContentModelHandler = handler;
}
 
开发者ID:BowlerHatLLC,项目名称:feathers-sdk,代码行数:9,代码来源:XML11ConfigurationMMImpl.java

示例11: setDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/**
 * Sets the DTD content model handler.
 * 
 * @param dtdContentModelHandler The DTD content model handler.
 */
public void setDTDContentModelHandler(XMLDTDContentModelHandler dtdContentModelHandler);
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:7,代码来源:XMLParserConfiguration.java

示例12: setDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/**
 * Sets the DTD content model handler.
 * 
 * @param handler The DTD content model handler.
 */
public void setDTDContentModelHandler(XMLDTDContentModelHandler handler) {
    fDTDContentModelHandler = handler;
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:9,代码来源:BasicParserConfiguration.java

示例13: setDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/**
 * Sets the DTD content model handler.
 *
 * @param handler The DTD content model handler.
 */
public void setDTDContentModelHandler(XMLDTDContentModelHandler handler) {
    //no-op

}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:10,代码来源:DOMConfigurationImpl.java

示例14: setDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/**
 * setDTDContentModelHandler
 * 
 * @param dtdContentModelHandler 
 */
public void setDTDContentModelHandler(XMLDTDContentModelHandler
                                      dtdContentModelHandler) {
    fDTDContentModelHandler = dtdContentModelHandler;
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:10,代码来源:XMLDTDScannerImpl.java

示例15: getDTDContentModelHandler

import org.apache.xerces.xni.XMLDTDContentModelHandler; //导入依赖的package包/类
/**
 * getDTDContentModelHandler
 * 
 * @return XMLDTDContentModelHandler 
 */
public XMLDTDContentModelHandler getDTDContentModelHandler() {
    return fDTDContentModelHandler ;
}
 
开发者ID:AaronZhangL,项目名称:SplitCharater,代码行数:9,代码来源:XMLDTDScannerImpl.java


注:本文中的org.apache.xerces.xni.XMLDTDContentModelHandler类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。