This interface defines the methods for painting XML to the UIDL stream.
Parameters
name
Attribute name
value
Attribute value
this object
Adds a boolean attribute to component. Atributes must be added before any content is written.
Parameters
name
Attribute name
value
Attribute value
this object
Adds a integer attribute to component. Atributes must be added before any content is written.
Parameters
name
Attribute name
value
Attribute value
this object
Adds a long attribute to component. Atributes must be added before any content is written.
Parameters
name
Attribute name
value
Attribute value
this object
Adds a resource attribute to component. Atributes must be added before any content is written.
Parameters
name
Boolean attribute name
value
Boolean attribute value
this object
Adds a string attribute to component. Atributes must be added before any content is written.
Parameters
text
Character data to add
3.1
Add CDATA node to target UIDL-tree.
Print single XMLsection. Prints full XML section. The section data is escaped from XML tags and surrounded by XML start and end-tags.
Parameters
text
Text to add
Add text node. All the contents of the text are XML-escaped.
Parameters
owner
Listener for variable changes
name
Variable name
value
Variable initial value
Reference to this.
Add a upload stream type variable.
Parameters
owner
Listener for variable changes
name
Variable name
value
Variable initial value
Reference to this.
Add a boolean type variable.
Parameters
owner
Listener for variable changes
name
Variable name
value
Variable initial value
Reference to this.
Add a int type variable.
Parameters
owner
Listener for variable changes
name
Variable name
value
Variable initial value
Reference to this.
Add a string type variable.
Parameters
owner
Listener for variable changes
name
Variable name
value
Variable initial value
Reference to this.
Add a string array type variable.
Print single XML section. Prints full XML section. The section data must be XML and it is surrounded by XML start and end-tags.
Parameters
tag
The name of the end tag
Exceptions
IOException
The writing failed due to input/output error
Print element end tag. If the parent tag is closed before every child tag is closed an PaintException is raised.
Parameters
paintable
The paintable to start
tagName
The name of the start tag
true if paintable found in cache, false otherwise.
startTag(java.lang.String)
3.1
Print element start tag of a paintable section. Starts a paintable section using the given tag. The PaintTarget may implement a caching scheme, that checks the paintable has actually changed or can a cached version be used instead. This method should call the startTag method. If the Paintable is found in cache and this function returns true it may omit the content and close the tag, in which case cached content should be used.