Dali Provisional API
Release 3.2

org.eclipse.jpt.jaxb.core.xsd
Class XsdComplexTypeDefinition

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.jpt.jaxb.core.xsd.XsdComponent<A>
          extended by org.eclipse.jpt.jaxb.core.xsd.XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>
              extended by org.eclipse.jpt.jaxb.core.xsd.XsdComplexTypeDefinition
All Implemented Interfaces:
Adapter, Adapter.Internal

public class XsdComplexTypeDefinition
extends XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>


Nested Class Summary
static class XsdComplexTypeDefinition.AttributeUsesNamespace
           
static class XsdComplexTypeDefinition.XsdAttributeUseTransformer
           
static class XsdComplexTypeDefinition.XsdElementDeclarationTransformer
           
 
Nested classes/interfaces inherited from class org.eclipse.jpt.jaxb.core.xsd.XsdTypeDefinition
XsdTypeDefinition.Kind, XsdTypeDefinition.NameTransformer
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
 
Field Summary
protected static org.eclipse.jpt.common.utility.transformer.Transformer<XsdAttributeUse,String> XSD_ATTRIBUTE_USE_TRANSFORMER
           
protected static org.eclipse.jpt.common.utility.transformer.Transformer<XsdElementDeclaration,String> XSD_ELEMENT_DECLARATION_TRANSFORMER
           
 
Fields inherited from class org.eclipse.jpt.jaxb.core.xsd.XsdTypeDefinition
NAME_TRANSFORMER
 
Fields inherited from class org.eclipse.jpt.jaxb.core.xsd.XsdComponent
xsdComponent
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Method Summary
 XsdAttributeUse getAttribute(String namespace, String name)
           
 Iterable<String> getAttributeNames(String namespace)
           
protected  Iterable<XsdAttributeUse> getAttributeUses(String namespace)
           
 XsdElementDeclaration getElement(String namespace, String name, boolean recurseChildren)
           
protected  Iterable<XsdElementDeclaration> getElementDeclarations(String namespace, boolean recurseChildren)
           
 Iterable<String> getElementNames(String namespace, boolean recurseChildren)
           
 XsdTypeDefinition.Kind getKind()
           
protected  Iterable<org.eclipse.xsd.XSDElementDeclaration> getXSDElementDeclarations(boolean recurseChildren)
           
 boolean hasTextContent()
           
 
Methods inherited from class org.eclipse.jpt.jaxb.core.xsd.XsdTypeDefinition
getAttributeNameProposals, getBaseType, getElement, getElementNameProposals, getElementNameProposals, getName, getXSDComponent, matches, typeIsValid, typeIsValid
 
Methods inherited from class org.eclipse.jpt.jaxb.core.xsd.XsdComponent
isAdapterForType
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, notifyChanged, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XSD_ATTRIBUTE_USE_TRANSFORMER

protected static final org.eclipse.jpt.common.utility.transformer.Transformer<XsdAttributeUse,String> XSD_ATTRIBUTE_USE_TRANSFORMER

XSD_ELEMENT_DECLARATION_TRANSFORMER

protected static final org.eclipse.jpt.common.utility.transformer.Transformer<XsdElementDeclaration,String> XSD_ELEMENT_DECLARATION_TRANSFORMER
Method Detail

getKind

public XsdTypeDefinition.Kind getKind()
Specified by:
getKind in class XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>

hasTextContent

public boolean hasTextContent()
Specified by:
hasTextContent in class XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>

getAttribute

public XsdAttributeUse getAttribute(String namespace,
                                    String name)
Specified by:
getAttribute in class XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>

getAttributeNames

public Iterable<String> getAttributeNames(String namespace)
Specified by:
getAttributeNames in class XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>

getAttributeUses

protected Iterable<XsdAttributeUse> getAttributeUses(String namespace)

getElement

public XsdElementDeclaration getElement(String namespace,
                                        String name,
                                        boolean recurseChildren)
Specified by:
getElement in class XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>

getElementNames

public Iterable<String> getElementNames(String namespace,
                                        boolean recurseChildren)
Specified by:
getElementNames in class XsdTypeDefinition<org.eclipse.xsd.XSDComplexTypeDefinition>

getElementDeclarations

protected Iterable<XsdElementDeclaration> getElementDeclarations(String namespace,
                                                                 boolean recurseChildren)

getXSDElementDeclarations

protected Iterable<org.eclipse.xsd.XSDElementDeclaration> getXSDElementDeclarations(boolean recurseChildren)

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.