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

All Known Subinterfaces:
AttributeSG, GroupSG, ObjectSG, SchemaSG, SimpleTypeSG, TypeSG
All 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.
 org.xml.sax.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 Detail

getFactory

SGFactory getFactory()

Returns the factory that created this item.


getSchema

SchemaSG getSchema()

Returns the items schema.


getLocator

org.xml.sax.Locator getLocator()

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


init

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

Initializes the item.

Throws:
org.xml.sax.SAXException