|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.melloware.jspiff.jaxp.XspfLink
public class XspfLink
XspfLink is generated from xspf.rng by Relaxer. This class is derived from:
<element name="link">
<attribute name="rel">
<data type="anyURI"/>
</attribute>
<data type="anyURI"/>
</element>
| Constructor Summary | |
|---|---|
XspfLink()
Creates a XspfLink. |
|
XspfLink(Document doc)
Creates a XspfLink by the Document doc. |
|
XspfLink(Element element)
Creates a XspfLink by the Element element. |
|
XspfLink(File file)
Creates a XspfLink by the File file. |
|
XspfLink(InputSource is)
Creates a XspfLink by the InputSource is. |
|
XspfLink(InputStream in)
Creates a XspfLink by the InputStream in. |
|
XspfLink(Reader reader)
Creates a XspfLink by the Reader reader. |
|
XspfLink(RStack stack)
Creates a XspfLink by the Stack stack
that contains Elements. |
|
XspfLink(String uri)
Creates a XspfLink
by the String representation of URI uri. |
|
XspfLink(URL url)
Creates a XspfLink by the URL url. |
|
XspfLink(XspfLink source)
Creates a XspfLink. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
String |
getContent()
Gets the String property content. |
String |
getContentAsString()
Gets the property value as String. |
String |
getRel()
Gets the String property rel. |
String |
getRelAsString()
Gets the property value as String. |
static boolean |
isMatch(Element element)
Tests if a Element element is valid
for the XspfLink. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfLink. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfLink. |
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 |
setContent(String content)
Sets the String property content. |
void |
setContentByString(String string)
Sets the property value by String. |
void |
setRel(String rel)
Sets the String property rel. |
void |
setRelByString(String string)
Sets the property value by String. |
void |
setup(Document doc)
Initializes the XspfLink by the Document doc. |
void |
setup(Element element)
Initializes the XspfLink by the Element element. |
void |
setup(File file)
Initializes the XspfLink by the File file. |
void |
setup(InputSource is)
Initializes the XspfLink by the InputSource is. |
void |
setup(InputStream in)
Initializes the XspfLink by the InputStream in. |
void |
setup(Reader reader)
Initializes the XspfLink by the Reader reader. |
void |
setup(RStack stack)
Initializes the XspfLink by the Stack stack
that contains Elements. |
void |
setup(String uri)
Initializes the XspfLink
by the String representation of URI uri. |
void |
setup(URL url)
Initializes the XspfLink by the URL url. |
void |
setup(XspfLink source)
Initializes the XspfLink by the XspfLink source. |
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 XspfLink()
XspfLink.
public XspfLink(XspfLink source)
XspfLink.
source - public XspfLink(RStack stack)
XspfLink by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public XspfLink(Document doc)
XspfLink by the Document doc.
doc - public XspfLink(Element element)
XspfLink by the Element element.
element -
public XspfLink(File file)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the File file.
file -
IOException
SAXException
ParserConfigurationException
public XspfLink(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public XspfLink(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public XspfLink(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public XspfLink(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public XspfLink(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationException| Method Detail |
|---|
public static boolean isMatch(Element element)
element is valid
for the XspfLink.
element -
public static boolean isMatch(RStack stack)
stack
is valid for the XspfLink.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public static boolean isMatchHungry(RStack stack)
stack
is valid for the XspfLink.
This method consumes the stack contents during matching operation.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public String getContent()
public String getContentAsString()
public String getRel()
public String getRelAsString()
public void setContent(String content)
content - public void setContentByString(String string)
string - public void setRel(String rel)
rel - public void setRelByString(String string)
string - 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 setup(XspfLink source)
XspfLink by the XspfLink source.
source - public void setup(Document doc)
XspfLink by the Document doc.
doc - public void setup(Element element)
XspfLink by the Element element.
element - public void setup(RStack stack)
XspfLink 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
XspfLink by the File file.
file -
IOException
SAXException
ParserConfigurationException
public void setup(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public void setup(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public void setup(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public void setup(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public void setup(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfLink by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||