C# Class SimpleFramework.Xml.Stream.CamelCaseBuilder.Attribute

This is used to parse the style for this builder. This takes all of the words split from the original string and builds all of the processed tokens for the styles elements and attributes.
Inheritance: Splitter
Afficher le fichier Open project: ngallagher/simplexml

Méthodes publiques

Méthode Description
Attribute ( String source, bool parse ) : System

Constructor for the Attribute object. This will take the original string and parse it such that all of the words are emitted and used to build the styled token.

Commit ( char text, int off, int len ) : void

This is used to commit the provided text in to the style that is required. Committing the text to the buffer assembles the tokens resulting in a complete token.

Parse ( char text, int off, int len ) : void

This is used to parse the provided text in to the style that is required. Manipulation of the text before committing it ensures that the text adheres to the required style.

Method Details

Attribute() public méthode

Constructor for the Attribute object. This will take the original string and parse it such that all of the words are emitted and used to build the styled token.
public Attribute ( String source, bool parse ) : System
source String /// This is the original string to be parsed. ///
parse bool
Résultat System

Commit() public méthode

This is used to commit the provided text in to the style that is required. Committing the text to the buffer assembles the tokens resulting in a complete token.
public Commit ( char text, int off, int len ) : void
text char /// This is the text buffer to acquire the token from. ///
off int /// This is the offset in the buffer token starts at. ///
len int /// This is the length of the token to be committed. ///
Résultat void

Parse() public méthode

This is used to parse the provided text in to the style that is required. Manipulation of the text before committing it ensures that the text adheres to the required style.
public Parse ( char text, int off, int len ) : void
text char /// This is the text buffer to acquire the token from. ///
off int /// This is the offset in the buffer token starts at. ///
len int /// This is the length of the token to be parsed. ///
Résultat void