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::EqualsDetermines whether the specified object is equal to the current object.(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 (IResolvedDocument)Filter (IResolvedDocument)Filter (IResolvedDocument^) Returns a new IXPathNavigableIXPathNavigableIXPathNavigable instance which Filters the specified IXPathNavigableIXPathNavigableIXPathNavigable instance according to the current whitespace settings.
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates 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::ToStringReturns a string that represents the current object.(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.