-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathclassGenerator.d.ts
More file actions
29 lines (29 loc) · 871 Bytes
/
classGenerator.d.ts
File metadata and controls
29 lines (29 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/// <reference types="lodash" />
/**
* Created by Eddy Spreeuwers at 11 march 2018
*/
import { FileDefinition } from "ts-code-generator";
export declare class ClassGenerator {
private classPrefix;
types: string[];
schemaName: string;
xmlnsName: string;
private fileDef;
private verbose;
private pluralPostFix;
private dependencies;
private importMap;
private targetNamespace;
constructor(depMap?: Map<string, string>, classPrefix?: string);
generateClassFileDefinition(xsd: string, pluralPostFix?: string, verbose?: boolean): FileDefinition;
private findAttrValue;
private nodeName;
private findChildren;
private findFirstChild;
private parseXsd;
private log;
private makeSortedFileDefinition;
private makeConstructor;
private addProtectedPropToClass;
private findHierachyDepth;
}