InputSettings ClassInputSettings ClassInputSettings Class

Represents filters to be applied to input source trees, such as whitespace stripping and type annotation stripping.

Inheritance Hierarchy

Syntax

Public Class InputSettings
public class InputSettings
public:
ref class InputSettings
 
The InputSettingsInputSettingsInputSettings type exposes the following members.

Constructors

 ConstructorDescription
Public methodInputSettings (XmlNameTable)InputSettings (XmlNameTable)InputSettings (XmlNameTable^) Initializes a new instance of the InputSettingsInputSettingsInputSettings class with the specified XmlNameTableXmlNameTableXmlNameTable instance.
Public methodInputSettings (InputSettings)InputSettings (InputSettings)InputSettings (InputSettings^) Initializes a new instance of the InputSettingsInputSettingsInputSettings class from another instance.

Top

Properties

 PropertyDescription
Public propertyInputTypeAnnotationsInputTypeAnnotationsInputTypeAnnotations Gets or sets the input type annotations setting.

Top

Methods

 MethodDescription
Public methodObject.EqualsObject.EqualsObject::Equals Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodFilter (XmlReader)Filter (XmlReader)Filter (XmlReader^) Returns a new XmlReaderXmlReaderXmlReader instance which Filters the specified XmlReaderXmlReaderXmlReader according to the current whitespace settings.
Public methodFilter (IXPathNavigable)Filter (IXPathNavigable)Filter (IXPathNavigable^) Returns a new IXPathNavigableIXPathNavigableIXPathNavigable instance which Filters the specified IXPathNavigableIXPathNavigableIXPathNavigable instance according to the current whitespace settings.
Public methodFilter (ResolvedDocument)Filter (ResolvedDocument)Filter (ResolvedDocument^) Returns a new IXPathNavigableIXPathNavigableIXPathNavigable instance which Filters the specified IXPathNavigableIXPathNavigableIXPathNavigable instance according to the current whitespace settings.
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCode Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodPreservePreservePreserve Specifies that whitespace descendants of elements matching the given name test should be preserved.
Public methodStripStripStrip Specifies that whitespace descendants of elements matching the given name test should be stripped.
Public methodObject.ToStringObject.ToStringObject::ToString Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)

Top

Remarks

The InputSettingsInputSettingsInputSettings class represents the combined effects of XSLT's xsl:preserve-space and xsl:strip-space together with the input-type-annotations attribute of the xsl:stylesheet and xsl:transform elements;

The input settings can be applied to an XmlReaderXmlReaderXmlReader or IXPathNavigableIXPathNavigableIXPathNavigable instance by using the Filter (XmlReader)Filter (XmlReader)Filter (XmlReader^) and Filter (IXPathNavigable)Filter (IXPathNavigable)Filter (IXPathNavigable^) methods.