com.melloware.jspiff.jaxp
Class XspfTrack

java.lang.Object
  extended by com.melloware.jspiff.jaxp.XspfTrack
All Implemented Interfaces:
Serializable, Cloneable

public class XspfTrack
extends Object
implements Serializable, Cloneable

XspfTrack is generated from xspf.rng by Relaxer. This class is derived from:

 <element name="track">
             <zeroOrMore>
                 <element name="location">
                     <data type="anyURI"/>
                 </element>
             </zeroOrMore>
             <zeroOrMore>
                 <element name="identifier">
                     <data type="anyURI"/>
                 </element>
             </zeroOrMore>

             <optional>
                 <element name="title">
                     <text/>
                 </element>
             </optional>
             <optional>
                 <element name="creator">
                     <text/>
                 </element>
             </optional>
             <optional>
                 <element name="annotation">
                     <text/>
                 </element>
             </optional>
             <optional>
                 <element name="info">
                     <text/>
                 </element>
             </optional>
             <optional>
                 <element name="image">
                     <data type="anyURI"/>
                 </element>
             </optional>
             <optional>
                 <element name="album">
                     <text/>
                 </element>
             </optional>
             <optional>
                 <element name="trackNum">
                     <data type="nonNegativeInteger"/>
                 </element>
             </optional>
             <optional>
                 <element name="duration">
                     <data type="nonNegativeInteger"/>
                 </element>
             </optional>

             <zeroOrMore>
                 <ref name="link"/>
             </zeroOrMore>
             <zeroOrMore>
                 <ref name="meta"/>
             </zeroOrMore>
             <zeroOrMore>
                 <ref name="extension"/>
             </zeroOrMore>
         </element>

Version:
xspf.rng (Wed Sep 27 17:36:25 EDT 2006)
Author:
Relaxer 1.1b (http://www.relaxer.org), Emil A. Lefkof III
See Also:
Serialized Form

Constructor Summary
XspfTrack()
          Creates a XspfTrack.
XspfTrack(Document doc)
          Creates a XspfTrack by the Document doc.
XspfTrack(Element element)
          Creates a XspfTrack by the Element element.
XspfTrack(File file)
          Creates a XspfTrack by the File file.
XspfTrack(InputSource is)
          Creates a XspfTrack by the InputSource is.
XspfTrack(InputStream in)
          Creates a XspfTrack by the InputStream in.
XspfTrack(Reader reader)
          Creates a XspfTrack by the Reader reader.
XspfTrack(RStack stack)
          Creates a XspfTrack by the Stack stack that contains Elements.
XspfTrack(String uri)
          Creates a XspfTrack by the String representation of URI uri.
XspfTrack(URL url)
          Creates a XspfTrack by the URL url.
XspfTrack(XspfTrack source)
          Creates a XspfTrack.
 
Method Summary
 void addExtension(int index, XspfExtension extension)
          Adds the XspfExtension property extension by index.
 void addExtension(XspfExtension extension)
          Adds the XspfExtension property extension.
 void addExtension(XspfExtension[] extension)
          Adds the XspfExtension property extension.
 void addIdentifier(int index, String identifier)
          Adds the String property identifier by index.
 void addIdentifier(String identifier)
          Adds the String property identifier.
 void addIdentifier(String[] identifier)
          Adds the String property identifier.
 void addIdentifierByString(String string)
          Adds the property value by String.
 void addLink(int index, XspfLink link)
          Adds the XspfLink property link by index.
 void addLink(XspfLink link)
          Adds the XspfLink property link.
 void addLink(XspfLink[] link)
          Adds the XspfLink property link.
 void addLocation(int index, String location)
          Adds the String property location by index.
 void addLocation(String location)
          Adds the String property location.
 void addLocation(String[] location)
          Adds the String property location.
 void addLocationByString(String string)
          Adds the property value by String.
 void addMeta(int index, XspfMeta meta)
          Adds the XspfMeta property meta by index.
 void addMeta(XspfMeta meta)
          Adds the XspfMeta property meta.
 void addMeta(XspfMeta[] meta)
          Adds the XspfMeta property meta.
 void clearExtension()
          Clear the XspfExtension property extension.
 void clearIdentifier()
          Clear the String property identifier.
 void clearLink()
          Clear the XspfLink property link.
 void clearLocation()
          Clear the String property location.
 void clearMeta()
          Clear the XspfMeta property meta.
 Object clone()
           
 String getAlbum()
          Gets the String property album.
 String getAlbumAsString()
          Gets the property value as String.
 String getAnnotation()
          Gets the String property annotation.
 String getAnnotationAsString()
          Gets the property value as String.
 String getCreator()
          Gets the String property creator.
 String getCreatorAsString()
          Gets the property value as String.
 BigInteger getDuration()
          Gets the java.math.BigInteger property duration.
 String getDurationAsString()
          Gets the property value as String.
 XspfExtension[] getExtension()
          Gets the XspfExtension property extension.
 XspfExtension getExtension(int index)
          Gets the XspfExtension property extension by index.
 String[] getIdentifier()
          Gets the String property identifier.
 String getIdentifier(int index)
          Gets the String property identifier by index.
 String[] getIdentifierAsString()
          Gets the property value as String array.
 String getIdentifierAsString(int index)
          Gets the property value by index as String.
 String getImage()
          Gets the String property image.
 String getImageAsString()
          Gets the property value as String.
 String getInfo()
          Gets the String property info.
 String getInfoAsString()
          Gets the property value as String.
 XspfLink[] getLink()
          Gets the XspfLink property link.
 XspfLink getLink(int index)
          Gets the XspfLink property link by index.
 String[] getLocation()
          Gets the String property location.
 String getLocation(int index)
          Gets the String property location by index.
 String[] getLocationAsString()
          Gets the property value as String array.
 String getLocationAsString(int index)
          Gets the property value by index as String.
 XspfMeta[] getMeta()
          Gets the XspfMeta property meta.
 XspfMeta getMeta(int index)
          Gets the XspfMeta property meta by index.
 String getTitle()
          Gets the String property title.
 String getTitleAsString()
          Gets the property value as String.
 BigInteger getTrackNum()
          Gets the java.math.BigInteger property trackNum.
 String getTrackNumAsString()
          Gets the property value as String.
static boolean isMatch(Element element)
          Tests if a Element element is valid for the XspfTrack.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfTrack.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfTrack.
 Document makeDocument()
          Creates a DOM document representation of the object.
 void makeElement(Node parent)
          Creates a DOM representation of the object.
 void makeTextAttribute(PrintWriter buffer)
          Makes an XML text representation.
 void makeTextAttribute(StringBuffer buffer)
          Makes an XML text representation.
 void makeTextAttribute(Writer buffer)
          Makes an XML text representation.
 String makeTextDocument()
          Makes an XML text representation.
 void makeTextElement(PrintWriter buffer)
          Makes an XML text representation.
 void makeTextElement(StringBuffer buffer)
          Makes an XML text representation.
 void makeTextElement(Writer buffer)
          Makes an XML text representation.
 void removeExtension(int index)
          Remove the XspfExtension property extension by index.
 void removeExtension(XspfExtension extension)
          Remove the XspfExtension property extension by object.
 void removeIdentifier(int index)
          Remove the String property identifier by index.
 void removeIdentifier(String identifier)
          Remove the String property identifier by object.
 void removeLink(int index)
          Remove the XspfLink property link by index.
 void removeLink(XspfLink link)
          Remove the XspfLink property link by object.
 void removeLocation(int index)
          Remove the String property location by index.
 void removeLocation(String location)
          Remove the String property location by object.
 void removeMeta(int index)
          Remove the XspfMeta property meta by index.
 void removeMeta(XspfMeta meta)
          Remove the XspfMeta property meta by object.
 void setAlbum(String album)
          Sets the String property album.
 void setAlbumByString(String string)
          Sets the property value by String.
 void setAnnotation(String annotation)
          Sets the String property annotation.
 void setAnnotationByString(String string)
          Sets the property value by String.
 void setCreator(String creator)
          Sets the String property creator.
 void setCreatorByString(String string)
          Sets the property value by String.
 void setDuration(BigInteger duration)
          Sets the java.math.BigInteger property duration.
 void setDurationByString(String string)
          Sets the property value by String.
 void setExtension(int index, XspfExtension extension)
          Sets the XspfExtension property extension by index.
 void setExtension(XspfExtension extension)
          Sets the XspfExtension property extension.
 void setExtension(XspfExtension[] extension)
          Sets the XspfExtension property extension.
 void setIdentifier(int index, String identifier)
          Sets the String property identifier by index.
 void setIdentifier(String identifier)
          Sets the String property identifier.
 void setIdentifier(String[] identifier)
          Sets the String property identifier.
 void setIdentifierByString(int index, String value)
          Sets the property value by String via index.
 void setIdentifierByString(String[] strings)
          Sets the property value by String array.
 void setImage(String image)
          Sets the String property image.
 void setImageByString(String string)
          Sets the property value by String.
 void setInfo(String info)
          Sets the String property info.
 void setInfoByString(String string)
          Sets the property value by String.
 void setLink(int index, XspfLink link)
          Sets the XspfLink property link by index.
 void setLink(XspfLink link)
          Sets the XspfLink property link.
 void setLink(XspfLink[] link)
          Sets the XspfLink property link.
 void setLocation(int index, String location)
          Sets the String property location by index.
 void setLocation(String location)
          Sets the String property location.
 void setLocation(String[] location)
          Sets the String property location.
 void setLocationByString(int index, String value)
          Sets the property value by String via index.
 void setLocationByString(String[] strings)
          Sets the property value by String array.
 void setMeta(int index, XspfMeta meta)
          Sets the XspfMeta property meta by index.
 void setMeta(XspfMeta meta)
          Sets the XspfMeta property meta.
 void setMeta(XspfMeta[] meta)
          Sets the XspfMeta property meta.
 void setTitle(String title)
          Sets the String property title.
 void setTitleByString(String string)
          Sets the property value by String.
 void setTrackNum(BigInteger trackNum)
          Sets the java.math.BigInteger property trackNum.
 void setTrackNumByString(String string)
          Sets the property value by String.
 void setup(Document doc)
          Initializes the XspfTrack by the Document doc.
 void setup(Element element)
          Initializes the XspfTrack by the Element element.
 void setup(File file)
          Initializes the XspfTrack by the File file.
 void setup(InputSource is)
          Initializes the XspfTrack by the InputSource is.
 void setup(InputStream in)
          Initializes the XspfTrack by the InputStream in.
 void setup(Reader reader)
          Initializes the XspfTrack by the Reader reader.
 void setup(RStack stack)
          Initializes the XspfTrack by the Stack stack that contains Elements.
 void setup(String uri)
          Initializes the XspfTrack by the String representation of URI uri.
 void setup(URL url)
          Initializes the XspfTrack by the URL url.
 void setup(XspfTrack source)
          Initializes the XspfTrack by the XspfTrack source.
 int sizeExtension()
          Gets number of the XspfExtension property extension.
 int sizeIdentifier()
          Gets number of the String property identifier.
 int sizeLink()
          Gets number of the XspfLink property link.
 int sizeLocation()
          Gets number of the String property location.
 int sizeMeta()
          Gets number of the XspfMeta property meta.
 String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XspfTrack

public XspfTrack()
Creates a XspfTrack.


XspfTrack

public XspfTrack(XspfTrack source)
Creates a XspfTrack.

Parameters:
source -

XspfTrack

public XspfTrack(RStack stack)
Creates a XspfTrack by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

Parameters:
stack -

XspfTrack

public XspfTrack(Document doc)
Creates a XspfTrack by the Document doc.

Parameters:
doc -

XspfTrack

public XspfTrack(Element element)
Creates a XspfTrack by the Element element.

Parameters:
element -

XspfTrack

public XspfTrack(File file)
          throws IOException,
                 SAXException,
                 ParserConfigurationException
Creates a XspfTrack by the File file.

Parameters:
file -
Throws:
IOException
SAXException
ParserConfigurationException

XspfTrack

public XspfTrack(String uri)
          throws IOException,
                 SAXException,
                 ParserConfigurationException
Creates a XspfTrack by the String representation of URI uri.

Parameters:
uri -
Throws:
IOException
SAXException
ParserConfigurationException

XspfTrack

public XspfTrack(URL url)
          throws IOException,
                 SAXException,
                 ParserConfigurationException
Creates a XspfTrack by the URL url.

Parameters:
url -
Throws:
IOException
SAXException
ParserConfigurationException

XspfTrack

public XspfTrack(InputStream in)
          throws IOException,
                 SAXException,
                 ParserConfigurationException
Creates a XspfTrack by the InputStream in.

Parameters:
in -
Throws:
IOException
SAXException
ParserConfigurationException

XspfTrack

public XspfTrack(InputSource is)
          throws IOException,
                 SAXException,
                 ParserConfigurationException
Creates a XspfTrack by the InputSource is.

Parameters:
is -
Throws:
IOException
SAXException
ParserConfigurationException

XspfTrack

public XspfTrack(Reader reader)
          throws IOException,
                 SAXException,
                 ParserConfigurationException
Creates a XspfTrack by the Reader reader.

Parameters:
reader -
Throws:
IOException
SAXException
ParserConfigurationException
Method Detail

isMatch

public static boolean isMatch(Element element)
Tests if a Element element is valid for the XspfTrack.

Parameters:
element -
Returns:
boolean

isMatch

public static boolean isMatch(RStack stack)
Tests if elements contained in a Stack stack is valid for the XspfTrack. This mehtod is supposed to be used internally by the Relaxer system.

Parameters:
stack -
Returns:
boolean

isMatchHungry

public static boolean isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack is valid for the XspfTrack. This method consumes the stack contents during matching operation. This mehtod is supposed to be used internally by the Relaxer system.

Parameters:
stack -
Returns:
boolean

getAlbum

public String getAlbum()
Gets the String property album.

Returns:
String

getAlbumAsString

public String getAlbumAsString()
Gets the property value as String.

Returns:
String

getAnnotation

public String getAnnotation()
Gets the String property annotation.

Returns:
String

getAnnotationAsString

public String getAnnotationAsString()
Gets the property value as String.

Returns:
String

getCreator

public String getCreator()
Gets the String property creator.

Returns:
String

getCreatorAsString

public String getCreatorAsString()
Gets the property value as String.

Returns:
String

getDuration

public BigInteger getDuration()
Gets the java.math.BigInteger property duration.

Returns:
java.math.BigInteger

getDurationAsString

public String getDurationAsString()
Gets the property value as String.

Returns:
String

getExtension

public XspfExtension[] getExtension()
Gets the XspfExtension property extension.

Returns:
XspfExtension[]

getExtension

public XspfExtension getExtension(int index)
Gets the XspfExtension property extension by index.

Parameters:
index -
Returns:
XspfExtension

getIdentifier

public String[] getIdentifier()
Gets the String property identifier.

Returns:
String[]

getIdentifier

public String getIdentifier(int index)
Gets the String property identifier by index.

Parameters:
index -
Returns:
String

getIdentifierAsString

public String[] getIdentifierAsString()
Gets the property value as String array.

Returns:
String[]

getIdentifierAsString

public String getIdentifierAsString(int index)
Gets the property value by index as String.

Parameters:
index -
Returns:
String

getImage

public String getImage()
Gets the String property image.

Returns:
String

getImageAsString

public String getImageAsString()
Gets the property value as String.

Returns:
String

getInfo

public String getInfo()
Gets the String property info.

Returns:
String

getInfoAsString

public String getInfoAsString()
Gets the property value as String.

Returns:
String

getLink

public XspfLink[] getLink()
Gets the XspfLink property link.

Returns:
XspfLink[]

getLink

public XspfLink getLink(int index)
Gets the XspfLink property link by index.

Parameters:
index -
Returns:
XspfLink

getLocation

public String[] getLocation()
Gets the String property location.

Returns:
String[]

getLocation

public String getLocation(int index)
Gets the String property location by index.

Parameters:
index -
Returns:
String

getLocationAsString

public String[] getLocationAsString()
Gets the property value as String array.

Returns:
String[]

getLocationAsString

public String getLocationAsString(int index)
Gets the property value by index as String.

Parameters:
index -
Returns:
String

getMeta

public XspfMeta[] getMeta()
Gets the XspfMeta property meta.

Returns:
XspfMeta[]

getMeta

public XspfMeta getMeta(int index)
Gets the XspfMeta property meta by index.

Parameters:
index -
Returns:
XspfMeta

getTitle

public String getTitle()
Gets the String property title.

Returns:
String

getTitleAsString

public String getTitleAsString()
Gets the property value as String.

Returns:
String

getTrackNum

public BigInteger getTrackNum()
Gets the java.math.BigInteger property trackNum.

Returns:
java.math.BigInteger

getTrackNumAsString

public String getTrackNumAsString()
Gets the property value as String.

Returns:
String

setAlbum

public void setAlbum(String album)
Sets the String property album.

Parameters:
album -

setAlbumByString

public void setAlbumByString(String string)
Sets the property value by String.

Parameters:
string -

setAnnotation

public void setAnnotation(String annotation)
Sets the String property annotation.

Parameters:
annotation -

setAnnotationByString

public void setAnnotationByString(String string)
Sets the property value by String.

Parameters:
string -

setCreator

public void setCreator(String creator)
Sets the String property creator.

Parameters:
creator -

setCreatorByString

public void setCreatorByString(String string)
Sets the property value by String.

Parameters:
string -

setDuration

public void setDuration(BigInteger duration)
Sets the java.math.BigInteger property duration.

Parameters:
duration -

setDurationByString

public void setDurationByString(String string)
Sets the property value by String.

Parameters:
string -

setExtension

public void setExtension(XspfExtension[] extension)
Sets the XspfExtension property extension.

Parameters:
extension -

setExtension

public void setExtension(XspfExtension extension)
Sets the XspfExtension property extension.

Parameters:
extension -

setExtension

public void setExtension(int index,
                         XspfExtension extension)
Sets the XspfExtension property extension by index.

Parameters:
index -
extension -

setIdentifier

public void setIdentifier(String[] identifier)
Sets the String property identifier.

Parameters:
identifier -

setIdentifier

public void setIdentifier(String identifier)
Sets the String property identifier.

Parameters:
identifier -

setIdentifier

public void setIdentifier(int index,
                          String identifier)
Sets the String property identifier by index.

Parameters:
index -
identifier -

setIdentifierByString

public void setIdentifierByString(String[] strings)
Sets the property value by String array.

Parameters:
strings -

setIdentifierByString

public void setIdentifierByString(int index,
                                  String value)
Sets the property value by String via index.

Parameters:
index -
value -

setImage

public void setImage(String image)
Sets the String property image.

Parameters:
image -

setImageByString

public void setImageByString(String string)
Sets the property value by String.

Parameters:
string -

setInfo

public void setInfo(String info)
Sets the String property info.

Parameters:
info -

setInfoByString

public void setInfoByString(String string)
Sets the property value by String.

Parameters:
string -

setLink

public void setLink(XspfLink[] link)
Sets the XspfLink property link.

Parameters:
link -

setLink

public void setLink(XspfLink link)
Sets the XspfLink property link.

Parameters:
link -

setLink

public void setLink(int index,
                    XspfLink link)
Sets the XspfLink property link by index.

Parameters:
index -
link -

setLocation

public void setLocation(String[] location)
Sets the String property location.

Parameters:
location -

setLocation

public void setLocation(String location)
Sets the String property location.

Parameters:
location -

setLocation

public void setLocation(int index,
                        String location)
Sets the String property location by index.

Parameters:
index -
location -

setLocationByString

public void setLocationByString(String[] strings)
Sets the property value by String array.

Parameters:
strings -

setLocationByString

public void setLocationByString(int index,
                                String value)
Sets the property value by String via index.

Parameters:
index -
value -

setMeta

public void setMeta(XspfMeta[] meta)
Sets the XspfMeta property meta.

Parameters:
meta -

setMeta

public void setMeta(XspfMeta meta)
Sets the XspfMeta property meta.

Parameters:
meta -

setMeta

public void setMeta(int index,
                    XspfMeta meta)
Sets the XspfMeta property meta by index.

Parameters:
index -
meta -

setTitle

public void setTitle(String title)
Sets the String property title.

Parameters:
title -

setTitleByString

public void setTitleByString(String string)
Sets the property value by String.

Parameters:
string -

setTrackNum

public void setTrackNum(BigInteger trackNum)
Sets the java.math.BigInteger property trackNum.

Parameters:
trackNum -

setTrackNumByString

public void setTrackNumByString(String string)
Sets the property value by String.

Parameters:
string -

addExtension

public void addExtension(XspfExtension extension)
Adds the XspfExtension property extension.

Parameters:
extension -

addExtension

public void addExtension(XspfExtension[] extension)
Adds the XspfExtension property extension.

Parameters:
extension -

addExtension

public void addExtension(int index,
                         XspfExtension extension)
Adds the XspfExtension property extension by index.

Parameters:
index -
extension -

addIdentifier

public void addIdentifier(String identifier)
Adds the String property identifier.

Parameters:
identifier -

addIdentifier

public void addIdentifier(String[] identifier)
Adds the String property identifier.

Parameters:
identifier -

addIdentifier

public void addIdentifier(int index,
                          String identifier)
Adds the String property identifier by index.

Parameters:
index -
identifier -

addIdentifierByString

public void addIdentifierByString(String string)
Adds the property value by String.

Parameters:
string -

addLink

public void addLink(XspfLink link)
Adds the XspfLink property link.

Parameters:
link -

addLink

public void addLink(XspfLink[] link)
Adds the XspfLink property link.

Parameters:
link -

addLink

public void addLink(int index,
                    XspfLink link)
Adds the XspfLink property link by index.

Parameters:
index -
link -

addLocation

public void addLocation(String location)
Adds the String property location.

Parameters:
location -

addLocation

public void addLocation(String[] location)
Adds the String property location.

Parameters:
location -

addLocation

public void addLocation(int index,
                        String location)
Adds the String property location by index.

Parameters:
index -
location -

addLocationByString

public void addLocationByString(String string)
Adds the property value by String.

Parameters:
string -

addMeta

public void addMeta(XspfMeta meta)
Adds the XspfMeta property meta.

Parameters:
meta -

addMeta

public void addMeta(XspfMeta[] meta)
Adds the XspfMeta property meta.

Parameters:
meta -

addMeta

public void addMeta(int index,
                    XspfMeta meta)
Adds the XspfMeta property meta by index.

Parameters:
index -
meta -

clearExtension

public void clearExtension()
Clear the XspfExtension property extension.


clearIdentifier

public void clearIdentifier()
Clear the String property identifier.


clearLink

public void clearLink()
Clear the XspfLink property link.


clearLocation

public void clearLocation()
Clear the String property location.


clearMeta

public void clearMeta()
Clear the XspfMeta property meta.


clone

public Object clone()
Overrides:
clone in class Object
Returns:
Object

makeDocument

public Document makeDocument()
                      throws ParserConfigurationException
Creates a DOM document representation of the object.

Returns:
Document
Throws:
ParserConfigurationException

makeElement

public void makeElement(Node parent)
Creates a DOM representation of the object. Result is appended to the Node parent.

Parameters:
parent -

makeTextAttribute

public void makeTextAttribute(StringBuffer buffer)
Makes an XML text representation.

Parameters:
buffer -

makeTextAttribute

public void makeTextAttribute(Writer buffer)
                       throws IOException
Makes an XML text representation.

Parameters:
buffer -
Throws:
IOException

makeTextAttribute

public void makeTextAttribute(PrintWriter buffer)
Makes an XML text representation.

Parameters:
buffer -

makeTextDocument

public String makeTextDocument()
Makes an XML text representation.

Returns:
String

makeTextElement

public void makeTextElement(StringBuffer buffer)
Makes an XML text representation.

Parameters:
buffer -

makeTextElement

public void makeTextElement(Writer buffer)
                     throws IOException
Makes an XML text representation.

Parameters:
buffer -
Throws:
IOException

makeTextElement

public void makeTextElement(PrintWriter buffer)
Makes an XML text representation.

Parameters:
buffer -

removeExtension

public void removeExtension(int index)
Remove the XspfExtension property extension by index.

Parameters:
index -

removeExtension

public void removeExtension(XspfExtension extension)
Remove the XspfExtension property extension by object.

Parameters:
extension -

removeIdentifier

public void removeIdentifier(int index)
Remove the String property identifier by index.

Parameters:
index -

removeIdentifier

public void removeIdentifier(String identifier)
Remove the String property identifier by object.

Parameters:
identifier -

removeLink

public void removeLink(int index)
Remove the XspfLink property link by index.

Parameters:
index -

removeLink

public void removeLink(XspfLink link)
Remove the XspfLink property link by object.

Parameters:
link -

removeLocation

public void removeLocation(int index)
Remove the String property location by index.

Parameters:
index -

removeLocation

public void removeLocation(String location)
Remove the String property location by object.

Parameters:
location -

removeMeta

public void removeMeta(int index)
Remove the XspfMeta property meta by index.

Parameters:
index -

removeMeta

public void removeMeta(XspfMeta meta)
Remove the XspfMeta property meta by object.

Parameters:
meta -

setup

public void setup(XspfTrack source)
Initializes the XspfTrack by the XspfTrack source.

Parameters:
source -

setup

public void setup(Document doc)
Initializes the XspfTrack by the Document doc.

Parameters:
doc -

setup

public void setup(Element element)
Initializes the XspfTrack by the Element element.

Parameters:
element -

setup

public void setup(RStack stack)
Initializes the XspfTrack by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

Parameters:
stack -

setup

public void setup(File file)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfTrack by the File file.

Parameters:
file -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(String uri)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfTrack by the String representation of URI uri.

Parameters:
uri -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(URL url)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfTrack by the URL url.

Parameters:
url -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(InputStream in)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfTrack by the InputStream in.

Parameters:
in -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(InputSource is)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfTrack by the InputSource is.

Parameters:
is -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(Reader reader)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfTrack by the Reader reader.

Parameters:
reader -
Throws:
IOException
SAXException
ParserConfigurationException

sizeExtension

public int sizeExtension()
Gets number of the XspfExtension property extension.

Returns:
int

sizeIdentifier

public int sizeIdentifier()
Gets number of the String property identifier.

Returns:
int

sizeLink

public int sizeLink()
Gets number of the XspfLink property link.

Returns:
int

sizeLocation

public int sizeLocation()
Gets number of the String property location.

Returns:
int

sizeMeta

public int sizeMeta()
Gets number of the XspfMeta property meta.

Returns:
int

toString

public String toString()
Returns a String representation of this object. While this method informs as XML format representaion, it's purpose is just information, not making a rigid XML documentation.

Overrides:
toString in class Object
Returns:
String


Copyright © 1999-2006 Melloware Inc. All Rights Reserved.