Skip to content

Commit a0ed6e3

Browse files
committed
Update documentation
1 parent 6bd822b commit a0ed6e3

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

commons/src/main/java/com/itextpdf/commons/actions/AbstractEventWrapper.java

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public abstract class AbstractEventWrapper extends AbstractProductProcessITextEv
3434
/**
3535
* Creates a wrapper for the event.
3636
*
37-
* @param event is a {@link AbstractProductProcessITextEvent} to wrap
37+
* @param event is a {@link AbstractProductProcessITextEvent} to wrap
3838
* @param confirmationType event confirmation type
3939
*/
4040
protected AbstractEventWrapper(AbstractProductProcessITextEvent event, EventConfirmationType confirmationType) {
@@ -47,8 +47,8 @@ protected AbstractEventWrapper(AbstractProductProcessITextEvent event, EventConf
4747
*
4848
* @param updatedSequenceId is a {@link SequenceId} for the document. May be different with
4949
* sequence id of original event
50-
* @param event is a {@link AbstractProductProcessITextEvent} to wrap
51-
* @param confirmationType event confirmation type
50+
* @param event is a {@link AbstractProductProcessITextEvent} to wrap
51+
* @param confirmationType event confirmation type
5252
*/
5353
protected AbstractEventWrapper(SequenceId updatedSequenceId,
5454
AbstractProductProcessITextEvent event, EventConfirmationType confirmationType) {
@@ -65,11 +65,21 @@ public AbstractProductProcessITextEvent getEvent() {
6565
return event;
6666
}
6767

68+
/**
69+
* Obtains the class from context of the wrapped event.
70+
*
71+
* @return class from context
72+
*/
6873
@Override
6974
public Class<?> getClassFromContext() {
7075
return getEvent().getClassFromContext();
7176
}
7277

78+
/**
79+
* Obtains the event type of the wrapped event.
80+
*
81+
* @return event type
82+
*/
7383
@Override
7484
public String getEventType() {
7585
return getEvent().getEventType();

0 commit comments

Comments
 (0)