本文整理了Java中org.eclipse.xsd.XSDFeature.getName()
方法的一些代码示例,展示了XSDFeature.getName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDFeature.getName()
方法的具体详情如下:
包路径:org.eclipse.xsd.XSDFeature
类名称:XSDFeature
方法名:getName
暂无
代码示例来源:origin: geotools/geotools
if (component.getName() != null) {
QName qName = new QName(component.getTargetNamespace(), component.getName());
Binding binding = loader.loadBinding(qName, context);
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public static String getDisplayName(XSDNamedComponent component)
{
if (component instanceof XSDTypeDefinition)
return getDisplayNameFromXSDType((XSDTypeDefinition) component);
if (component instanceof XSDFeature)
{
XSDFeature feature = (XSDFeature) component;
if (feature.getName() != null)
return feature.getName();
else if (feature.getResolvedFeature() != null && feature.getResolvedFeature().getName() != null)
return feature.getResolvedFeature().getName();
}
return component.getName();
}
代码示例来源:origin: org.geotools/gt2-xml-core
if (component.getName() != null) {
QName qName = new QName(component.getTargetNamespace(), component.getName());
Binding binding = loader.loadBinding(qName, context);
代码示例来源:origin: org.geotools/gt2-xml-xsd
if (component.getName() != null) {
QName qName = new QName(component.getTargetNamespace(),
component.getName());
Binding binding = loader.loadBinding(qName, context);
代码示例来源:origin: org.geotools.xsd/gt-core
if (component.getName() != null) {
QName qName = new QName(component.getTargetNamespace(), component.getName());
Binding binding = loader.loadBinding(qName, context);
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
String basePrimitiveTypeString = basePrimitiveType != null ? basePrimitiveType.getName() : "";
currentPrimitiveType = basePrimitiveType;
titleString = Messages._UI_LABEL_TYPE + (anonymousTypeDefinition != null ? "(" + xsdFeature.getResolvedFeature().getName() + "Type)" : xsdSimpleTypeDefinition.getName()) + " , " + Messages._UI_LABEL_BASE + ": " + basePrimitiveTypeString; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
titleString = Messages._UI_LABEL_TYPE + (anonymousTypeDefinition != null ? "(" + xsdFeature.getResolvedFeature().getName() + "Type)" : xsdSimpleTypeDefinition.getName());
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
String name = xsdFeature.getName();
eStructuralFeature =
xsdFeature instanceof XSDElementDeclaration ?
if (name == null)
name= validName(xsdFeature.getName(), true);
代码示例来源:origin: org.eclipse/org.eclipse.xsd
if (name == null)
name= validName(xsdFeature.getName(), true);
内容来源于网络,如有侵权,请联系作者删除!