C# Class ServiceStack.NativeTypes.Java.JavaGenerator

Afficher le fichier Open project: ServiceStack/ServiceStack Class Usage Examples

Méthodes publiques

Свойство Type Description
ArrayTypes HashSet
DefaultGlobalNamespace string
DefaultImports List
DictionaryTypes HashSet
FilterTypes List>.Func
GSonAnnotationsNamespace string
GSonReflectNamespace string
IgnoreTypeNames HashSet
TypeAliases string>.ConcurrentDictionary

Méthodes publiques

Méthode Description
AddProperties ( System.Text.StringBuilderWrapper sb, MetadataType type, bool includeResponseStatus, bool addPropertyAccessors, string settersReturnType ) : void
AppendAttributes ( System.Text.StringBuilderWrapper sb, List attributes ) : bool
AppendComments ( System.Text.StringBuilderWrapper sb, string desc ) : bool
AppendDataContract ( StringBuilderWrapper sb, MetadataDataContract dcMeta ) : void
AppendDataMember ( StringBuilderWrapper sb, MetadataDataMember dmMeta, int dataMemberIndex ) : bool
ConvertFromCSharp ( TextNode node ) : string
DefaultFilterTypes ( List types ) : List
GenericArg ( string arg ) : string
GetCode ( MetadataTypes metadata, IRequest request, INativeTypesMetadata nativeTypes ) : string
JavaGenerator ( MetadataTypesConfig config ) : System
NameOnly ( string type ) : string
Type ( MetadataTypeName typeName ) : string
Type ( string type, string genericArgs ) : string
TypeValue ( string type, string value ) : string

Private Methods

Méthode Description
AppendType ( StringBuilderWrapper &sb, MetadataType type, string lastNS, CreateTypeOptions options ) : string
GetAllMetadataTypes ( MetadataTypes metadata ) : List
ReferencesGson ( MetadataTypes metadata ) : bool
RemoveIgnoredTypes ( MetadataTypes metadata ) : void
TypeAlias ( string type ) : string

Method Details

AddProperties() public méthode

public AddProperties ( System.Text.StringBuilderWrapper sb, MetadataType type, bool includeResponseStatus, bool addPropertyAccessors, string settersReturnType ) : void
sb System.Text.StringBuilderWrapper
type MetadataType
includeResponseStatus bool
addPropertyAccessors bool
settersReturnType string
Résultat void

AppendAttributes() public méthode

public AppendAttributes ( System.Text.StringBuilderWrapper sb, List attributes ) : bool
sb System.Text.StringBuilderWrapper
attributes List
Résultat bool

AppendComments() public méthode

public AppendComments ( System.Text.StringBuilderWrapper sb, string desc ) : bool
sb System.Text.StringBuilderWrapper
desc string
Résultat bool

AppendDataContract() public méthode

public AppendDataContract ( StringBuilderWrapper sb, MetadataDataContract dcMeta ) : void
sb StringBuilderWrapper
dcMeta MetadataDataContract
Résultat void

AppendDataMember() public méthode

public AppendDataMember ( StringBuilderWrapper sb, MetadataDataMember dmMeta, int dataMemberIndex ) : bool
sb StringBuilderWrapper
dmMeta MetadataDataMember
dataMemberIndex int
Résultat bool

ConvertFromCSharp() public méthode

public ConvertFromCSharp ( TextNode node ) : string
node TextNode
Résultat string

DefaultFilterTypes() public static méthode

public static DefaultFilterTypes ( List types ) : List
types List
Résultat List

GenericArg() public méthode

public GenericArg ( string arg ) : string
arg string
Résultat string

GetCode() public méthode

public GetCode ( MetadataTypes metadata, IRequest request, INativeTypesMetadata nativeTypes ) : string
metadata MetadataTypes
request IRequest
nativeTypes INativeTypesMetadata
Résultat string

JavaGenerator() public méthode

public JavaGenerator ( MetadataTypesConfig config ) : System
config MetadataTypesConfig
Résultat System

NameOnly() public méthode

public NameOnly ( string type ) : string
type string
Résultat string

Type() public méthode

public Type ( MetadataTypeName typeName ) : string
typeName MetadataTypeName
Résultat string

Type() public méthode

public Type ( string type, string genericArgs ) : string
type string
genericArgs string
Résultat string

TypeValue() public méthode

public TypeValue ( string type, string value ) : string
type string
value string
Résultat string

Property Details

ArrayTypes public_oe static_oe property

public static HashSet ArrayTypes
Résultat HashSet

DefaultGlobalNamespace public_oe static_oe property

public static string DefaultGlobalNamespace
Résultat string

DefaultImports public_oe static_oe property

public static List DefaultImports
Résultat List

DictionaryTypes public_oe static_oe property

public static HashSet DictionaryTypes
Résultat HashSet

FilterTypes public_oe static_oe property

public static Func,List> FilterTypes
Résultat List>.Func

GSonAnnotationsNamespace public_oe static_oe property

public static string GSonAnnotationsNamespace
Résultat string

GSonReflectNamespace public_oe static_oe property

public static string GSonReflectNamespace
Résultat string

IgnoreTypeNames public_oe static_oe property

public static HashSet IgnoreTypeNames
Résultat HashSet

TypeAliases public_oe static_oe property

public static ConcurrentDictionary TypeAliases
Résultat string>.ConcurrentDictionary