Uses of Interface
com.topologi.diffx.event.DiffXEvent
Packages that use DiffXEvent
Package
Description
Main algorithm implementations.
The event interfaces used by the Diff-X algorithm.
The events implementations used by the Diff-X.
Classes for formatting and text processing.
Sequences and sequence utility tools.
-
Uses of DiffXEvent in com.topologi.diffx.algorithm
Methods in com.topologi.diffx.algorithm with parameters of type DiffXEventModifier and TypeMethodDescriptionvoidElementState.delete(DiffXEvent e) Updates the state from the deleted event.voidElementState.format(DiffXEvent e) Updates the state from the formatted event.booleanElementState.hasPriorityOver(DiffXEvent e1, DiffXEvent e2) Indicates whether the first specified event has priority over the second element.voidElementState.insert(DiffXEvent e) Updates the state from the inserted event.booleanElementState.matchCurrent(DiffXEvent e) Indicates whether the specified event is a close element that matches the name and URI of the current open element.private intDiffXFitsy.maxWeight(DiffXEvent e1, DiffXEvent e2) Returns the max weight of the two events.private intDiffXFitWesyma.maxWeight(DiffXEvent e1, DiffXEvent e2) Returns the max weight of the two events.booleanElementState.okDelete(DiffXEvent e) Indicates whether the specified event is a close element that matches the name and URI of the current open element.booleanElementState.okFormat(DiffXEvent e) Indicates whether the specified event is a close element that matches the name and URI of the current open element.booleanElementState.okInsert(DiffXEvent e) Indicates whether the specified event is a close element that matches the name and URI of the current open element. -
Uses of DiffXEvent in com.topologi.diffx.event
Subinterfaces of DiffXEvent in com.topologi.diffx.eventModifier and TypeInterfaceDescriptioninterfaceAn event for attributes.interfaceThe event corresponding to theendElementSAX event.interfaceThe event corresponding to thestartElementSAX event.interfaceAn interface for any data that comes from a text node.Methods in com.topologi.diffx.event with parameters of type DiffXEventModifier and TypeMethodDescriptionbooleanDiffXEvent.equals(DiffXEvent e) Indicates whether the specified event is equal to this event. -
Uses of DiffXEvent in com.topologi.diffx.event.impl
Classes in com.topologi.diffx.event.impl that implement DiffXEventModifier and TypeClassDescriptionfinal classA basic implementation of the attribute event.final classA namespace aware implementation of the attribute event.final classAn event corresponds to the "characters" SAX event.classA base class for all the characters events "characters" SAX event.final classEvent corresponding to a single character.final classA basic implementation of the close element event.final classThe event corresponding to thestartElementSAX event.final classA comment event.(package private) classA base class for DiffX events.final classA particular type of event reserved for ignored white spaces.final classAn interface for any data that comes from a text node.final classA basic implementation of the close element event.final classThe event corresponding to thestartElementSAX event.final classA processing instruction event.final classA particular type of event reserved for white spaces.final classA text event representing a word.final classA branch of XML data.Fields in com.topologi.diffx.event.impl declared as DiffXEventModifier and TypeFieldDescriptionprivate final DiffXEvent[]XMLBranchEvent.branchThe array of Diff-X events that make up the branch.Methods in com.topologi.diffx.event.impl with parameters of type DiffXEventModifier and TypeMethodDescriptionbooleanAttributeEventImpl.equals(DiffXEvent e) Returnstrueif the event is an attribute event.booleanAttributeEventNSImpl.equals(DiffXEvent e) Returnstrueif the event is an attribute event.final booleanCharactersEventBase.equals(DiffXEvent e) Returnstrueif the event is a character event and its content is equivalent.booleanCharEvent.equals(DiffXEvent e) booleanCloseElementEventImpl.equals(DiffXEvent e) Returnstrueif the event is a close element and has the same name.booleanCloseElementEventNSImpl.equals(DiffXEvent e) Returnstrueif the event is a close element event.booleanCommentEvent.equals(DiffXEvent e) Returnstrueif the event is a comment event.abstract booleanDiffXEventBase.equals(DiffXEvent e) Indicates whether the specified event is equal to this event.booleanIgnorableSpaceEvent.equals(DiffXEvent e) Returnstrueif the event is an ignorable white space, regardless of the characters that it matches.booleanLineEvent.equals(DiffXEvent e) Returnstrueif the event is a character event and the content is equivalent.booleanOpenElementEventImpl.equals(DiffXEvent e) Returnstrueif the event is an open element event.booleanOpenElementEventNSImpl.equals(DiffXEvent e) Returnstrueif the event is a open element event.booleanProcessingInstructionEvent.equals(DiffXEvent e) Returnstrueif the event is a processing instruction.booleanXMLBranchEvent.equals(DiffXEvent e) Returnstrueif the diffX events in the branch are all equal.private static intXMLBranchEvent.toHashCode(DiffXEvent[] events) Calculates the hashcode for this event.Constructors in com.topologi.diffx.event.impl with parameters of type DiffXEvent -
Uses of DiffXEvent in com.topologi.diffx.format
Methods in com.topologi.diffx.format with parameters of type DiffXEventModifier and TypeMethodDescriptionprivate voidBasicXMLFormatter.change(DiffXEvent e, int mod) Reports a change in XML.private voidConvenientXMLFormatter.change(DiffXEvent e, int mod) Reports a change in XML.voidBasicXMLFormatter.delete(DiffXEvent e) Formats the specified deleted event.voidConvenientXMLFormatter.delete(DiffXEvent e) voidDiffXFormatter.delete(DiffXEvent e) Formats the specified deleted event.voidMultiplexFormatter.delete(DiffXEvent e) voidSafeXMLFormatter.delete(DiffXEvent e) voidShortStringFormatter.delete(DiffXEvent e) Writes the event as a short string preceded by '+'.voidSmartXMLFormatter.delete(DiffXEvent e) voidStrictXMLFormatter.delete(DiffXEvent e) voidBasicXMLFormatter.format(DiffXEvent e) Formats the specified event.voidConvenientXMLFormatter.format(DiffXEvent e) voidDiffXFormatter.format(DiffXEvent e) Formats the specified event.voidMultiplexFormatter.format(DiffXEvent e) voidSafeXMLFormatter.format(DiffXEvent e) voidShortStringFormatter.format(DiffXEvent e) Writes the event as a short string.voidSmartXMLFormatter.format(DiffXEvent e) voidStrictXMLFormatter.format(DiffXEvent e) voidBasicXMLFormatter.insert(DiffXEvent e) Formats the specified inserted event.voidConvenientXMLFormatter.insert(DiffXEvent e) voidDiffXFormatter.insert(DiffXEvent e) Formats the specified inserted event.voidMultiplexFormatter.insert(DiffXEvent e) voidSafeXMLFormatter.insert(DiffXEvent e) voidShortStringFormatter.insert(DiffXEvent e) Writes the event as a short string preceded by '+'.voidSmartXMLFormatter.insert(DiffXEvent e) voidStrictXMLFormatter.insert(DiffXEvent e) static StringShortStringFormatter.toShortString(DiffXEvent e) Returns the short string for the given event. -
Uses of DiffXEvent in com.topologi.diffx.sequence
Fields in com.topologi.diffx.sequence with type parameters of type DiffXEventModifier and TypeFieldDescriptionprivate final Iterator<DiffXEvent>EventSequence.EventIterator.iteratorThe wrapped iterator.private final List<DiffXEvent>EventSequence.sequenceThe sequence of events.Methods in com.topologi.diffx.sequence that return DiffXEventModifier and TypeMethodDescriptionEventSequence.getEvent(int i) Returns the event at position i.EventSequence.EventIterator.next()EventSequence.EventIterator.nextEvent()Returns the next event.EventSequence.removeEvent(int index) Removes an event from this sequence at the specified position.EventSequence.setEvent(int index, DiffXEvent e) Replaces an event of this sequence at the specified position.Methods in com.topologi.diffx.sequence that return types with arguments of type DiffXEventMethods in com.topologi.diffx.sequence with parameters of type DiffXEventModifier and TypeMethodDescriptionvoidEventSequence.addEvent(int i, DiffXEvent e) Inserts an event to this sequence at the specified position.voidEventSequence.addEvent(DiffXEvent e) Adds an event to this sequence.EventSequence.setEvent(int index, DiffXEvent e) Replaces an event of this sequence at the specified position.Constructor parameters in com.topologi.diffx.sequence with type arguments of type DiffXEventModifierConstructorDescriptionprivateEventIterator(Iterator<DiffXEvent> iterator) Creates a new iterator wrapping the specified list iterator.