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

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

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

XSDComplexTypeDefinition.getContentType介绍

[英]Returns the value of the 'Content Type' reference.

This represents the value of the content type infoset property. It is computed from the #getContent() and should typically not be modified directly. It will be null, an XSDSimpleTypeDefinition, or an XSDParticle.
[中]返回“内容类型”引用的值。
这表示content typeinfoset属性的值。它是根据#getContent()计算的,通常不应直接修改。它将是null、XSDSimpleTypeDefinition或XSDParticle。

代码示例

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

(XSDComplexTypeDefinition) instance.getTypeDefinition();
if (complexType.getContentType() instanceof XSDSimpleTypeDefinition) {
  type = (XSDSimpleTypeDefinition) complexType.getContentType();

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

newContentType = complexBaseTypeDefinition.getContentType();
XSDComplexTypeContent baseContentType = complexBaseTypeDefinition.getContentType();
if (baseContentType instanceof XSDParticle)

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

newContentType = complexBaseTypeDefinition.getContentType();
XSDComplexTypeContent baseContentType = complexBaseTypeDefinition.getContentType();
if (baseContentType instanceof XSDParticle)

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

public void visitComplexTypeDefinition(XSDComplexTypeDefinition type)
 if (type.getContentType() != null)
  XSDComplexTypeContent complexContent = type.getContentType();
  if (complexContent instanceof XSDSimpleTypeDefinition)

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

if (getContentType() != xsdComplexTypeDefinition.getContentType())

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

.getTypeDefinition();
if (complexType.getContentType() instanceof XSDSimpleTypeDefinition) {
  type = (XSDSimpleTypeDefinition) complexType.getContentType();

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

if (getContentType() != xsdComplexTypeDefinition.getContentType())

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

.getTypeDefinition();
if (complexType.getContentType() instanceof XSDSimpleTypeDefinition) {
  type = (XSDSimpleTypeDefinition) complexType.getContentType();

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

XSDComplexTypeDefinition complexType = 
  (XSDComplexTypeDefinition) instance.getTypeDefinition();
if ( complexType.getContentType() instanceof XSDSimpleTypeDefinition ) {
  type = (XSDSimpleTypeDefinition) complexType.getContentType();

相关文章

微信公众号

最新文章

更多