本文整理汇总了Java中com.sun.org.apache.xerces.internal.impl.XML11DTDScannerImpl类的典型用法代码示例。如果您正苦于以下问题:Java XML11DTDScannerImpl类的具体用法?Java XML11DTDScannerImpl怎么用?Java XML11DTDScannerImpl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XML11DTDScannerImpl类属于com.sun.org.apache.xerces.internal.impl包,在下文中一共展示了XML11DTDScannerImpl类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initXML11Components
import com.sun.org.apache.xerces.internal.impl.XML11DTDScannerImpl; //导入依赖的package包/类
private void initXML11Components() {
if (!f11Initialized) {
// create datatype factory
fXML11DatatypeFactory = DTDDVFactory.getInstance(XML11_DATATYPE_VALIDATOR_FACTORY);
// setup XML 1.1 DTD pipeline
fXML11DTDScanner = new XML11DTDScannerImpl();
addXML11Component(fXML11DTDScanner);
// setup XML 1.1. document pipeline - namespace aware
fXML11NSDocScanner = new XML11NSDocumentScannerImpl();
addXML11Component(fXML11NSDocScanner);
f11Initialized = true;
}
}
示例2: initXML11Components
import com.sun.org.apache.xerces.internal.impl.XML11DTDScannerImpl; //导入依赖的package包/类
private void initXML11Components() {
if (!f11Initialized) {
// create datatype factory
fXML11DatatypeFactory = DTDDVFactory.getInstance(XML11_DATATYPE_VALIDATOR_FACTORY);
// setup XML 1.1 DTD pipeline
fXML11DTDScanner = new XML11DTDScannerImpl();
addXML11Component(fXML11DTDScanner);
fXML11DTDProcessor = new XML11DTDProcessor();
addXML11Component(fXML11DTDProcessor);
// setup XML 1.1. document pipeline - namespace aware
fXML11NSDocScanner = new XML11NSDocumentScannerImpl();
addXML11Component(fXML11NSDocScanner);
fXML11NSDTDValidator = new XML11NSDTDValidator();
addXML11Component(fXML11NSDTDValidator);
f11Initialized = true;
}
}
示例3: initXML11Components
import com.sun.org.apache.xerces.internal.impl.XML11DTDScannerImpl; //导入依赖的package包/类
private void initXML11Components() {
if (!f11Initialized) {
// create datatype factory
fXML11DatatypeFactory = DTDDVFactory.getInstance(XML11_DATATYPE_VALIDATOR_FACTORY);
// setup XML 1.1 DTD pipeline
fXML11DTDScanner = new XML11DTDScannerImpl();
addRecognizedParamsAndSetDefaults(fXML11DTDScanner);
// setup XML 1.1. document pipeline - namespace aware
fXML11NSDocScanner = new XML11NSDocumentScannerImpl();
addRecognizedParamsAndSetDefaults(fXML11NSDocScanner);
f11Initialized = true;
}
}
示例4: createDTDScanner
import com.sun.org.apache.xerces.internal.impl.XML11DTDScannerImpl; //导入依赖的package包/类
protected XMLDTDScannerImpl createDTDScanner(SymbolTable symbolTable,
XMLErrorReporter errorReporter, XMLEntityManager entityManager) {
return new XML11DTDScannerImpl(symbolTable, errorReporter, entityManager);
}