com.melloware.jspiff.jaxp
Class XspfAnythingAnyAttr

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

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

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

 <attribute>
                     <anyName/>
                 </attribute>

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
XspfAnythingAnyAttr()
          Creates a XspfAnythingAnyAttr.
XspfAnythingAnyAttr(RStack stack)
          Creates a XspfAnythingAnyAttr by the Stack stack that contains Elements.
XspfAnythingAnyAttr(XspfAnythingAnyAttr source)
          Creates a XspfAnythingAnyAttr.
 
Method Summary
 Object clone()
           
 String getContent()
          Gets the String property content.
 String getContentAsString()
          Gets the property value as String.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfAnythingAnyAttr.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the XspfAnythingAnyAttr.
 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 setup(RStack stack)
          Initializes the XspfAnythingAnyAttr by the Stack stack that contains Elements.
 void setup(XspfAnythingAnyAttr source)
          Initializes the XspfAnythingAnyAttr by the XspfAnythingAnyAttr 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

XspfAnythingAnyAttr

public XspfAnythingAnyAttr()
Creates a XspfAnythingAnyAttr.


XspfAnythingAnyAttr

public XspfAnythingAnyAttr(XspfAnythingAnyAttr source)
Creates a XspfAnythingAnyAttr.

Parameters:
source -

XspfAnythingAnyAttr

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

Parameters:
stack -
Method Detail

isMatch

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

Returns:
String

getContentAsString

public String getContentAsString()
Gets the property value as String.

Returns:
String

setContent

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

Specified by:
setContent in interface IXspfAnythingMixedChoice
Parameters:
content -

setContentByString

public void setContentByString(String string)
Sets the property value by String.

Specified by:
setContentByString in interface IXspfAnythingMixedChoice
Parameters:
string -

clone

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

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 -

setup

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

Parameters:
source -

setup

public void setup(RStack stack)
Initializes the XspfAnythingAnyAttr 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 -

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.