|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.melloware.jspiff.jaxp.XspfExtension
public class XspfExtension
XspfExtension is generated from xspf.rng by Relaxer. This class is derived from:
<element name="extension">
<attribute name="application">
<data type="anyURI"/>
</attribute>
<zeroOrMore>
<choice>
<element>
<anyName/>
<ref name="anything"/>
</element>
<text/>
</choice>
</zeroOrMore>
</element>
| Constructor Summary | |
|---|---|
XspfExtension()
Creates a XspfExtension. |
|
XspfExtension(Document doc)
Creates a XspfExtension by the Document doc. |
|
XspfExtension(Element element)
Creates a XspfExtension by the Element element. |
|
XspfExtension(File file)
Creates a XspfExtension by the File file. |
|
XspfExtension(InputSource is)
Creates a XspfExtension by the InputSource is. |
|
XspfExtension(InputStream in)
Creates a XspfExtension by the InputStream in. |
|
XspfExtension(Reader reader)
Creates a XspfExtension by the Reader reader. |
|
XspfExtension(RStack stack)
Creates a XspfExtension by the Stack stack
that contains Elements. |
|
XspfExtension(String uri)
Creates a XspfExtension
by the String representation of URI uri. |
|
XspfExtension(URL url)
Creates a XspfExtension by the URL url. |
|
XspfExtension(XspfExtension source)
Creates a XspfExtension. |
|
| Method Summary | |
|---|---|
void |
addContent(int index,
IXspfExtensionMixed content)
Adds the IXspfExtensionMixed property content by index. |
void |
addContent(IXspfExtensionMixed content)
Adds the IXspfExtensionMixed property content. |
void |
addContent(IXspfExtensionMixed[] content)
Adds the IXspfExtensionMixed property content. |
void |
addContent(Node value)
Adds a mixed content by org.w3c.dom.Node. |
void |
addContent(String value)
Adds a mixed content by String. |
void |
addContentByString(String value)
Adds a mixed content by String. |
void |
clearContent()
Clear the IXspfExtensionMixed property content. |
Object |
clone()
|
String |
getApplication()
Gets the String property application. |
String |
getApplicationAsString()
Gets the property value as String. |
IXspfExtensionMixed[] |
getContent()
Gets the IXspfExtensionMixed property content. |
IXspfExtensionMixed |
getContent(int index)
Gets the IXspfExtensionMixed property content by index. |
static boolean |
isMatch(Element element)
Tests if a Element element is valid
for the XspfExtension. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfExtension. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfExtension. |
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 |
removeContent(int index)
Remove the IXspfExtensionMixed property content by index. |
void |
removeContent(IXspfExtensionMixed content)
Remove the IXspfExtensionMixed property content by object. |
void |
setApplication(String application)
Sets the String property application. |
void |
setApplicationByString(String string)
Sets the property value by String. |
void |
setContent(int index,
IXspfExtensionMixed content)
Sets the IXspfExtensionMixed property content by index. |
void |
setContent(IXspfExtensionMixed content)
Sets the IXspfExtensionMixed property content. |
void |
setContent(IXspfExtensionMixed[] content)
Sets the IXspfExtensionMixed property content. |
void |
setContent(Node value)
Sets a mixed content by org.w3c.dom.Node. |
void |
setContent(String value)
Sets a mixed content by String. |
void |
setContentByString(String value)
Sets a mixed content by String. |
void |
setup(Document doc)
Initializes the XspfExtension by the Document doc. |
void |
setup(Element element)
Initializes the XspfExtension by the Element element. |
void |
setup(File file)
Initializes the XspfExtension by the File file. |
void |
setup(InputSource is)
Initializes the XspfExtension by the InputSource is. |
void |
setup(InputStream in)
Initializes the XspfExtension by the InputStream in. |
void |
setup(Reader reader)
Initializes the XspfExtension by the Reader reader. |
void |
setup(RStack stack)
Initializes the XspfExtension by the Stack stack
that contains Elements. |
void |
setup(String uri)
Initializes the XspfExtension
by the String representation of URI uri. |
void |
setup(URL url)
Initializes the XspfExtension by the URL url. |
void |
setup(XspfExtension source)
Initializes the XspfExtension by the XspfExtension source. |
int |
sizeContent()
Gets number of the IXspfExtensionMixed property content. |
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 XspfExtension()
XspfExtension.
public XspfExtension(XspfExtension source)
XspfExtension.
source - public XspfExtension(RStack stack)
XspfExtension by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public XspfExtension(Document doc)
XspfExtension by the Document doc.
doc - public XspfExtension(Element element)
XspfExtension by the Element element.
element -
public XspfExtension(File file)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the File file.
file -
IOException
SAXException
ParserConfigurationException
public XspfExtension(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public XspfExtension(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public XspfExtension(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public XspfExtension(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public XspfExtension(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationException| Method Detail |
|---|
public static boolean isMatch(Element element)
element is valid
for the XspfExtension.
element -
public static boolean isMatch(RStack stack)
stack
is valid for the XspfExtension.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public static boolean isMatchHungry(RStack stack)
stack
is valid for the XspfExtension.
This method consumes the stack contents during matching operation.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public String getApplication()
public String getApplicationAsString()
public IXspfExtensionMixed[] getContent()
public IXspfExtensionMixed getContent(int index)
index -
public void setApplication(String application)
application - public void setApplicationByString(String string)
string - public void setContent(String value)
String.
value - public void setContent(Node value)
org.w3c.dom.Node.
value - public void setContent(IXspfExtensionMixed[] content)
content - public void setContent(IXspfExtensionMixed content)
content -
public void setContent(int index,
IXspfExtensionMixed content)
index - content - public void setContentByString(String value)
String.
value - public void addContent(String value)
String.
value - public void addContent(Node value)
org.w3c.dom.Node.
value - public void addContent(IXspfExtensionMixed content)
content - public void addContent(IXspfExtensionMixed[] content)
content -
public void addContent(int index,
IXspfExtensionMixed content)
index - content - public void addContentByString(String value)
String.
value - public void clearContent()
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 removeContent(int index)
index - public void removeContent(IXspfExtensionMixed content)
content - public void setup(XspfExtension source)
XspfExtension by the XspfExtension source.
source - public void setup(Document doc)
XspfExtension by the Document doc.
doc - public void setup(Element element)
XspfExtension by the Element element.
element - public void setup(RStack stack)
XspfExtension 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
XspfExtension by the File file.
file -
IOException
SAXException
ParserConfigurationException
public void setup(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public void setup(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public void setup(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public void setup(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public void setup(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfExtension by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationExceptionpublic int sizeContent()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||