com.melloware.jspiff.jaxp
Class XspfAnythingAnyElement

java.lang.Object
  extended by com.melloware.jspiff.jaxp.XspfAnythingAnyElement
All Implemented Interfaces:
IXspfAnythingMixed, IXspfAnythingMixedChoice, Serializable, Cloneable

public class XspfAnythingAnyElement
extends Object
implements Serializable, Cloneable, IXspfAnythingMixed, IXspfAnythingMixedChoice

XspfAnythingAnyElement is generated from xspf.rng by Relaxer. This class is derived from:

 <element>
                     <anyName/>
                     <ref name="anything"/>
                 </element>

Version:
xspf.rng (Wed Sep 27 17:36:25 EDT 2006)
Author:
Relaxer 1.1b (http://www.relaxer.org), Emil A. Lefkof III
See Also:
Serialized Form

Constructor Summary
XspfAnythingAnyElement()
          Creates a XspfAnythingAnyElement.
XspfAnythingAnyElement(Document doc)
          Creates a XspfAnythingAnyElement by the Document doc.
XspfAnythingAnyElement(Element element)
          Creates a XspfAnythingAnyElement by the Element element.
XspfAnythingAnyElement(File file)
          Creates a XspfAnythingAnyElement by the File file.
XspfAnythingAnyElement(InputSource is)
          Creates a XspfAnythingAnyElement by the InputSource is.
XspfAnythingAnyElement(InputStream in)
          Creates a XspfAnythingAnyElement by the InputStream in.
XspfAnythingAnyElement(Reader reader)
          Creates a XspfAnythingAnyElement by the Reader reader.
XspfAnythingAnyElement(RStack stack)
          Creates a XspfAnythingAnyElement by the Stack stack that contains Elements.
XspfAnythingAnyElement(String uri)
          Creates a XspfAnythingAnyElement by the String representation of URI uri.
XspfAnythingAnyElement(URL url)
          Creates a XspfAnythingAnyElement by the URL url.
XspfAnythingAnyElement(XspfAnythingAnyElement source)
          Creates a XspfAnythingAnyElement.
 
Method Summary
 void addContent(int index, IXspfAnythingMixed content)
          Adds the IXspfAnythingMixed property content by index.
 void addContent(IXspfAnythingMixed content)
          Adds the IXspfAnythingMixed property content.
 void addContent(IXspfAnythingMixed[] content)
          Adds the IXspfAnythingMixed 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 IXspfAnythingMixed property content.
 Object clone()
           
 IXspfAnythingMixed[] getContent()
          Gets the IXspfAnythingMixed property content.
 IXspfAnythingMixed getContent(int index)
          Gets the IXspfAnythingMixed property content by index.
static boolean isMatch(Element element)
          Tests if a Element element is valid for the XspfAnythingAnyElement.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfAnythingAnyElement.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfAnythingAnyElement.
 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 IXspfAnythingMixed property content by index.
 void removeContent(IXspfAnythingMixed content)
          Remove the IXspfAnythingMixed property content by object.
 void setContent(int index, IXspfAnythingMixed content)
          Sets the IXspfAnythingMixed property content by index.
 void setContent(IXspfAnythingMixed content)
          Sets the IXspfAnythingMixed property content.
 void setContent(IXspfAnythingMixed[] content)
          Sets the IXspfAnythingMixed 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 XspfAnythingAnyElement by the Document doc.
 void setup(Element element)
          Initializes the XspfAnythingAnyElement by the Element element.
 void setup(File file)
          Initializes the XspfAnythingAnyElement by the File file.
 void setup(InputSource is)
          Initializes the XspfAnythingAnyElement by the InputSource is.
 void setup(InputStream in)
          Initializes the XspfAnythingAnyElement by the InputStream in.
 void setup(Reader reader)
          Initializes the XspfAnythingAnyElement by the Reader reader.
 void setup(RStack stack)
          Initializes the XspfAnythingAnyElement by the Stack stack that contains Elements.
 void setup(String uri)
          Initializes the XspfAnythingAnyElement by the String representation of URI uri.
 void setup(URL url)
          Initializes the XspfAnythingAnyElement by the URL url.
 void setup(XspfAnythingAnyElement source)
          Initializes the XspfAnythingAnyElement by the XspfAnythingAnyElement source.
 int sizeContent()
          Gets number of the IXspfAnythingMixed 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

XspfAnythingAnyElement

public XspfAnythingAnyElement()
Creates a XspfAnythingAnyElement.


XspfAnythingAnyElement

public XspfAnythingAnyElement(XspfAnythingAnyElement source)
Creates a XspfAnythingAnyElement.

Parameters:
source -

XspfAnythingAnyElement

public XspfAnythingAnyElement(RStack stack)
Creates a XspfAnythingAnyElement by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

Parameters:
stack -

XspfAnythingAnyElement

public XspfAnythingAnyElement(Document doc)
Creates a XspfAnythingAnyElement by the Document doc.

Parameters:
doc -

XspfAnythingAnyElement

public XspfAnythingAnyElement(Element element)
Creates a XspfAnythingAnyElement by the Element element.

Parameters:
element -

XspfAnythingAnyElement

public XspfAnythingAnyElement(File file)
                       throws IOException,
                              SAXException,
                              ParserConfigurationException
Creates a XspfAnythingAnyElement by the File file.

Parameters:
file -
Throws:
IOException
SAXException
ParserConfigurationException

XspfAnythingAnyElement

public XspfAnythingAnyElement(String uri)
                       throws IOException,
                              SAXException,
                              ParserConfigurationException
Creates a XspfAnythingAnyElement by the String representation of URI uri.

Parameters:
uri -
Throws:
IOException
SAXException
ParserConfigurationException

XspfAnythingAnyElement

public XspfAnythingAnyElement(URL url)
                       throws IOException,
                              SAXException,
                              ParserConfigurationException
Creates a XspfAnythingAnyElement by the URL url.

Parameters:
url -
Throws:
IOException
SAXException
ParserConfigurationException

XspfAnythingAnyElement

public XspfAnythingAnyElement(InputStream in)
                       throws IOException,
                              SAXException,
                              ParserConfigurationException
Creates a XspfAnythingAnyElement by the InputStream in.

Parameters:
in -
Throws:
IOException
SAXException
ParserConfigurationException

XspfAnythingAnyElement

public XspfAnythingAnyElement(InputSource is)
                       throws IOException,
                              SAXException,
                              ParserConfigurationException
Creates a XspfAnythingAnyElement by the InputSource is.

Parameters:
is -
Throws:
IOException
SAXException
ParserConfigurationException

XspfAnythingAnyElement

public XspfAnythingAnyElement(Reader reader)
                       throws IOException,
                              SAXException,
                              ParserConfigurationException
Creates a XspfAnythingAnyElement by the Reader reader.

Parameters:
reader -
Throws:
IOException
SAXException
ParserConfigurationException
Method Detail

isMatch

public static boolean isMatch(Element element)
Tests if a Element element is valid for the XspfAnythingAnyElement.

Parameters:
element -
Returns:
boolean

isMatch

public static boolean isMatch(RStack stack)
Tests if elements contained in a Stack stack is valid for the XspfAnythingAnyElement. This mehtod is supposed to be used internally by the Relaxer system.

Parameters:
stack -
Returns:
boolean

isMatchHungry

public static boolean isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack is valid for the XspfAnythingAnyElement. This method consumes the stack contents during matching operation. This mehtod is supposed to be used internally by the Relaxer system.

Parameters:
stack -
Returns:
boolean

getContent

public IXspfAnythingMixed[] getContent()
Gets the IXspfAnythingMixed property content.

Returns:
IXspfAnythingMixed[]

getContent

public IXspfAnythingMixed getContent(int index)
Gets the IXspfAnythingMixed property content by index.

Parameters:
index -
Returns:
IXspfAnythingMixed

setContent

public void setContent(String value)
Sets a mixed content by String.

Specified by:
setContent in interface IXspfAnythingMixedChoice
Parameters:
value -

setContent

public void setContent(Node value)
Sets a mixed content by org.w3c.dom.Node.

Parameters:
value -

setContent

public void setContent(IXspfAnythingMixed[] content)
Sets the IXspfAnythingMixed property content.

Parameters:
content -

setContent

public void setContent(IXspfAnythingMixed content)
Sets the IXspfAnythingMixed property content.

Parameters:
content -

setContent

public void setContent(int index,
                       IXspfAnythingMixed content)
Sets the IXspfAnythingMixed property content by index.

Parameters:
index -
content -

setContentByString

public void setContentByString(String value)
Sets a mixed content by String.

Specified by:
setContentByString in interface IXspfAnythingMixedChoice
Parameters:
value -

addContent

public void addContent(String value)
Adds a mixed content by String.

Parameters:
value -

addContent

public void addContent(Node value)
Adds a mixed content by org.w3c.dom.Node.

Parameters:
value -

addContent

public void addContent(IXspfAnythingMixed content)
Adds the IXspfAnythingMixed property content.

Parameters:
content -

addContent

public void addContent(IXspfAnythingMixed[] content)
Adds the IXspfAnythingMixed property content.

Parameters:
content -

addContent

public void addContent(int index,
                       IXspfAnythingMixed content)
Adds the IXspfAnythingMixed property content by index.

Parameters:
index -
content -

addContentByString

public void addContentByString(String value)
Adds a mixed content by String.

Parameters:
value -

clearContent

public void clearContent()
Clear the IXspfAnythingMixed property content.


clone

public Object clone()
Specified by:
clone in interface IXspfAnythingMixed
Overrides:
clone in class Object
Returns:
Object

makeDocument

public Document makeDocument()
                      throws ParserConfigurationException
Creates a DOM document representation of the object.

Returns:
Document
Throws:
ParserConfigurationException

makeElement

public void makeElement(Node parent)
Creates a DOM representation of the object. Result is appended to the Node parent.

Specified by:
makeElement in interface IXspfAnythingMixed
Parameters:
parent -

makeTextAttribute

public void makeTextAttribute(StringBuffer buffer)
Makes an XML text representation.

Specified by:
makeTextAttribute in interface IXspfAnythingMixed
Specified by:
makeTextAttribute in interface IXspfAnythingMixedChoice
Parameters:
buffer -

makeTextAttribute

public void makeTextAttribute(Writer buffer)
                       throws IOException
Makes an XML text representation.

Specified by:
makeTextAttribute in interface IXspfAnythingMixed
Specified by:
makeTextAttribute in interface IXspfAnythingMixedChoice
Parameters:
buffer -
Throws:
IOException

makeTextAttribute

public void makeTextAttribute(PrintWriter buffer)
Makes an XML text representation.

Specified by:
makeTextAttribute in interface IXspfAnythingMixed
Specified by:
makeTextAttribute in interface IXspfAnythingMixedChoice
Parameters:
buffer -

makeTextDocument

public String makeTextDocument()
Makes an XML text representation.

Specified by:
makeTextDocument in interface IXspfAnythingMixedChoice
Returns:
String

makeTextElement

public void makeTextElement(StringBuffer buffer)
Makes an XML text representation.

Specified by:
makeTextElement in interface IXspfAnythingMixed
Specified by:
makeTextElement in interface IXspfAnythingMixedChoice
Parameters:
buffer -

makeTextElement

public void makeTextElement(Writer buffer)
                     throws IOException
Makes an XML text representation.

Specified by:
makeTextElement in interface IXspfAnythingMixed
Specified by:
makeTextElement in interface IXspfAnythingMixedChoice
Parameters:
buffer -
Throws:
IOException

makeTextElement

public void makeTextElement(PrintWriter buffer)
Makes an XML text representation.

Specified by:
makeTextElement in interface IXspfAnythingMixed
Specified by:
makeTextElement in interface IXspfAnythingMixedChoice
Parameters:
buffer -

removeContent

public void removeContent(int index)
Remove the IXspfAnythingMixed property content by index.

Parameters:
index -

removeContent

public void removeContent(IXspfAnythingMixed content)
Remove the IXspfAnythingMixed property content by object.

Parameters:
content -

setup

public void setup(XspfAnythingAnyElement source)
Initializes the XspfAnythingAnyElement by the XspfAnythingAnyElement source.

Parameters:
source -

setup

public void setup(Document doc)
Initializes the XspfAnythingAnyElement by the Document doc.

Parameters:
doc -

setup

public void setup(Element element)
Initializes the XspfAnythingAnyElement by the Element element.

Parameters:
element -

setup

public void setup(RStack stack)
Initializes the XspfAnythingAnyElement by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

Specified by:
setup in interface IXspfAnythingMixed
Parameters:
stack -

setup

public void setup(File file)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfAnythingAnyElement by the File file.

Parameters:
file -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(String uri)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfAnythingAnyElement by the String representation of URI uri.

Parameters:
uri -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(URL url)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfAnythingAnyElement by the URL url.

Parameters:
url -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(InputStream in)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfAnythingAnyElement by the InputStream in.

Parameters:
in -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(InputSource is)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfAnythingAnyElement by the InputSource is.

Parameters:
is -
Throws:
IOException
SAXException
ParserConfigurationException

setup

public void setup(Reader reader)
           throws IOException,
                  SAXException,
                  ParserConfigurationException
Initializes the XspfAnythingAnyElement by the Reader reader.

Parameters:
reader -
Throws:
IOException
SAXException
ParserConfigurationException

sizeContent

public int sizeContent()
Gets number of the IXspfAnythingMixed property content.

Returns:
int

toString

public String toString()
Returns a String representation of this object. While this method informs as XML format representaion, it's purpose is just information, not making a rigid XML documentation.

Specified by:
toString in interface IXspfAnythingMixed
Overrides:
toString in class Object
Returns:
String


Copyright © 1999-2006 Melloware Inc. All Rights Reserved.