C# 클래스 BExIS.Xml.Helpers.XmlSchemaUtility

파일 보기 프로젝트 열기: BEXIS2/Core

공개 메소드들

메소드 설명
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