gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-19 10:18:40 26 4
gpt4 key购买 nike

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

XSDImportImpl.getSchemaLocation介绍

暂无

代码示例

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

public XSDSchema importSchema()
{
 resolve(getNamespace(), getSchemaLocation());
 return getResolvedSchema();
}

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

public XSDSchema importSchema()
{
 resolve(getNamespace(), getSchemaLocation());
 return getResolvedSchema();
}

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

private void updateExternalImportGlobals()
{
 if (xsdSchema != null)
 {
  Iterator contents = xsdSchema.getContents().iterator();
  while (contents.hasNext())
  {
   XSDSchemaContent content = (XSDSchemaContent) contents.next();
   if (content instanceof XSDImportImpl)
   {
    XSDImportImpl anImport = (XSDImportImpl) content;
    try
    {
     if (anImport.getSchemaLocation() != null)
     {
      anImport.importSchema();
     }
    }
    catch (Exception e)
    {
     
    }
   }
  }
 }
}

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

getSchemaLocation(),
XSDConstants.PART1,
"element-import",
(XSDDiagnosticSeverity.WARNING_LITERAL,
 "src-import.0",
 getSchemaLocation() == null ? "" : getSchemaLocation());
 (XSDDiagnosticSeverity.ERROR_LITERAL,
  "src-import.2",
  getSchemaLocation() == null ? "" : getSchemaLocation());

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

getSchemaLocation(),
XSDConstants.PART1,
"element-import",
(XSDDiagnosticSeverity.WARNING_LITERAL,
 resolved ? "src-import.0" : "src-import.0.2",
 getSchemaLocation() == null ? "" : getSchemaLocation());
 (XSDDiagnosticSeverity.ERROR_LITERAL,
  "src-import.2",
  getSchemaLocation() == null ? "" : getSchemaLocation());

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

@Override
 public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
 {
  XSDImportImpl clonedImport =
   (XSDImportImpl)getXSDFactory().createXSDImport();
  clonedImport.isReconciling = true;

  clonedImport.setNamespace(getNamespace());
  clonedImport.setSchemaLocation(getSchemaLocation());

  if (deep)
  {
   if (getAnnotation() != null)
   {
    clonedImport.setAnnotation((XSDAnnotation)getAnnotation().cloneConcreteComponent(deep, shareDOM));
   }
  }

  if (shareDOM && getElement() != null)
  {
   clonedImport.setElement(getElement());
  }

  clonedImport.isReconciling = shareDOM;
  return clonedImport;
 }
}

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

@Override
 public XSDConcreteComponent cloneConcreteComponent(boolean deep, boolean shareDOM)
 {
  XSDImportImpl clonedImport =
   (XSDImportImpl)getXSDFactory().createXSDImport();
  clonedImport.isReconciling = true;

  clonedImport.setNamespace(getNamespace());
  clonedImport.setSchemaLocation(getSchemaLocation());

  if (deep)
  {
   if (getAnnotation() != null)
   {
    clonedImport.setAnnotation((XSDAnnotation)getAnnotation().cloneConcreteComponent(deep, shareDOM));
   }
  }

  if (shareDOM && getElement() != null)
  {
   clonedImport.setElement(getElement());
  }

  clonedImport.isReconciling = shareDOM;
  return clonedImport;
 }
}

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