C# Класс BExIS.Xml.Helpers.XmlSchemaUtility

Показать файл Открыть проект

Открытые методы

Метод Описание
GetAllAttributes ( XmlSchema schema ) : List

Get all simple types from the schema.

GetAllComplexElements ( List elements ) : List
GetAllComplexTypes ( XmlSchema schema ) : List

Get All Complex Types from the Schema.

GetAllElements ( XmlSchema schema ) : List

Get all elements from the schema.

GetAllElements ( XmlSchemaObject obj, bool recursive, List allElements ) : List
GetAllGroups ( XmlSchema schema ) : List
GetAllSimpleElements ( List elements ) : List
GetAllSimpleTypes ( XmlSchema schema ) : List

Get all simple types from the schema.

GetComplextType ( XmlSchemaElement element ) : XmlSchemaComplexType
IsAllSimpleType ( List elements ) : bool
IsChoiceType ( XmlSchemaComplexType complexType ) : bool

return true if a Element is a Choice

IsChoiceType ( XmlSchemaElement element ) : bool

return true if a Element is a Choice

IsEnumerationType ( XmlSchemaObject restrictionType ) : bool

returns true if a simpletype is a restriction

IsSimpleType ( XmlSchemaElement element ) : bool

return true if a Element is a SimpleType

Приватные методы

Метод Описание
GetElements ( XmlSchemaObject element, List list, bool recursive, List allElements ) : List

Описание методов

GetAllAttributes() публичный статический Метод

Get all simple types from the schema.
public static GetAllAttributes ( XmlSchema schema ) : List
schema System.Xml.Schema.XmlSchema
Результат List

GetAllComplexElements() публичный статический Метод

public static GetAllComplexElements ( List elements ) : List
elements List
Результат List

GetAllComplexTypes() публичный статический Метод

Get All Complex Types from the Schema.
public static GetAllComplexTypes ( XmlSchema schema ) : List
schema System.Xml.Schema.XmlSchema
Результат List

GetAllElements() публичный статический Метод

Get all elements from the schema.
public static GetAllElements ( XmlSchema schema ) : List
schema System.Xml.Schema.XmlSchema
Результат List

GetAllElements() публичный статический Метод

public static GetAllElements ( XmlSchemaObject obj, bool recursive, List allElements ) : List
obj System.Xml.Schema.XmlSchemaObject
recursive bool
allElements List
Результат List

GetAllGroups() публичный статический Метод

public static GetAllGroups ( XmlSchema schema ) : List
schema System.Xml.Schema.XmlSchema
Результат List

GetAllSimpleElements() публичный статический Метод

public static GetAllSimpleElements ( List elements ) : List
elements List
Результат List

GetAllSimpleTypes() публичный статический Метод

Get all simple types from the schema.
public static GetAllSimpleTypes ( XmlSchema schema ) : List
schema System.Xml.Schema.XmlSchema
Результат List

GetComplextType() публичный статический Метод

public static GetComplextType ( XmlSchemaElement element ) : XmlSchemaComplexType
element System.Xml.Schema.XmlSchemaElement
Результат System.Xml.Schema.XmlSchemaComplexType

IsAllSimpleType() публичный статический Метод

public static IsAllSimpleType ( List elements ) : bool
elements List
Результат bool

IsChoiceType() публичный статический Метод

return true if a Element is a Choice
public static IsChoiceType ( XmlSchemaComplexType complexType ) : bool
complexType System.Xml.Schema.XmlSchemaComplexType
Результат bool

IsChoiceType() публичный статический Метод

return true if a Element is a Choice
public static IsChoiceType ( XmlSchemaElement element ) : bool
element System.Xml.Schema.XmlSchemaElement
Результат bool

IsEnumerationType() публичный статический Метод

returns true if a simpletype is a restriction
public static IsEnumerationType ( XmlSchemaObject restrictionType ) : bool
restrictionType System.Xml.Schema.XmlSchemaObject
Результат bool

IsSimpleType() публичный статический Метод

return true if a Element is a SimpleType
public static IsSimpleType ( XmlSchemaElement element ) : bool
element System.Xml.Schema.XmlSchemaElement
Результат bool