}
// event-defintion
if (object instanceof EventDefinitionMetaData && PORTLET_JSR_286_NS.equals(nsURI))
{
EventDefinitionMetaData md = (EventDefinitionMetaData)object;
if ("name".equals(localName))
{
md.setName(value);
}
else if ("qname".equals(localName))
{
md.setQname(nav.resolveQName(value));
}
else if ("value-type".equals(localName))
{
md.setValueType(value);
}
else if ("alias".equals(localName))
{
md.addAlias(nav.resolveQName(value));
}
}
// public-render-parameter
if (object instanceof PublicRenderParameterMetaData && PORTLET_JSR_286_NS.equals(nsURI))
{
PublicRenderParameterMetaData md = (PublicRenderParameterMetaData)object;
if ("identifier".equals(localName))
{
md.setIdentifier(value);
}
else if ("name".equals(localName))
{
md.setName(value);
}
else if ("qname".equals(localName))
{
md.setQname(nav.resolveQName(value));
}
else if ("alias".equals(localName))
{
md.addAlias(nav.resolveQName(value));
}
}
// container-runtime-option
if (object instanceof ContainerRuntimeMetaData && PORTLET_JSR_286_NS.equals(nsURI))
{
ContainerRuntimeMetaData md = (ContainerRuntimeMetaData)object;
if ("name".equals(localName))
{
md.setName(value);
}
else if ("value".equals(localName))
{
md.addValue(value);
}
}
// listener
if (object instanceof ListenerMetaData && PORTLET_JSR_286_NS.equals(nsURI))
{
ListenerMetaData md = (ListenerMetaData)object;
if ("listener-class".equals(localName))
{
md.setListenerClass(value);
}
}
}