本文整理了Java中org.eclipse.xsd.XSDForm.get()
方法的一些代码示例,展示了XSDForm.get()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDForm.get()
方法的具体详情如下:
包路径:org.eclipse.xsd.XSDForm
类名称:XSDForm
方法名:get
[英]Returns the 'Form' literal with the specified integer value.
[中]返回带有指定整数值的“Form”文本。
代码示例来源:origin: geotools/geotools
xsd.setElementFormDefault(XSDForm.get(XSDForm.QUALIFIED));
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public XSDForm createXSDFormFromString(EDataType eDataType, String initialValue)
{
XSDForm result = XSDForm.get(initialValue);
if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
return result;
}
代码示例来源:origin: org.eclipse/org.eclipse.xsd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public XSDForm createXSDFormFromString(EDataType eDataType, String initialValue)
{
XSDForm result = XSDForm.get(initialValue);
if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
return result;
}
代码示例来源:origin: org.geoserver/gs-wfs
schema.setSchemaForSchemaQNamePrefix("xsd");
schema.getQNamePrefixToNamespaceMap().put("xsd", XSDConstants.SCHEMA_FOR_SCHEMA_URI_2001);
schema.setElementFormDefault(XSDForm.get(XSDForm.QUALIFIED));
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
XSDForm newAttributeFormDefault = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.ATTRIBUTEFORMDEFAULT_ATTRIBUTE));
if (!isSetAttributeFormDefault() || newAttributeFormDefault != getAttributeFormDefault())
XSDForm newElementFormDefault = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.ELEMENTFORMDEFAULT_ATTRIBUTE));
if (!isSetElementFormDefault() || newElementFormDefault != getElementFormDefault())
代码示例来源:origin: org.eclipse/org.eclipse.xsd
XSDForm newAttributeFormDefault = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.ATTRIBUTEFORMDEFAULT_ATTRIBUTE));
if (!isSetAttributeFormDefault() || newAttributeFormDefault != getAttributeFormDefault())
XSDForm newElementFormDefault = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.ELEMENTFORMDEFAULT_ATTRIBUTE));
if (!isSetElementFormDefault() || newElementFormDefault != getElementFormDefault())
代码示例来源:origin: org.geoserver/gs-wfs
schema.setElementFormDefault(XSDForm.get(XSDForm.QUALIFIED));
代码示例来源:origin: org.eclipse/org.eclipse.xsd
XSDForm newForm = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.FORM_ATTRIBUTE));
if (!isSetForm() || newForm != getForm())
代码示例来源:origin: org.eclipse/org.eclipse.xsd
XSDForm newForm = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.FORM_ATTRIBUTE));
if (!isSetForm() || newForm != getForm())
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
XSDForm newForm = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.FORM_ATTRIBUTE));
if (!isSetForm() || newForm != getForm())
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
XSDForm newForm = XSDForm.get(changedElement.getAttributeNS(null, XSDConstants.FORM_ATTRIBUTE));
if (!isSetForm() || newForm != getForm())
内容来源于网络,如有侵权,请联系作者删除!