C# Class SimpleFramework.Xml.Core.DefaultStyle

The DefaultStyle object is used to represent a style that does not modify the tokens passed in to it. This is used if there is no style specified or if there is no need to convert the XML elements an attributes to a particular style. This is also the most performant style as it does not require cache lookups.
Inheritance: SimpleFramework.Xml.Stream.Style
Afficher le fichier Open project: ngallagher/simplexml Class Usage Examples

Méthodes publiques

Méthode Description
GetAttribute ( String name ) : String

This is basically a pass through method. It will return the same string as is passed in to it. This ensures the best performant when no styling is required for the XML document.

GetElement ( String name ) : String

This is basically a pass through method. It will return the same string as is passed in to it. This ensures the best performant when no styling is required for the XML document.

Method Details

GetAttribute() public méthode

This is basically a pass through method. It will return the same string as is passed in to it. This ensures the best performant when no styling is required for the XML document.
public GetAttribute ( String name ) : String
name String /// this is the token that is to be styled by this ///
Résultat String

GetElement() public méthode

This is basically a pass through method. It will return the same string as is passed in to it. This ensures the best performant when no styling is required for the XML document.
public GetElement ( String name ) : String
name String /// this is the token that is to be styled by this ///
Résultat String