Skip to content

Commit

Permalink
Merge branch 'main' into chained-transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergondza committed Jun 12, 2024
2 parents 2720eb2 + b95a32f commit 9ff2f7f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/github/olivergondza/saxeed/Bookmark.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
/**
* A reference to a tag acquired in a previous Saxeed run, to be queried in the next run.
*
* The reference is valid only between to consecutive runs. Provided the document was modified between the executions,
* Saxeed provides no guarantee it will match anything, fail predictable, or match the intended tag.
* The reference is valid only between two consecutive runs. Provided the document was modified between the executions,
* Saxeed provides no guarantee it will match anything, fail predictably, or match the intended tag.
*
* To bookmark an element, call {@link Tag#bookmark()}. The object returned is valid outside the Saxeed transformation.
* In the next processing, use {@link Tag#isBookmarked(Bookmark)} or {@link Tag#isBookmarked(java.util.List)} to
* identify the element,
* identify the bookmarked element.
*/
public interface Bookmark {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/github/olivergondza/saxeed/Tag.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public interface Tag {
Bookmark bookmark();

/**
* Determine if this tag has been bookmarked the bookmark provided.
* Determine if this tag matches the bookmark provided.
*/
boolean isBookmarked(Bookmark bookmark);

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/com/github/olivergondza/saxeed/TagName.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* Example:
*
* <pre>
* `&lt;a>` := uri=""; prefix=""; local="a"
* `&lt;a xmlns="XXX">` := uri="XXX"; prefix=""; local="a" (`xmlns` can be declared on a parent tag)
* `&lt;x:a xmlns:x="XXX">` := uri="XXX"; prefix="x"; local="a" (`xmlns:x` can be declared on a parent tag)
* `&lt;a&gt;` := uri=""; prefix=""; local="a"
* `&lt;a xmlns="XXX"&gt;` := uri="XXX"; prefix=""; local="a" (`xmlns` can be declared on a parent tag)
* `&lt;x:a xmlns:x="XXX"&gt;` := uri="XXX"; prefix="x"; local="a" (`xmlns:x` can be declared on a parent tag)
* </pre>
*/
public class TagName {
Expand Down

0 comments on commit 9ff2f7f

Please sign in to comment.