org.apache.ws.jaxme.generator.sg

Interface SGItem

Known Subinterfaces:
AttributeSG, GroupSG, ObjectSG, SchemaSG, SimpleTypeSG, TypeSG
Known Implementing Classes:
AttributeSGImpl, GroupSGImpl, ObjectSGImpl, SchemaSGImpl, SimpleTypeSGImpl, TypeSGImpl

public interface SGItem

A common base interface for ComplexTypeSG, ObjectSG, SchemaSG, SimpleTypeSG, and TypeSG.
Author:
Jochen Wiedmann

Method Summary

SGFactory
getFactory()
Returns the factory that created this item.
Locator
getLocator()
Returns the items location in the schema; useful for error messages.
SchemaSG
getSchema()
Returns the items schema.
void
init()
Initializes the item.

Method Details

getFactory

public SGFactory getFactory()
Returns the factory that created this item.

getLocator

public Locator getLocator()
Returns the items location in the schema; useful for error messages.

getSchema

public SchemaSG getSchema()
Returns the items schema.

init

public void init()
            throws SAXException
Initializes the item.