Package | Description |
---|---|
com.topologi.diffx.algorithm |
Main algorithm implementations.
|
com.topologi.diffx.event |
The event interfaces used by the Diff-X algorithm.
|
com.topologi.diffx.event.impl |
The events implementations used by the Diff-X.
|
Modifier and Type | Method and Description |
---|---|
OpenElementEvent |
ElementState.current()
Returns the current open element.
|
OpenElementEvent |
ElementState.get(int index)
Returns the open element at the specified position in this list.
|
OpenElementEvent |
ElementState.pop()
Removes the last element from the top of the stack.
|
OpenElementEvent |
ElementState.remove(int index)
Removes the element at the specified position in this list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ElementState.contains(OpenElementEvent element)
Returns
true if this list contains the specified element. |
int |
ElementState.indexOf(OpenElementEvent element)
Searches for the first occurrence of the given argument, testing
for equality using the
equals method. |
int |
ElementState.lastIndexOf(OpenElementEvent element)
Returns the index of the last occurrence of the specified object in
this list.
|
Modifier and Type | Method and Description |
---|---|
OpenElementEvent |
CloseElementEvent.getOpenElement()
Returns the corresponding event element.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CloseElementEvent.match(OpenElementEvent event)
Indicates whether the specified open element event matches this close
element event.
|
Modifier and Type | Class and Description |
---|---|
class |
OpenElementEventImpl
A basic implementation of the close element event.
|
class |
OpenElementEventNSImpl
The event corresponding to the
startElement SAX event. |
Modifier and Type | Method and Description |
---|---|
OpenElementEvent |
CloseElementEventNSImpl.getOpenElement() |
OpenElementEvent |
CloseElementEventImpl.getOpenElement() |
OpenElementEvent |
EventFactory.makeOpenElement(String uri,
String name)
Returns the open element event from the uri and name given.
|
OpenElementEvent |
EventFactory.makeOpenElement(String uri,
String localName,
String qName)
Returns the open element event from the uri and names given.
|
Modifier and Type | Method and Description |
---|---|
CloseElementEvent |
EventFactory.makeCloseElement(OpenElementEvent open)
Returns the close element event from the corresponding open element event.
|
boolean |
CloseElementEventNSImpl.match(OpenElementEvent event) |
boolean |
CloseElementEventImpl.match(OpenElementEvent event)
Returns
true if the open element has the same name. |
Constructor and Description |
---|
CloseElementEventImpl(OpenElementEvent event)
Creates a new close element event that corresponds to the given open element.
|
CloseElementEventNSImpl(OpenElementEvent event)
Creates a new close element event from the corresponding open element event.
|
Copyright © 2007-2019. All Rights Reserved.