Skip to content

Commit

Permalink
Add getIonSystem() accessor in IonFactory
Browse files Browse the repository at this point in the history
It is sometimes necessary to access the underlying IonSystem when interacting
with an IonObjectMapper or ObjectWriter (eg. to replicate the logic in
IonObjectMapper#writeValueAsIonValue()).
  • Loading branch information
paulfferraro authored and cowtowncoder committed May 7, 2020
1 parent f707e74 commit 04e3d9c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ public IonFactory copy()
return new IonFactory(this, null);
}

public IonSystem getIonSystem() {
return _system;
}

@Override
public Version version() {
return PackageVersion.VERSION;
Expand Down

0 comments on commit 04e3d9c

Please sign in to comment.