本文整理了Java中org.eclipse.xsd.XSDComplexTypeDefinition.getContentType()
方法的一些代码示例,展示了XSDComplexTypeDefinition.getContentType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDComplexTypeDefinition.getContentType()
方法的具体详情如下:
包路径:org.eclipse.xsd.XSDComplexTypeDefinition
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!