public interface CloseElementEvent extends DiffXEvent
endElement SAX event.| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the local name of the element.
|
OpenElementEvent |
getOpenElement()
Returns the corresponding event element.
|
String |
getURI()
Returns the namespace URI the element belongs to.
|
boolean |
match(OpenElementEvent event)
Indicates whether the specified open element event matches this close
element event.
|
equals, getWeight, setWeighttoXMLtoXML, toXMLString getName()
String getURI()
This method should return null if the implementation
is not namespace aware.
OpenElementEvent getOpenElement()
boolean match(OpenElementEvent event)
This method first checks whether the open element event is the same as
event returned by the getOpenElement() method, if not it simply
compares the name of the element and the namespace URI it belongs to.
event - The open element event to test.true if there is a match;
false otherwise.Copyright © 2007-2022. All Rights Reserved.