gpt4 book ai didi

org.jboss.windup.rules.apps.xml.model.XmlFileModel.getDoctype()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-23 02:39:05 26 4
gpt4 key购买 nike

本文整理了Java中org.jboss.windup.rules.apps.xml.model.XmlFileModel.getDoctype()方法的一些代码示例,展示了XmlFileModel.getDoctype()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlFileModel.getDoctype()方法的具体详情如下:
包路径:org.jboss.windup.rules.apps.xml.model.XmlFileModel
类名称:XmlFileModel
方法名:getDoctype

XmlFileModel.getDoctype介绍

暂无

代码示例

代码示例来源:origin: org.jboss.windup.rules.apps/windup-rules-java-ee

private boolean isWebXml(XmlFileModel xml, Document doc)
{
  // check it's doctype against the known doctype.
  return !(xml.getDoctype() != null && !processDoctypeMatches(xml.getDoctype()));
}

代码示例来源:origin: org.jboss.windup.rules.apps/rules-java-ee

private boolean isWebXml(XmlFileModel xml, Document doc)
{
  // check it's doctype against the known doctype.
  if (xml.getDoctype() != null && !processDoctypeMatches(xml.getDoctype()))
  {
    return false;
  }
  return true;
}

代码示例来源:origin: windup/windup

private boolean isWebXml(XmlFileModel xml, Document doc)
{
  // check it's doctype against the known doctype.
  return !(xml.getDoctype() != null && !processDoctypeMatches(xml.getDoctype()));
}

代码示例来源:origin: windup/windup

@Override public boolean isValid(GraphRewrite event,EvaluationContext context, XmlFileModel model)
{
  if (( publicId != null && !publicId.isEmpty() ) || systemId!=null)
  {
    DoctypeMetaModel doctype = model.getDoctype();
    if (doctype == null )
    {
      return false;
    }
    if(publicId != null && ( (doctype.getPublicId() == null) || !doctype.getPublicId().matches(publicId))) {
      return false;
    }
    if(systemId != null && ( (doctype.getSystemId() == null) || !doctype.getSystemId().matches(systemId))) {
      return false;
    }
  }
  return true;
}

代码示例来源:origin: windup/windup

if (xml.getDoctype() != null)
  if (processDoctypeMatches(xml.getDoctype()))
    version = processDoctypeVersion(xml.getDoctype());

代码示例来源:origin: org.jboss.windup.rules.apps/windup-rules-java-ee

if (xml.getDoctype() != null)
  if (processDoctypeMatches(xml.getDoctype()))
    version = processDoctypeVersion(xml.getDoctype());

代码示例来源:origin: org.jboss.windup.rules.apps/rules-java-ee

if (xml.getDoctype() != null)
  if (processDoctypeMatches(xml.getDoctype()))
    version = processDoctypeVersion(xml.getDoctype());

代码示例来源:origin: org.jboss.windup.rules.apps/rules-java-ee

if (xmlModel.getDoctype() != null)
  if (!processDoctypeMatches(xmlModel.getDoctype()))
  String version = processDoctypeVersion(xmlModel.getDoctype());
  extractMetadata(context, xmlModel, doc, version);

代码示例来源:origin: windup/windup

if (xmlModel.getDoctype() != null)
  if (!processDoctypeMatches(xmlModel.getDoctype()))
  String version = processDoctypeVersion(xmlModel.getDoctype());
  extractMetadata(event, context, xmlModel, doc, version);

代码示例来源:origin: org.jboss.windup.rules.apps/windup-rules-java-ee

if (xmlModel.getDoctype() != null)
  if (!processDoctypeMatches(xmlModel.getDoctype()))
  String version = processDoctypeVersion(xmlModel.getDoctype());
  extractMetadata(event, context, xmlModel, doc, version);

代码示例来源:origin: org.jboss.windup.rules.apps/rules-xml

DoctypeMetaModel doctype = xml.getDoctype();
if (doctype == null || doctype.getPublicId() == null
      || !doctype.getPublicId().matches(publicId))

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com