OpenXRI: syntax
The OpenXRI syntax library can be used to parse XRIs into their syntactical components. It can also be used to transform XRIs between their various (XRI, URI, IRI) normal forms. It includes a parser for the XRI 2.0 Syntax, as well as an experimental parser for a proposed XRI 3.0 Syntax.
Download
Download OpenXRI syntax from Sourceforge
Documentation
See OpenXRI:SyntaxTutorial and OpenXRI:SyntaxXriThree on the dev.inames.net wiki.
Packaging
The OpenXRI syntax library is packaged as a .jar file for inclusion in other projects.