C# Class Formatter, simplexml

ファイルを表示 Open project: ngallagher/simplexml Class Usage Examples

Public Methods

Method Description
Format ( String source ) : String
Format ( Document, document, Writer, writer ) : void
Format ( String source, Writer, writer ) : void
Formatter ( ) : System.Collections.Generic
Formatter ( bool preserveComments ) : System.Collections.Generic
Main ( String list ) : void

Scripts to execute the XML formatter. #!/bin/bash xml.bat $1 $2 $3 echo off java -jar c:/start/bin/xml.jar %1 %2 %3 %4

Read ( File, file ) : String

Private Methods

Method Description
argument ( ) : values.add(
length ( ) : argument.trim().System.Collections.Generic

Method Details

Format() public method

public Format ( String source ) : String
source String
return String

Format() public method

public Format ( Document, document, Writer, writer ) : void
document Document,
writer Writer,
return void

Format() public method

public Format ( String source, Writer, writer ) : void
source String
writer Writer,
return void

Formatter() public method

public Formatter ( ) : System.Collections.Generic
return System.Collections.Generic

Formatter() public method

public Formatter ( bool preserveComments ) : System.Collections.Generic
preserveComments bool
return System.Collections.Generic

Main() public method

Scripts to execute the XML formatter. #!/bin/bash xml.bat $1 $2 $3 echo off java -jar c:/start/bin/xml.jar %1 %2 %3 %4
public Main ( String list ) : void
list String /// arguments to the formatter ///
return void

Read() public method

public Read ( File, file ) : String
file File,
return String