org.apache.ws.jaxme.xs.parser.impl

Class ChildSetterImpl

public class ChildSetterImpl extends Object implements ChildSetter

Default implementation of a {@link org.apache.ws.jaxme.xs.parser.ChildSetter}.

Author: Jochen Wiedmann

Method Summary
ContentHandlergetChildHandler(String pQName, String pNamespaceURI, String pLocalName)
protected ContentHandlergetChildHandler(ContentHandler pParent, String pQName, String pLocalName)
protected ObjectinvokeMethod(Object pBean, Method pMethod, String pName, Object[] pArgs)

This method invokes the beans pBean method pMethod with the argument array pArgs, returning a child handler for the element pQName.

protected ContentHandlernewXsSAXParser(XsSAXParser pParent, Object pBean)

Creates a new instance of {@link XsSAXParser}, inheriting most properties from its parent parser.

Method Detail

getChildHandler

public ContentHandler getChildHandler(String pQName, String pNamespaceURI, String pLocalName)

getChildHandler

protected ContentHandler getChildHandler(ContentHandler pParent, String pQName, String pLocalName)

invokeMethod

protected Object invokeMethod(Object pBean, Method pMethod, String pName, Object[] pArgs)

This method invokes the beans pBean method pMethod with the argument array pArgs, returning a child handler for the element pQName.

newXsSAXParser

protected ContentHandler newXsSAXParser(XsSAXParser pParent, Object pBean)

Creates a new instance of {@link XsSAXParser}, inheriting most properties from its parent parser.