public class ListenerCreateRule extends ObjectCreateRule
Modifier and Type | Class | Description |
---|---|---|
class |
ListenerCreateRule.OptionalListener |
Modifier and Type | Field | Description |
---|---|---|
protected static StringManager |
sm |
attributeName, className
digester, namespaceURI
Constructor | Description |
---|---|
ListenerCreateRule(java.lang.String className,
java.lang.String attributeName) |
Modifier and Type | Method | Description |
---|---|---|
void |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes) |
Process the beginning of this element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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-2019 Apache Software Foundation. All Rights Reserved.