org.eclipse.xsd.XSDFactory.createXSDMaxExclusiveFacet()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.8k)|赞(0)|评价(0)|浏览(81)

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

XSDFactory.createXSDMaxExclusiveFacet介绍

[英]Returns a new object of class 'Max Exclusive Facet'.
[中]返回类“Max Exclusive Facet”的新对象。

代码示例

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

public static XSDMaxExclusiveFacet createMaxExclusiveFacet(Node node)
{
 if (XSDConstants.nodeType(node) == XSDConstants.MAXEXCLUSIVE_ELEMENT)
 {
  XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet();
  xsdMaxExclusiveFacet.setElement((Element)node);
  return xsdMaxExclusiveFacet;
 }
 return null;
}

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

public static XSDMaxExclusiveFacet createMaxExclusiveFacet(Node node)
{
 if (XSDConstants.nodeType(node) == XSDConstants.MAXEXCLUSIVE_ELEMENT)
 {
  XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet();
  xsdMaxExclusiveFacet.setElement((Element)node);
  return xsdMaxExclusiveFacet;
 }
 return null;
}

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

if (maxExclusive != null)
 XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet();
 xsdMaxExclusiveFacet.setLexicalValue(maxExclusive);
 xsdSimpleTypeDefinition.getFacetContents().add(xsdMaxExclusiveFacet);

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

if (maxExclusive != null)
 XSDMaxExclusiveFacet xsdMaxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet();
 xsdMaxExclusiveFacet.setLexicalValue(maxExclusive);
 xsdSimpleTypeDefinition.getFacetContents().add(xsdMaxExclusiveFacet);

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

(XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclusiveFacet();
clonedMaxExclusiveFacet.isReconciling = true;

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

(XSDMaxExclusiveFacetImpl)getXSDFactory().createXSDMaxExclusiveFacet();
clonedMaxExclusiveFacet.isReconciling = true;

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

maxExclusiveFacet = XSDFactory.eINSTANCE.createXSDMaxExclusiveFacet();
maxExclusiveFacet.setLexicalValue(max);
xsdSimpleType.getFacetContents().add(maxExclusiveFacet);

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

XSDMaxExclusiveFacet quantityMaxExclusiveFacet = xsdFactory.createXSDMaxExclusiveFacet();
quantityMaxExclusiveFacet.setLexicalValue("100");
anonymousSimpleTypeDefinition.getFacetContents().add(quantityMaxExclusiveFacet);

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

XSDMaxExclusiveFacet quantityMaxExclusiveFacet = xsdFactory.createXSDMaxExclusiveFacet();
quantityMaxExclusiveFacet.setLexicalValue("100");
anonymousSimpleTypeDefinition.getFacetContents().add(quantityMaxExclusiveFacet);

相关文章

微信公众号

最新文章

更多