本文整理了Java中com.ctc.wstx.api.ReaderConfig.findCustomInternalEntity
方法的一些代码示例,展示了ReaderConfig.findCustomInternalEntity
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ReaderConfig.findCustomInternalEntity
方法的具体详情如下:
包路径:com.ctc.wstx.api.ReaderConfig
类名称:ReaderConfig
方法名:findCustomInternalEntity
暂无
代码示例来源:origin: org.codehaus.woodstox/woodstox-core-asl
protected EntityDecl findEntity(String id, Object arg) throws XMLStreamException
{
EntityDecl ed = (EntityDecl) mConfig.findCustomInternalEntity(id);
if (ed == null && mGeneralEntities != null) {
ed = (EntityDecl) mGeneralEntities.get(id);
}
/* 05-Mar-2006, TSa: Externally declared entities are illegal
* if we were declared as "standalone='yes'"...
*/
if (mDocStandalone == DOC_STANDALONE_YES) {
if (ed != null && ed.wasDeclaredExternally()) {
throwParseError(ErrorConsts.ERR_WF_ENTITY_EXT_DECLARED, ed.getName(), null);
}
}
return ed;
}
代码示例来源:origin: FasterXML/woodstox
@Override
protected EntityDecl findEntity(String id, Object arg)
throws XMLStreamException
{
EntityDecl ed = mConfig.findCustomInternalEntity(id);
if (ed == null && mGeneralEntities != null) {
ed = mGeneralEntities.get(id);
}
/* 05-Mar-2006, TSa: Externally declared entities are illegal
* if we were declared as "standalone='yes'"...
*/
if (mDocStandalone == DOC_STANDALONE_YES) {
if (ed != null && ed.wasDeclaredExternally()) {
throwParseError(ErrorConsts.ERR_WF_ENTITY_EXT_DECLARED, ed.getName(), null);
}
}
return ed;
}
代码示例来源:origin: org.codehaus.woodstox/woodstox-core-lgpl
protected EntityDecl findEntity(String id, Object arg) throws XMLStreamException
{
EntityDecl ed = (EntityDecl) mConfig.findCustomInternalEntity(id);
if (ed == null && mGeneralEntities != null) {
ed = (EntityDecl) mGeneralEntities.get(id);
}
/* 05-Mar-2006, TSa: Externally declared entities are illegal
* if we were declared as "standalone='yes'"...
*/
if (mDocStandalone == DOC_STANDALONE_YES) {
if (ed != null && ed.wasDeclaredExternally()) {
throwParseError(ErrorConsts.ERR_WF_ENTITY_EXT_DECLARED, ed.getName(), null);
}
}
return ed;
}
代码示例来源:origin: com.fasterxml.woodstox/woodstox-core
@Override
protected EntityDecl findEntity(String id, Object arg)
throws XMLStreamException
{
EntityDecl ed = mConfig.findCustomInternalEntity(id);
if (ed == null && mGeneralEntities != null) {
ed = mGeneralEntities.get(id);
}
/* 05-Mar-2006, TSa: Externally declared entities are illegal
* if we were declared as "standalone='yes'"...
*/
if (mDocStandalone == DOC_STANDALONE_YES) {
if (ed != null && ed.wasDeclaredExternally()) {
throwParseError(ErrorConsts.ERR_WF_ENTITY_EXT_DECLARED, ed.getName(), null);
}
}
return ed;
}
代码示例来源:origin: Nextdoor/bender
@Override
protected EntityDecl findEntity(String id, Object arg)
throws XMLStreamException
{
EntityDecl ed = mConfig.findCustomInternalEntity(id);
if (ed == null && mGeneralEntities != null) {
ed = mGeneralEntities.get(id);
}
/* 05-Mar-2006, TSa: Externally declared entities are illegal
* if we were declared as "standalone='yes'"...
*/
if (mDocStandalone == DOC_STANDALONE_YES) {
if (ed != null && ed.wasDeclaredExternally()) {
throwParseError(ErrorConsts.ERR_WF_ENTITY_EXT_DECLARED, ed.getName(), null);
}
}
return ed;
}
内容来源于网络,如有侵权,请联系作者删除!