All Downloads are FREE. Search and download functionalities are using the official Maven repository.

christophedelory.playlist.xspf.mapping.xml Maven / Gradle / Ivy

Go to download

Multimedia playlist parser, supporting a wide range of playlist file formats.

There is a newer version: 4.1.1
Show newest version
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.codehaus.org/mapping.dtd">

<!--Generated file. Do not edit.-->
<mapping>
  <class name="christophedelory.playlist.xspf.StringContainer">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="text"/>
    <field name="text" set-method="setText" get-method="getText" type="string">
      <bind-xml node="text"/>
    </field>
  </class>
  <class name="christophedelory.playlist.xspf.Playlist">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="playlist"/>
    <field name="version" set-method="setVersion" get-method="getVersion" required="true" type="java.lang.Integer">
      <bind-xml name="version" node="attribute"/>
    </field>
    <field name="title" set-method="setTitle" get-method="getTitle" type="string">
      <bind-xml name="title" node="element"/>
    </field>
    <field name="creator" set-method="setCreator" get-method="getCreator" type="string">
      <bind-xml name="creator" node="element"/>
    </field>
    <field name="annotation" set-method="setAnnotation" get-method="getAnnotation" type="string">
      <bind-xml name="annotation" node="element"/>
    </field>
    <field name="info" set-method="setInfo" get-method="getInfo" type="string">
      <bind-xml name="info" node="element"/>
    </field>
    <field name="location" set-method="setLocation" get-method="getLocation" type="string">
      <bind-xml name="location" node="element"/>
    </field>
    <field name="identifier" set-method="setIdentifier" get-method="getIdentifier" type="string">
      <bind-xml name="identifier" node="element"/>
    </field>
    <field name="image" set-method="setImage" get-method="getImage" type="string">
      <bind-xml name="image" node="element"/>
    </field>
    <field name="date" set-method="setDate" get-method="getDate" type="date">
      <bind-xml name="date" node="element"/>
    </field>
    <field name="license" set-method="setLicense" get-method="getLicense" type="string">
      <bind-xml name="license" node="element"/>
    </field>
    <field name="attribution" set-method="setAttribution" get-method="getAttribution" type="christophedelory.playlist.xspf.Attribution">
      <bind-xml name="attribution" node="element"/>
    </field>
    <field name="extensions" collection="arraylist" set-method="addExtension" get-method="getExtensions" type="other">
      <bind-xml name="extension" node="element"/>
    </field>
    <field name="links" collection="arraylist" set-method="addLink" get-method="getLinks" type="christophedelory.playlist.xspf.Link">
      <bind-xml name="link" node="element"/>
    </field>
    <field name="metas" collection="arraylist" set-method="addMeta" get-method="getMetas" type="christophedelory.playlist.xspf.Meta">
      <bind-xml name="meta" node="element"/>
    </field>
    <field name="tracks" collection="arraylist" set-method="addTrack" get-method="getTracks" type="christophedelory.playlist.xspf.Track">
      <bind-xml name="track" node="element" location="trackList"/>
    </field>
  </class>
  <class name="christophedelory.playlist.xspf.Meta">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="meta"/>
    <field name="rel" set-method="setRel" get-method="getRel" required="true" type="string">
      <bind-xml name="rel" node="attribute"/>
    </field>
    <field name="content" set-method="setContent" get-method="getContent" required="true" type="string">
      <bind-xml node="text"/>
    </field>
  </class>
  <class name="christophedelory.playlist.xspf.Location" extends="christophedelory.playlist.xspf.StringContainer">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="location"/>
  </class>
  <class name="christophedelory.playlist.xspf.Link">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="link"/>
    <field name="rel" set-method="setRel" get-method="getRel" required="true" type="string">
      <bind-xml name="rel" node="attribute"/>
    </field>
    <field name="content" set-method="setContent" get-method="getContent" required="true" type="string">
      <bind-xml node="text"/>
    </field>
  </class>
  <class name="christophedelory.playlist.xspf.Identifier" extends="christophedelory.playlist.xspf.StringContainer">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="identifier"/>
  </class>
  <class name="christophedelory.playlist.xspf.Attribution">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="attribution"/>
    <field name="stringContainers" collection="arraylist" set-method="addStringContainer" get-method="getStringContainers" type="christophedelory.playlist.xspf.StringContainer">
      <bind-xml node="element" auto-naming="deriveByClass"/>
    </field>
  </class>
  <class name="christophedelory.playlist.xspf.Track" extends="christophedelory.playlist.xspf.Attribution">
    <map-to ns-uri="http://xspf.org/ns/0/" xml="track"/>
    <field name="title" set-method="setTitle" get-method="getTitle" type="string">
      <bind-xml name="title" node="element"/>
    </field>
    <field name="creator" set-method="setCreator" get-method="getCreator" type="string">
      <bind-xml name="creator" node="element"/>
    </field>
    <field name="annotation" set-method="setAnnotation" get-method="getAnnotation" type="string">
      <bind-xml name="annotation" node="element"/>
    </field>
    <field name="info" set-method="setInfo" get-method="getInfo" type="string">
      <bind-xml name="info" node="element"/>
    </field>
    <field name="image" set-method="setImage" get-method="getImage" type="string">
      <bind-xml name="image" node="element"/>
    </field>
    <field name="album" set-method="setAlbum" get-method="getAlbum" type="string">
      <bind-xml name="album" node="element"/>
    </field>
    <field name="trackNumber" set-method="setTrackNumber" get-method="getTrackNumber" type="java.lang.Integer">
      <bind-xml name="trackNum" node="element"/>
    </field>
    <field name="duration" set-method="setDuration" get-method="getDuration" type="java.lang.Integer">
      <bind-xml name="duration" node="element"/>
    </field>
    <field name="extensions" collection="arraylist" set-method="addExtension" get-method="getExtensions" type="other">
      <bind-xml name="extension" node="element"/>
    </field>
    <field name="links" collection="arraylist" set-method="addLink" get-method="getLinks" type="christophedelory.playlist.xspf.Link">
      <bind-xml name="link" node="element"/>
    </field>
    <field name="metas" collection="arraylist" set-method="addMeta" get-method="getMetas" type="christophedelory.playlist.xspf.Meta">
      <bind-xml name="meta" node="element"/>
    </field>
  </class>
  <!--start merging from source: <undefined merge dir>/class-mappings.xml-->
  <!--to specify aditional class mappings put file "class-mappings.xml" into
                merge directory.
                Define root element as <j:jelly  xmlns:j="jelly:core">-->
  <!--end merging from source: <undefined merge dir>/class-mappings.xml-->
</mapping>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy