|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.melloware.jspiff.jaxp.XspfPlaylistTrackList
public class XspfPlaylistTrackList
XspfPlaylistTrackList is generated from xspf.rng by Relaxer. This class is derived from:
<element name="trackList">
<zeroOrMore>
<ref name="track"/>
</zeroOrMore>
</element>
| Constructor Summary | |
|---|---|
XspfPlaylistTrackList()
Creates a XspfPlaylistTrackList. |
|
XspfPlaylistTrackList(Document doc)
Creates a XspfPlaylistTrackList by the Document doc. |
|
XspfPlaylistTrackList(Element element)
Creates a XspfPlaylistTrackList by the Element element. |
|
XspfPlaylistTrackList(File file)
Creates a XspfPlaylistTrackList by the File file. |
|
XspfPlaylistTrackList(InputSource is)
Creates a XspfPlaylistTrackList by the InputSource is. |
|
XspfPlaylistTrackList(InputStream in)
Creates a XspfPlaylistTrackList by the InputStream in. |
|
XspfPlaylistTrackList(Reader reader)
Creates a XspfPlaylistTrackList by the Reader reader. |
|
XspfPlaylistTrackList(RStack stack)
Creates a XspfPlaylistTrackList by the Stack stack
that contains Elements. |
|
XspfPlaylistTrackList(String uri)
Creates a XspfPlaylistTrackList
by the String representation of URI uri. |
|
XspfPlaylistTrackList(URL url)
Creates a XspfPlaylistTrackList by the URL url. |
|
XspfPlaylistTrackList(XspfPlaylistTrackList source)
Creates a XspfPlaylistTrackList. |
|
| Method Summary | |
|---|---|
void |
addTrack(int index,
XspfTrack track)
Adds the XspfTrack property track by index. |
void |
addTrack(XspfTrack track)
Adds the XspfTrack property track. |
void |
addTrack(XspfTrack[] track)
Adds the XspfTrack property track. |
void |
clearTrack()
Clear the XspfTrack property track. |
Object |
clone()
|
XspfTrack[] |
getTrack()
Gets the XspfTrack property track. |
XspfTrack |
getTrack(int index)
Gets the XspfTrack property track by index. |
static boolean |
isMatch(Element element)
Tests if a Element element is valid
for the XspfPlaylistTrackList. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfPlaylistTrackList. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfPlaylistTrackList. |
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 |
removeTrack(int index)
Remove the XspfTrack property track by index. |
void |
removeTrack(XspfTrack track)
Remove the XspfTrack property track by object. |
void |
setTrack(int index,
XspfTrack track)
Sets the XspfTrack property track by index. |
void |
setTrack(XspfTrack track)
Sets the XspfTrack property track. |
void |
setTrack(XspfTrack[] track)
Sets the XspfTrack property track. |
void |
setup(Document doc)
Initializes the XspfPlaylistTrackList by the Document doc. |
void |
setup(Element element)
Initializes the XspfPlaylistTrackList by the Element element. |
void |
setup(File file)
Initializes the XspfPlaylistTrackList by the File file. |
void |
setup(InputSource is)
Initializes the XspfPlaylistTrackList by the InputSource is. |
void |
setup(InputStream in)
Initializes the XspfPlaylistTrackList by the InputStream in. |
void |
setup(Reader reader)
Initializes the XspfPlaylistTrackList by the Reader reader. |
void |
setup(RStack stack)
Initializes the XspfPlaylistTrackList by the Stack stack
that contains Elements. |
void |
setup(String uri)
Initializes the XspfPlaylistTrackList
by the String representation of URI uri. |
void |
setup(URL url)
Initializes the XspfPlaylistTrackList by the URL url. |
void |
setup(XspfPlaylistTrackList source)
Initializes the XspfPlaylistTrackList by the XspfPlaylistTrackList source. |
int |
sizeTrack()
Gets number of the XspfTrack property track. |
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 |
|---|
public XspfPlaylistTrackList()
XspfPlaylistTrackList.
public XspfPlaylistTrackList(XspfPlaylistTrackList source)
XspfPlaylistTrackList.
source - public XspfPlaylistTrackList(RStack stack)
XspfPlaylistTrackList by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public XspfPlaylistTrackList(Document doc)
XspfPlaylistTrackList by the Document doc.
doc - public XspfPlaylistTrackList(Element element)
XspfPlaylistTrackList by the Element element.
element -
public XspfPlaylistTrackList(File file)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the File file.
file -
IOException
SAXException
ParserConfigurationException
public XspfPlaylistTrackList(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public XspfPlaylistTrackList(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public XspfPlaylistTrackList(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public XspfPlaylistTrackList(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public XspfPlaylistTrackList(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationException| Method Detail |
|---|
public static boolean isMatch(Element element)
element is valid
for the XspfPlaylistTrackList.
element -
public static boolean isMatch(RStack stack)
stack
is valid for the XspfPlaylistTrackList.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public static boolean isMatchHungry(RStack stack)
stack
is valid for the XspfPlaylistTrackList.
This method consumes the stack contents during matching operation.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public XspfTrack[] getTrack()
public XspfTrack getTrack(int index)
index -
public void setTrack(XspfTrack[] track)
track - public void setTrack(XspfTrack track)
track -
public void setTrack(int index,
XspfTrack track)
index - track - public void addTrack(XspfTrack track)
track - public void addTrack(XspfTrack[] track)
track -
public void addTrack(int index,
XspfTrack track)
index - track - public void clearTrack()
public Object clone()
clone in class Object
public Document makeDocument()
throws ParserConfigurationException
ParserConfigurationExceptionpublic void makeElement(Node parent)
parent.
parent - public void makeTextAttribute(StringBuffer buffer)
buffer -
public void makeTextAttribute(Writer buffer)
throws IOException
buffer -
IOExceptionpublic void makeTextAttribute(PrintWriter buffer)
buffer - public String makeTextDocument()
public void makeTextElement(StringBuffer buffer)
buffer -
public void makeTextElement(Writer buffer)
throws IOException
buffer -
IOExceptionpublic void makeTextElement(PrintWriter buffer)
buffer - public void removeTrack(int index)
index - public void removeTrack(XspfTrack track)
track - public void setup(XspfPlaylistTrackList source)
XspfPlaylistTrackList by the XspfPlaylistTrackList source.
source - public void setup(Document doc)
XspfPlaylistTrackList by the Document doc.
doc - public void setup(Element element)
XspfPlaylistTrackList by the Element element.
element - public void setup(RStack stack)
XspfPlaylistTrackList by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack -
public void setup(File file)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the File file.
file -
IOException
SAXException
ParserConfigurationException
public void setup(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public void setup(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public void setup(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public void setup(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public void setup(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfPlaylistTrackList by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationExceptionpublic int sizeTrack()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||