Javax.Xml.Transform.Transformer.OutputProperties Property

Syntax

[get: Android.Runtime.Register("getOutputProperties", "()Ljava/util/Properties;", "GetGetOutputPropertiesHandler")]
[set: Android.Runtime.Register("setOutputProperties", "(Ljava/util/Properties;)V", "GetSetOutputProperties_Ljava_util_Properties_Handler")]
public abstract Java.Util.Properties OutputProperties { get; set; }

See Also

OutputKeys
Java.Util.Properties
OutputKeys
Java.Util.Properties

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Get a copy of the output properties for the transformation.

The properties returned should contain properties set by the user, and properties set by the stylesheet, and these properties are "defaulted" by default properties specified by . The properties that were specifically set by the user or the stylesheet should be in the base Properties list, while the XSLT default properties that were not specifically set should be the default Properties list. Thus, getOutputProperties().getProperty(String key) will obtain any property in that was set by Transformer.SetOutputProperty(string, System.String), Transformer.OutputProperties, in the stylesheet, or the default properties, while getOutputProperties().get(String key) will only retrieve properties that were explicitly set by Transformer.SetOutputProperty(string, System.String), Transformer.OutputProperties, or in the stylesheet.

Note that mutation of the Properties object returned will not effect the properties that the transformer contains.

If any of the argument keys are not recognized and are not namespace qualified, the property will be ignored and not returned. In other words the behavior is not orthogonal with Transformer.OutputProperties.

Set method documentation [Android Documentation]

Set the output properties for the transformation. These properties will override properties set in the Templates with xsl:output. An IllegalArgumentException is thrown if any of the argument keys are not recognized and are not namespace qualified.

If argument to this function is null, any properties previously set are removed, and the value will revert to the value defined in the templates object.

Pass a qualified property key name as a two-part string, the namespace URI enclosed in curly braces ({}), followed by the local name. If the name has a null URL, the String only contain the local name. An application can safely check for a non-null URI by testing to see if the first character of the name is a '{' character.

For example, if a URI and local name were obtained from an element defined with <xyz:foo xmlns:xyz="http://xyz.foo.com/yada/baz.html"/>, then the qualified name would be "{http://xyz.foo.com/yada/baz.html}foo". Note that no prefix is used.

Requirements

Namespace: Javax.Xml.Transform
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8