org.eclipse.xsd.XSDFacet类的使用及代码示例

x33g5p2x  于4个月前 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(8)

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

XSDFacet介绍

[英]A representation of the model object 'Facet'.

The following features are supported:

  • org.eclipse.xsd.XSDFacet#getLexicalValue
  • org.eclipse.xsd.XSDFacet#getFacetName
  • org.eclipse.xsd.XSDFacet#getEffectiveValue
  • org.eclipse.xsd.XSDFacet#getAnnotation
  • org.eclipse.xsd.XSDFacet#getSimpleTypeDefinition
    [中]模型对象Facet的表示形式。
    支持以下功能:
    *组织。日食xsd。XSDFacet#getLexicalValue
    *组织。日食xsd。XSDFacet#GetFaceName
    *组织。日食xsd。XSDFacet#getEffectiveValue
    *组织。日食xsd。XSDFacet#getAnnotation
    *组织。日食xsd。XSDFacet#getSimpleTypeDefinition

代码示例

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

XSDFacet facet = (XSDFacet) itr.next();
if ("whiteSpace".equals(facet.getFacetName())) {
  Whitespace whitespace = Whitespace.valueOf(facet.getLexicalValue());

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

public void execute()
 {
  try
  {
   beginRecording(facet.getElement());
   facet.setLexicalValue(value);
  }
  finally
  {
   endRecording();
  }
 }
}

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

if ((xsdAnnotation = xsdFacet.getAnnotation()) == null)
 xsdFacet.setAnnotation(xsdAnnotation = XSDFactory.eINSTANCE.createXSDAnnotation());

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

((XSDFacet)xsdComponent).setAnnotation(xsdAnnotation = XSDFactory.eINSTANCE.createXSDAnnotation());

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

xsdAnnotations.add(((XSDFacet)xsdComponent).getAnnotation());

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

else if (xsdFacet.eClass() == eClass())

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

isDefined = (facet.getRootContainer() == facetSection.xsdSchema);

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

if ((xsdAnnotation = xsdFacet.getAnnotation()) == null)
 xsdFacet.setAnnotation(xsdAnnotation = XSDFactory.eINSTANCE.createXSDAnnotation());

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

((XSDFacet)xsdComponent).setAnnotation(xsdAnnotation = XSDFactory.eINSTANCE.createXSDAnnotation());

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

xsdAnnotations.add(((XSDFacet)xsdComponent).getAnnotation());

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

else if (xsdFacet.eClass() == eClass())

代码示例来源:origin: org.geotools/gt2-xml-core

XSDFacet facet = (XSDFacet) itr.next();
if ("whiteSpace".equals(facet.getFacetName())) {
  Whitespace whitespace = Whitespace.valueOf(facet.getLexicalValue());

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

xsdAnnotation = xsdComp.getAnnotation();
if (createIfNotExist && xsdAnnotation == null)
 xsdComp.setAnnotation(xsdAnnotation);

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

((XSDFacet)component).setAnnotation(xsdAnnotation);

代码示例来源:origin: org.geotools.xsd/gt-core

XSDFacet facet = (XSDFacet) itr.next();
if ("whiteSpace".equals(facet.getFacetName())) {
  Whitespace whitespace = Whitespace.valueOf(facet.getLexicalValue());

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

((XSDFacet)component).setAnnotation(xsdAnnotation);

代码示例来源:origin: org.geotools/gt2-xml-xsd

XSDFacet facet = (XSDFacet) itr.next();
if ("whiteSpace".equals(facet.getFacetName())) {
  Whitespace whitespace = Whitespace.valueOf(facet
      .getLexicalValue());

相关文章