com.melloware.jspiff.jaxp
Class XspfExtensionAnyElement

java.lang.Object
  extended by com.melloware.jspiff.jaxp.XspfExtensionAnyElement
All Implemented Interfaces:
IXspfExtensionMixed, IXspfExtensionMixedChoice, Serializable, Cloneable

public class XspfExtensionAnyElement
extends Object
implements Serializable, Cloneable, IXspfExtensionMixed, IXspfExtensionMixedChoice

XspfExtensionAnyElement 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
XspfExtensionAnyElement()
          Creates a XspfExtensionAnyElement.
XspfExtensionAnyElement(Document doc)
          Creates a XspfExtensionAnyElement by the Document doc.
XspfExtensionAnyElement(Element element)
          Creates a XspfExtensionAnyElement by the Element element.
XspfExtensionAnyElement(File file)
          Creates a XspfExtensionAnyElement by the File file.
XspfExtensionAnyElement(InputSource is)
          Creates a XspfExtensionAnyElement by the InputSource is.
XspfExtensionAnyElement(InputStream in)
          Creates a XspfExtensionAnyElement by the InputStream in.
XspfExtensionAnyElement(Reader reader)
          Creates a XspfExtensionAnyElement by the Reader reader.
XspfExtensionAnyElement(RStack stack)
          Creates a XspfExtensionAnyElement by the Stack stack that contains Elements.
XspfExtensionAnyElement(String uri)
          Creates a XspfExtensionAnyElement by the String representation of URI uri.
XspfExtensionAnyElement(URL url)
          Creates a XspfExtensionAnyElement by the URL url.
XspfExtensionAnyElement(XspfExtensionAnyElement source)
          Creates a XspfExtensionAnyElement.
 
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 XspfExtensionAnyElement.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfExtensionAnyElement.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfExtensionAnyElement.
 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 XspfExtensionAnyElement by the Document doc.
 void setup(Element element)
          Initializes the XspfExtensionAnyElement by the Element element.
 void setup(File file)
          Initializes the XspfExtensionAnyElement by the File file.
 void setup(InputSource is)
          Initializes the XspfExtensionAnyElement by the InputSource is.
 void setup(InputStream in)
          Initializes the XspfExtensionAnyElement by the InputStream in.
 void setup(Reader reader)
          Initializes the XspfExtensionAnyElement by the Reader reader.
 void setup(RStack stack)
          Initializes the XspfExtensionAnyElement by the Stack stack that contains Elements.
 void setup(String uri)
          Initializes the XspfExtensionAnyElement by the String representation of URI uri.
 void setup(URL url)
          Initializes the XspfExtensionAnyElement by the URL url.
 void setup(XspfExtensionAnyElement source)
          Initializes the XspfExtensionAnyElement by the XspfExtensionAnyElement 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

XspfExtensionAnyElement

public XspfExtensionAnyElement()
Creates a XspfExtensionAnyElement.


XspfExtensionAnyElement

public XspfExtensionAnyElement(XspfExtensionAnyElement source)
Creates a XspfExtensionAnyElement.

Parameters:
source -

XspfExtensionAnyElement

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

Parameters:
stack -

XspfExtensionAnyElement

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

Parameters:
doc -

XspfExtensionAnyElement

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

Parameters:
element -

XspfExtensionAnyElement

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

Parameters:
file -
Throws:
IOException
SAXException
ParserConfigurationException

XspfExtensionAnyElement

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

Parameters:
uri -
Throws:
IOException
SAXException
ParserConfigurationException

XspfExtensionAnyElement

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

Parameters:
url -
Throws:
IOException
SAXException
ParserConfigurationException

XspfExtensionAnyElement

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

Parameters:
in -
Throws:
IOException
SAXException
ParserConfigurationException

XspfExtensionAnyElement

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

Parameters:
is -
Throws:
IOException
SAXException
ParserConfigurationException

XspfExtensionAnyElement

public XspfExtensionAnyElement(Reader reader)
                        throws IOException,
                               SAXException,
                               ParserConfigurationException
Creates a XspfExtensionAnyElement 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 XspfExtensionAnyElement.

Parameters:
element -
Returns:
boolean

isMatch

public static boolean isMatch(RStack stack)
Tests if elements contained in a Stack stack is valid for the XspfExtensionAnyElement. 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 XspfExtensionAnyElement. 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.

Specified by:
getContent in interface IXspfExtensionMixedChoice
Returns:
IXspfAnythingMixed[]

getContent

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

Specified by:
getContent in interface IXspfExtensionMixedChoice
Parameters:
index -
Returns:
IXspfAnythingMixed

setContent

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

Specified by:
setContent in interface IXspfExtensionMixedChoice
Parameters:
value -

setContent

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

Specified by:
setContent in interface IXspfExtensionMixedChoice
Parameters:
value -

setContent

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

Specified by:
setContent in interface IXspfExtensionMixedChoice
Parameters:
content -

setContent

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

Specified by:
setContent in interface IXspfExtensionMixedChoice
Parameters:
content -

setContent

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

Specified by:
setContent in interface IXspfExtensionMixedChoice
Parameters:
index -
content -

setContentByString

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

Specified by:
setContentByString in interface IXspfExtensionMixedChoice
Parameters:
value -

addContent

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

Specified by:
addContent in interface IXspfExtensionMixedChoice
Parameters:
value -

addContent

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

Specified by:
addContent in interface IXspfExtensionMixedChoice
Parameters:
value -

addContent

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

Specified by:
addContent in interface IXspfExtensionMixedChoice
Parameters:
content -

addContent

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

Specified by:
addContent in interface IXspfExtensionMixedChoice
Parameters:
content -

addContent

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

Specified by:
addContent in interface IXspfExtensionMixedChoice
Parameters:
index -
content -

addContentByString

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

Specified by:
addContentByString in interface IXspfExtensionMixedChoice
Parameters:
value -

clearContent

public void clearContent()
Clear the IXspfAnythingMixed property content.

Specified by:
clearContent in interface IXspfExtensionMixedChoice

clone

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

makeDocument

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

Specified by:
makeDocument in interface IXspfExtensionMixedChoice
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 IXspfExtensionMixed
Parameters:
parent -

makeTextAttribute

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

Specified by:
makeTextAttribute in interface IXspfExtensionMixed
Specified by:
makeTextAttribute in interface IXspfExtensionMixedChoice
Parameters:
buffer -

makeTextAttribute

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

Specified by:
makeTextAttribute in interface IXspfExtensionMixed
Specified by:
makeTextAttribute in interface IXspfExtensionMixedChoice
Parameters:
buffer -
Throws:
IOException

makeTextAttribute

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

Specified by:
makeTextAttribute in interface IXspfExtensionMixed
Specified by:
makeTextAttribute in interface IXspfExtensionMixedChoice
Parameters:
buffer -

makeTextDocument

public String makeTextDocument()
Makes an XML text representation.

Specified by:
makeTextDocument in interface IXspfExtensionMixedChoice
Returns:
String

makeTextElement

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

Specified by:
makeTextElement in interface IXspfExtensionMixed
Specified by:
makeTextElement in interface IXspfExtensionMixedChoice
Parameters:
buffer -

makeTextElement

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

Specified by:
makeTextElement in interface IXspfExtensionMixed
Specified by:
makeTextElement in interface IXspfExtensionMixedChoice
Parameters:
buffer -
Throws:
IOException

makeTextElement

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

Specified by:
makeTextElement in interface IXspfExtensionMixed
Specified by:
makeTextElement in interface IXspfExtensionMixedChoice
Parameters:
buffer -

removeContent

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

Specified by:
removeContent in interface IXspfExtensionMixedChoice
Parameters:
index -

removeContent

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

Specified by:
removeContent in interface IXspfExtensionMixedChoice
Parameters:
content -

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
source -

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
doc -

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
element -

setup

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

Specified by:
setup in interface IXspfExtensionMixed
Parameters:
stack -

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
file -
Throws:
IOException
SAXException
ParserConfigurationException

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
uri -
Throws:
IOException
SAXException
ParserConfigurationException

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
url -
Throws:
IOException
SAXException
ParserConfigurationException

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
in -
Throws:
IOException
SAXException
ParserConfigurationException

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
is -
Throws:
IOException
SAXException
ParserConfigurationException

setup

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

Specified by:
setup in interface IXspfExtensionMixedChoice
Parameters:
reader -
Throws:
IOException
SAXException
ParserConfigurationException

sizeContent

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

Specified by:
sizeContent in interface IXspfExtensionMixedChoice
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 IXspfExtensionMixed
Overrides:
toString in class Object
Returns:
String


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