C# 클래스 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.
상속: Splitter
파일 보기 프로젝트 열기: ngallagher/simplexml

공개 메소드들

메소드 설명
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.

메소드 상세

Attribute() 공개 메소드

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
리턴 System

Commit() 공개 메소드

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. ///
리턴 void

Parse() 공개 메소드

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. ///
리턴 void