org.apache.ws.jaxme.xs.parser
Interface XsObjectCreator
public interface XsObjectCreator
Interface of a an object creating beans.
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.
|
newBean
public XsObject newBean(XsObject pParent,
Locator pLocator,
XsQName pQName)
throws SAXException
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:
- Return a new bean.
- Return null in order to indicate, that the bean creator
delegates the decision to the next bean creator.
- Throw a SAX Exception in order to indicate that the
combination of namespace URI and local name is invalid.