|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.melloware.jspiff.jaxp.XspfMeta
public class XspfMeta
XspfMeta is generated from xspf.rng by Relaxer. This class is derived from:
<element name="meta">
<attribute name="rel">
<data type="anyURI"/>
</attribute>
<text/>
</element>
| Constructor Summary | |
|---|---|
XspfMeta()
Creates a XspfMeta. |
|
XspfMeta(Document doc)
Creates a XspfMeta by the Document doc. |
|
XspfMeta(Element element)
Creates a XspfMeta by the Element element. |
|
XspfMeta(File file)
Creates a XspfMeta by the File file. |
|
XspfMeta(InputSource is)
Creates a XspfMeta by the InputSource is. |
|
XspfMeta(InputStream in)
Creates a XspfMeta by the InputStream in. |
|
XspfMeta(Reader reader)
Creates a XspfMeta by the Reader reader. |
|
XspfMeta(RStack stack)
Creates a XspfMeta by the Stack stack
that contains Elements. |
|
XspfMeta(String uri)
Creates a XspfMeta
by the String representation of URI uri. |
|
XspfMeta(URL url)
Creates a XspfMeta by the URL url. |
|
XspfMeta(XspfMeta source)
Creates a XspfMeta. |
|
| 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 XspfMeta. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfMeta. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfMeta. |
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 XspfMeta by the Document doc. |
void |
setup(Element element)
Initializes the XspfMeta by the Element element. |
void |
setup(File file)
Initializes the XspfMeta by the File file. |
void |
setup(InputSource is)
Initializes the XspfMeta by the InputSource is. |
void |
setup(InputStream in)
Initializes the XspfMeta by the InputStream in. |
void |
setup(Reader reader)
Initializes the XspfMeta by the Reader reader. |
void |
setup(RStack stack)
Initializes the XspfMeta by the Stack stack
that contains Elements. |
void |
setup(String uri)
Initializes the XspfMeta
by the String representation of URI uri. |
void |
setup(URL url)
Initializes the XspfMeta by the URL url. |
void |
setup(XspfMeta source)
Initializes the XspfMeta by the XspfMeta 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 XspfMeta()
XspfMeta.
public XspfMeta(XspfMeta source)
XspfMeta.
source - public XspfMeta(RStack stack)
XspfMeta by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public XspfMeta(Document doc)
XspfMeta by the Document doc.
doc - public XspfMeta(Element element)
XspfMeta by the Element element.
element -
public XspfMeta(File file)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the File file.
file -
IOException
SAXException
ParserConfigurationException
public XspfMeta(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public XspfMeta(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public XspfMeta(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public XspfMeta(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public XspfMeta(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationException| Method Detail |
|---|
public static boolean isMatch(Element element)
element is valid
for the XspfMeta.
element -
public static boolean isMatch(RStack stack)
stack
is valid for the XspfMeta.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public static boolean isMatchHungry(RStack stack)
stack
is valid for the XspfMeta.
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(XspfMeta source)
XspfMeta by the XspfMeta source.
source - public void setup(Document doc)
XspfMeta by the Document doc.
doc - public void setup(Element element)
XspfMeta by the Element element.
element - public void setup(RStack stack)
XspfMeta 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
XspfMeta by the File file.
file -
IOException
SAXException
ParserConfigurationException
public void setup(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public void setup(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public void setup(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public void setup(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public void setup(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfMeta 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 | |||||||||