|
SourceFlow 1.0.beta API Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
IComparable
|
+--CodeElement
|
+--JavaImport
in JavaImport.csA class generating a Java import declaration.
| Field Summary | |
override int |
Category
Returns a numeric category number for the code element. |
| Fields inherited from class CodeElement |
Category |
| Constructor Summary | |
JavaImport( JavaPackage pkg )
Creates a new import declaration, importing all classes of a specified package. |
|
JavaImport( string packageName )
Creates a new import declaration, importing all classes of a specified package. |
|
JavaImport( JavaPackage pkg, JavaClass cls )
Creates a new import declaration, importing the selected class from the specified package. |
|
JavaImport( string packageName, string className )
Creates a new import declaration, importing the selected class from the specified package. |
|
| Method Summary | |
override int |
CompareTo( object obj )
Compares this object to another one. |
override bool |
Equals( object obj )
Returns true if this object is equal to another import. |
override void |
Print( StreamWriter output, CodeStyle style, int indent )
Prints the code element to the specified output stream. |
protected internal override void |
PrintSeparator( StreamWriter output, CodeElement prev )
Prints a separator line between this element and the previous element in a container. |
override string |
ToString()
Returns a string description of the imported packages. |
| Methods inherited from class CodeElement |
CompareTo, Print, PrintSeparator |
| Field Detail |
public override int Category;
| Constructor Detail |
public JavaImport( JavaPackage pkg );
pkg - the package to importpublic JavaImport( string packageName );
packageName - the fully qualified package namepublic JavaImport( JavaPackage pkg, JavaClass cls );
pkg - the package containing the specified class
cls - the class to importpublic JavaImport( string packageName, string className );
packageName - the fully qualified package name
className - the class name| Method Detail |
public override int CompareTo( object obj );
obj - the object to compare topublic override bool Equals( object obj );
obj - the object to compare topublic override void Print( StreamWriter output, CodeStyle style, int indent );
output - the output stream
style - the code style to use
indent - the indentation levelprotected internal override void PrintSeparator( StreamWriter output, CodeElement prev );
output - the output stream
prev - the previous code elementpublic override string ToString();
|
SourceFlow 1.0.beta API Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||