JiBX Starter Code

# Starter Code |

### Starter Code This directory contains a sample "starter" JiBX project, based on the first example from the binding tutorial. This starter project uses an Ant build.xml with several targets: build to clean and build the code, roundtrip to run a roundtrip test of the binding (unmarshal a document, marshal the object back out, and compare the documents) using code from jibx-extras.jar, and run to just unmarshal a document and then marshal it out to a separate file, using the test code provided as part of the project. The build.xml automatically finds the JiBX libraries when run in place, or looks for a JIBX_HOME environmental variable definition if run elsewhere. There's also a build-binding.xml Ant buld file with a single target, useful when developing in an IDE. ### Disclaimer This code gives a sample of working with JiBX data binding. It may be reused and redistributed without restriction, but is supplied subject to the following disclaimer. If you do not accept the terms of the disclaimer, do not use this code. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.