Class

Attribute

Extends:

There's no documentation for this item.

Public Attributes
name
type
value
Public Methods
decorations
needs_encoding? There is a significant speed improvement if the value does not need to be escaped, as #tag! escapes all values to ensure that valid XML is generated. For known binary values, it is at least an order of magnitude faster to Base64 encode binary values and directly put them in the output XML than to pass the original value or the Base64 encoded value to the #tag! method. It definitely makes no sense to Base64 encode the value and then give it to #tag!, since that just adds additional overhead.
new
Protected Methods
compute_type
compute_value
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.