|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CloseElementEvent
The event corresponding to the endElement
SAX event.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.topologi.diffx.event.DiffXEvent |
---|
equals, getWeight, setWeight |
Methods inherited from interface com.topologi.diffx.xml.XMLWritable |
---|
toXML |
Methods inherited from interface com.topologi.diffx.xml.XMLFormattable |
---|
toXML, toXML |
Method Detail |
---|
String 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |