org.apache.ws.jaxme.generator.sg
Interface ComplexContentSG

All Known Implementing Classes:
ComplexContentSGImpl

public interface ComplexContentSG

Interface of a complex type with a complex content model.


Method Summary
 void generateProperties(JavaSource pSource)
          Adds properties to the given source file.
 ParticleSG[] getElementParticles()
          Returns a list of all element particles, which are being generated as properties of the type.
 GroupSG getGroupSG()
          Returns the child elements.
 org.xml.sax.Locator getLocator()
          Returns the items location in the schema; useful for error messages.
 void init()
          Initializes the item.
 boolean isEmpty()
          Returns, whether the types content model is empty.
 boolean isMixed()
          Returns, whether the types content model is mixed.
 

Method Detail

getLocator

public org.xml.sax.Locator getLocator()

Returns the items location in the schema; useful for error messages.


init

public void init()
          throws org.xml.sax.SAXException

Initializes the item.

Throws:
org.xml.sax.SAXException

isEmpty

public boolean isEmpty()
Returns, whether the types content model is empty.


isMixed

public boolean isMixed()
Returns, whether the types content model is mixed.


getGroupSG

public GroupSG getGroupSG()

Returns the child elements.


generateProperties

public void generateProperties(JavaSource pSource)
                        throws org.xml.sax.SAXException
Adds properties to the given source file.

Throws:
org.xml.sax.SAXException

getElementParticles

public ParticleSG[] getElementParticles()
                                 throws org.xml.sax.SAXException
Returns a list of all element particles, which are being generated as properties of the type.

Throws:
org.xml.sax.SAXException