gpt4 book ai didi

org.eclipse.xsd.impl.XSDSchemaImpl.getBlockDefault()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-25 15:19:05 25 4
gpt4 key购买 nike

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

XSDSchemaImpl.getBlockDefault介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

public String getStringBlockDefault()
{
 if (isSetBlockDefault())
 {
  StringBuffer result = new StringBuffer();
  for (Object literal  : getBlockDefault())
  {
   if (result.length() != 0)
   {
    result.append(' ');
   }
   if (literal.toString().equals("all"))
   {
    result.append("#all");
   }
   else
   {
    result.append(literal);
   }
  }
  return result.toString();
 }
 else
 {
  return null;
 }
}

代码示例来源:origin: org.eclipse/org.eclipse.xsd

public String getStringBlockDefault()
{
 if (isSetBlockDefault())
 {
  StringBuffer result = new StringBuffer();
  for (Object literal  : getBlockDefault())
  {
   if (result.length() != 0)
   {
    result.append(' ');
   }
   if (literal.toString().equals("all"))
   {
    result.append("#all");
   }
   else
   {
    result.append(literal);
   }
  }
  return result.toString();
 }
 else
 {
  return null;
 }
}

代码示例来源:origin: org.eclipse/org.eclipse.xsd

if (!newBlockDefault.equals(getBlockDefault()))
 Collection<XSDDisallowedSubstitutions> oldContents = new ArrayList<XSDDisallowedSubstitutions>(getBlockDefault());
 oldContents.removeAll(newBlockDefault);
 getBlockDefault().removeAll(oldContents);
 setListContentAndOrder(getBlockDefault(), newBlockDefault);
 getBlockDefault().clear();

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

if (!newBlockDefault.equals(getBlockDefault()))
 Collection<XSDDisallowedSubstitutions> oldContents = new ArrayList<XSDDisallowedSubstitutions>(getBlockDefault());
 oldContents.removeAll(newBlockDefault);
 getBlockDefault().removeAll(oldContents);
 setListContentAndOrder(getBlockDefault(), newBlockDefault);
 getBlockDefault().clear();

代码示例来源:origin: org.eclipse/org.eclipse.xsd

return;
case XSDPackage.XSD_SCHEMA__BLOCK_DEFAULT:
 getBlockDefault().clear();
 getBlockDefault().addAll((Collection<? extends XSDDisallowedSubstitutions>)newValue);
 return;
case XSDPackage.XSD_SCHEMA__VERSION:

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

return;
case XSDPackage.XSD_SCHEMA__BLOCK_DEFAULT:
 getBlockDefault().clear();
 getBlockDefault().addAll((Collection<? extends XSDDisallowedSubstitutions>)newValue);
 return;
case XSDPackage.XSD_SCHEMA__VERSION:

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

if (!getBlockDefault().isEmpty())
 clonedSchema.getBlockDefault().addAll(getBlockDefault());
 clonedSchema.getBlockDefault().clear();

代码示例来源:origin: org.eclipse/org.eclipse.xsd

if (!getBlockDefault().isEmpty())
 clonedSchema.getBlockDefault().addAll(getBlockDefault());
 clonedSchema.getBlockDefault().clear();

代码示例来源:origin: org.eclipse/org.eclipse.xsd

return getFinalDefault();
case XSDPackage.XSD_SCHEMA__BLOCK_DEFAULT:
 return getBlockDefault();
case XSDPackage.XSD_SCHEMA__VERSION:
 return getVersion();

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

return getFinalDefault();
case XSDPackage.XSD_SCHEMA__BLOCK_DEFAULT:
 return getBlockDefault();
case XSDPackage.XSD_SCHEMA__VERSION:
 return getVersion();

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