org.apache.ws.jaxme.xs.parser

Interface XsObjectCreator

public interface XsObjectCreator

Interface of a an object creating beans.

Author: Jochen Wiedmann

Method Summary
XsObjectnewBean(XsObject pParent, Locator pLocator, XsQName pQName)

Asks the bean creator whether he is willing to create a bean for the given namespace URI and local name.

Method Detail

newBean

public XsObject newBean(XsObject pParent, Locator pLocator, XsQName pQName)

Asks the bean creator whether he is willing to create a bean for the given namespace URI and local name. The bean creator may do either of the following:

  1. Return a new bean.
  2. Return null in order to indicate, that the bean creator delegates the decision to the next bean creator.
  3. Throw a SAX Exception in order to indicate that the combination of namespace URI and local name is invalid.