public class ListenerCreateRule extends ObjectCreateRule
Modifier and Type | Class and Description |
---|---|
class |
ListenerCreateRule.OptionalListener |
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm |
attributeName, className
digester, namespaceURI
Constructor and Description |
---|
ListenerCreateRule(java.lang.String className,
java.lang.String attributeName) |
Modifier and Type | Method and Description |
---|---|
void |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes)
Process the beginning of this element.
|
end, getRealClassName, toString
body, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
protected static final StringManager sm
public ListenerCreateRule(java.lang.String className, java.lang.String attributeName)
public void begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes) throws java.lang.Exception
ObjectCreateRule
begin
in class ObjectCreateRule
namespace
- the namespace URI of the matching element, or an
empty string if the parser is not namespace aware or the element has
no namespacename
- the local name if the parser is namespace aware, or just
the element name otherwiseattributes
- The attribute list for this elementjava.lang.Exception
- if an error occurs while processing the eventCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.