|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.melloware.jspiff.jaxp.XspfAttribution
public class XspfAttribution
XspfAttribution is generated from xspf.rng by Relaxer. This class is derived from:
<element name="attribution">
<zeroOrMore>
<element name="location">
<data type="anyURI"/>
</element>
</zeroOrMore>
</element>
| Constructor Summary | |
|---|---|
XspfAttribution()
Creates a XspfAttribution. |
|
XspfAttribution(Document doc)
Creates a XspfAttribution by the Document doc. |
|
XspfAttribution(Element element)
Creates a XspfAttribution by the Element element. |
|
XspfAttribution(File file)
Creates a XspfAttribution by the File file. |
|
XspfAttribution(InputSource is)
Creates a XspfAttribution by the InputSource is. |
|
XspfAttribution(InputStream in)
Creates a XspfAttribution by the InputStream in. |
|
XspfAttribution(Reader reader)
Creates a XspfAttribution by the Reader reader. |
|
XspfAttribution(RStack stack)
Creates a XspfAttribution by the Stack stack
that contains Elements. |
|
XspfAttribution(String uri)
Creates a XspfAttribution
by the String representation of URI uri. |
|
XspfAttribution(URL url)
Creates a XspfAttribution by the URL url. |
|
XspfAttribution(XspfAttribution source)
Creates a XspfAttribution. |
|
| Method Summary | |
|---|---|
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 |
clearLocation()
Clear the String property location. |
Object |
clone()
|
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. |
static boolean |
isMatch(Element element)
Tests if a Element element is valid
for the XspfAttribution. |
static boolean |
isMatch(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfAttribution. |
static boolean |
isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack
is valid for the XspfAttribution. |
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 |
removeLocation(int index)
Remove the String property location by index. |
void |
removeLocation(String location)
Remove the String property location by object. |
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 |
setup(Document doc)
Initializes the XspfAttribution by the Document doc. |
void |
setup(Element element)
Initializes the XspfAttribution by the Element element. |
void |
setup(File file)
Initializes the XspfAttribution by the File file. |
void |
setup(InputSource is)
Initializes the XspfAttribution by the InputSource is. |
void |
setup(InputStream in)
Initializes the XspfAttribution by the InputStream in. |
void |
setup(Reader reader)
Initializes the XspfAttribution by the Reader reader. |
void |
setup(RStack stack)
Initializes the XspfAttribution by the Stack stack
that contains Elements. |
void |
setup(String uri)
Initializes the XspfAttribution
by the String representation of URI uri. |
void |
setup(URL url)
Initializes the XspfAttribution by the URL url. |
void |
setup(XspfAttribution source)
Initializes the XspfAttribution by the XspfAttribution source. |
int |
sizeLocation()
Gets number of the String property location. |
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 XspfAttribution()
XspfAttribution.
public XspfAttribution(XspfAttribution source)
XspfAttribution.
source - public XspfAttribution(RStack stack)
XspfAttribution by the Stack stack
that contains Elements.
This constructor is supposed to be used internally
by the Relaxer system.
stack - public XspfAttribution(Document doc)
XspfAttribution by the Document doc.
doc - public XspfAttribution(Element element)
XspfAttribution by the Element element.
element -
public XspfAttribution(File file)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the File file.
file -
IOException
SAXException
ParserConfigurationException
public XspfAttribution(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public XspfAttribution(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public XspfAttribution(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public XspfAttribution(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public XspfAttribution(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationException| Method Detail |
|---|
public static boolean isMatch(Element element)
element is valid
for the XspfAttribution.
element -
public static boolean isMatch(RStack stack)
stack
is valid for the XspfAttribution.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public static boolean isMatchHungry(RStack stack)
stack
is valid for the XspfAttribution.
This method consumes the stack contents during matching operation.
This mehtod is supposed to be used internally
by the Relaxer system.
stack -
public String[] getLocation()
public String getLocation(int index)
index -
public String[] getLocationAsString()
public String getLocationAsString(int index)
index -
public void setLocation(String[] location)
location - public void setLocation(String location)
location -
public void setLocation(int index,
String location)
index - location - public void setLocationByString(String[] strings)
strings -
public void setLocationByString(int index,
String value)
index - value - public void addLocation(String location)
location - public void addLocation(String[] location)
location -
public void addLocation(int index,
String location)
index - location - public void addLocationByString(String string)
string - public void clearLocation()
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 removeLocation(int index)
index - public void removeLocation(String location)
location - public void setup(XspfAttribution source)
XspfAttribution by the XspfAttribution source.
source - public void setup(Document doc)
XspfAttribution by the Document doc.
doc - public void setup(Element element)
XspfAttribution by the Element element.
element - public void setup(RStack stack)
XspfAttribution 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
XspfAttribution by the File file.
file -
IOException
SAXException
ParserConfigurationException
public void setup(String uri)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution
by the String representation of URI uri.
uri -
IOException
SAXException
ParserConfigurationException
public void setup(URL url)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the URL url.
url -
IOException
SAXException
ParserConfigurationException
public void setup(InputStream in)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the InputStream in.
in -
IOException
SAXException
ParserConfigurationException
public void setup(InputSource is)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the InputSource is.
is -
IOException
SAXException
ParserConfigurationException
public void setup(Reader reader)
throws IOException,
SAXException,
ParserConfigurationException
XspfAttribution by the Reader reader.
reader -
IOException
SAXException
ParserConfigurationExceptionpublic int sizeLocation()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||