C# Class System.Xml.Xsl.XmlQueryTypeFactory

This class is the only way to create concrete instances of the abstract XmlQueryType class. Once basic types have been created, they can be combined and transformed in various ways.
Exibir arquivo Open project: gbarnett/shared-source-cli-2.0

Public Properties

Property Type Description
AnyAtomicType XmlQueryType
AnyAtomicTypeS XmlQueryType
Attribute XmlQueryType
AttributeOrContent XmlQueryType
AttributeOrContentS XmlQueryType
AttributeQ XmlQueryType
AttributeS XmlQueryType
Boolean XmlQueryType
BooleanX XmlQueryType
Comment XmlQueryType
CommentS XmlQueryType
Content XmlQueryType
ContentS XmlQueryType
DateTimeX XmlQueryType
DecimalX XmlQueryType
Document XmlQueryType
DocumentOrContent XmlQueryType
DocumentOrContentS XmlQueryType
DocumentOrElement XmlQueryType
DocumentOrElementQ XmlQueryType
DocumentOrElementS XmlQueryType
DocumentS XmlQueryType
Double XmlQueryType
DoubleX XmlQueryType
Element XmlQueryType
ElementS XmlQueryType
Empty XmlQueryType
FloatX XmlQueryType
Int XmlQueryType
IntX XmlQueryType
IntXS XmlQueryType
IntegerX XmlQueryType
Item XmlQueryType
ItemS XmlQueryType
LongX XmlQueryType
Namespace XmlQueryType
NamespaceS XmlQueryType
Node XmlQueryType
NodeDodS XmlQueryType
NodeNotRtf XmlQueryType
NodeNotRtfQ XmlQueryType
NodeNotRtfS XmlQueryType
NodeS XmlQueryType
None XmlQueryType
PI XmlQueryType
PIS XmlQueryType
QNameX XmlQueryType
String XmlQueryType
StringX XmlQueryType
StringXS XmlQueryType
Text XmlQueryType
TextS XmlQueryType
UntypedAttribute XmlQueryType
UntypedDocument XmlQueryType
UntypedElement XmlQueryType
UntypedNode XmlQueryType
UntypedNodeS XmlQueryType

Public Methods

Method Description
AncestorsOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType

For the type of node sequence calculate type of ancestor filtered with a type (filter)

AtMost ( XmlQueryType t, XmlQueryCardinality c ) : XmlQueryType

Compute a sequence of zero to some max cardinality.

AttributesOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType

For the type of node sequence calculate type of attributes filtered with a type (filter)

ChildrenOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType

For the type of node sequence calculate type of children filtered with a type (filter)

Choice ( ) : XmlQueryType

Construct the union of several XmlQueryTypes

Choice ( XmlQueryType left, XmlQueryType right ) : XmlQueryType

Construct the union of two XmlQueryTypes

DataOn ( XmlQueryType source ) : XmlQueryType

Converts type of sequence of items to type of sequnce of atomic value See http://www.w3.org/TR/2004/xquery-semantics/#jd_data for the detailed description

DescendantsOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType

For the type of node sequence calculate type of descendants filtered with a type (filter)

FilterOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType

Filter type of node sequence with a type (filter)

Intersect ( ) : XmlQueryType

Construct the intersection of several XmlQueryTypes

Intersect ( XmlQueryType left, XmlQueryType right ) : XmlQueryType

Construct the intersection of two XmlQueryTypes

NodeChoice ( XmlNodeKindFlags kinds ) : XmlQueryType

Create a Node XmlQueryType which is the choice between several different node kinds.

ParentOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType

For the type of node sequence calculate type of parent filtered with a type (filter)

PrimeProduct ( XmlQueryType t, XmlQueryCardinality c ) : XmlQueryType

Compute the product of the prime of "t" with cardinality "c".

Product ( XmlQueryType t, XmlQueryCardinality c ) : XmlQueryType

Compute a sequence with cardinality *= c.

Sequence ( ) : XmlQueryType

Construct the sequence of several XmlQueryTypes

Sequence ( XmlQueryType left, XmlQueryType right ) : XmlQueryType

Construct the sequence of two XmlQueryTypes

StrictType ( XmlQueryType source ) : XmlQueryType

Create a strict XmlQueryType from the source.

Type ( XPathNodeType kind, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable ) : XmlQueryType

Create a Node XmlQueryType having an XSD content type.

Type ( XmlSchemaSimpleType schemaType, bool isStrict ) : XmlQueryType

Create an XmlQueryType from an Xsd simple type (where variety can be Atomic, List, or Union).

Type ( XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable ) : XmlQueryType

Create an XmlQueryType having an XSD name test, content type and nillable.

Type ( XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable, XmlQueryCardinality card ) : XmlQueryType

Create an XmlQueryType having an XSD name test, content type, nillable and cardinality.

Type ( XmlTypeCode code, XmlQueryCardinality card ) : XmlQueryType

Create an XmlQueryType from an XmlTypeCode and cardinality.

Type ( XmlTypeCode code, bool isStrict ) : XmlQueryType

Create an XmlQueryType from an XmlTypeCode.

Private Methods

Method Description
AddAttributes ( List list, XmlSchemaObjectTable attributeUses, XmlSchemaAnyAttribute attributeWildcard, XmlQueryType filter ) : XmlQueryCardinality
AddChildParticle ( List list, XmlSchemaParticle particle, XmlQueryType filter ) : XmlQueryCardinality

Descend though the content model

AddDescendantParticle ( List list, XmlQueryCardinality>.Dictionary allTypes, XmlSchemaParticle particle, XmlQueryType filter ) : XmlQueryCardinality
AddElementOrTextDescendants ( List list, XmlQueryCardinality>.Dictionary allTypes, XmlSchemaType sourceSchemaType, XmlQueryType filter ) : XmlQueryCardinality
AddFilteredPrime ( List list, XmlQueryType source, XmlQueryType filter ) : XmlQueryCardinality

Apply filter an item type, add the result to a list, return cardinality

AddFilteredPrime ( List list, XmlQueryType source, XmlQueryType filter, bool forseSingle ) : XmlQueryCardinality
AddItemToChoice ( List accumulator, XmlQueryType itemType ) : void

Adds itemType to a union. Returns false if new item is a subtype of one of the types in the list.

CardinalityOfParticle ( XmlSchemaParticle particle ) : XmlQueryCardinality

Convert particle occurrance range into cardinality

CreateAttributeType ( XmlSchemaAttribute attribute ) : XmlQueryType
CreateAttributeType ( string ns, bool exclude, XmlSchemaType schemaType ) : XmlQueryType
CreateElementType ( XmlSchemaElement element ) : XmlQueryType

Create type based on an XmlSchemaElement

CreateElementType ( string ns, bool exclude, XmlSchemaType schemaType ) : XmlQueryType

Create type based on a wildcard

IntersectItemTypes ( XmlQueryType left, XmlQueryType right ) : XmlQueryType

Construct the intersection of two lists of prime XmlQueryTypes.

PrimeChoice ( List accumulator, IList types ) : List

Construct the union of two lists of prime XmlQueryTypes. Types are added to "accumulator" as necessary to ensure it contains a superset of "types".

PrimeIntersect ( IList left, IList right ) : List

Construct the intersection of two lists of prime XmlQueryTypes.

Method Details

AncestorsOf() public method

For the type of node sequence calculate type of ancestor filtered with a type (filter)
public AncestorsOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType
source XmlQueryType source type
filter XmlQueryType type filter
return XmlQueryType

AtMost() public static method

Compute a sequence of zero to some max cardinality.
public static AtMost ( XmlQueryType t, XmlQueryCardinality c ) : XmlQueryType
t XmlQueryType the type to sequence
c XmlQueryCardinality the upper bound
return XmlQueryType

AttributesOf() public method

For the type of node sequence calculate type of attributes filtered with a type (filter)
public AttributesOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType
source XmlQueryType source type
filter XmlQueryType type filter
return XmlQueryType

ChildrenOf() public method

For the type of node sequence calculate type of children filtered with a type (filter)
public ChildrenOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType
source XmlQueryType source type
filter XmlQueryType type filter
return XmlQueryType

Choice() public static method

Construct the union of several XmlQueryTypes
public static Choice ( ) : XmlQueryType
return XmlQueryType

Choice() public static method

Construct the union of two XmlQueryTypes
public static Choice ( XmlQueryType left, XmlQueryType right ) : XmlQueryType
left XmlQueryType the left type
right XmlQueryType the right type
return XmlQueryType

DataOn() public method

Converts type of sequence of items to type of sequnce of atomic value See http://www.w3.org/TR/2004/xquery-semantics/#jd_data for the detailed description
public DataOn ( XmlQueryType source ) : XmlQueryType
source XmlQueryType source type
return XmlQueryType

DescendantsOf() public method

For the type of node sequence calculate type of descendants filtered with a type (filter)
public DescendantsOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType
source XmlQueryType source type
filter XmlQueryType type filter
return XmlQueryType

FilterOf() public method

Filter type of node sequence with a type (filter)
public FilterOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType
source XmlQueryType source type
filter XmlQueryType type filter
return XmlQueryType

Intersect() public method

Construct the intersection of several XmlQueryTypes
public Intersect ( ) : XmlQueryType
return XmlQueryType

Intersect() public method

Construct the intersection of two XmlQueryTypes
public Intersect ( XmlQueryType left, XmlQueryType right ) : XmlQueryType
left XmlQueryType the left type
right XmlQueryType the right type
return XmlQueryType

NodeChoice() public static method

Create a Node XmlQueryType which is the choice between several different node kinds.
public static NodeChoice ( XmlNodeKindFlags kinds ) : XmlQueryType
kinds XmlNodeKindFlags the node kinds which will make up the choice
return XmlQueryType

ParentOf() public method

For the type of node sequence calculate type of parent filtered with a type (filter)
public ParentOf ( XmlQueryType source, XmlQueryType filter ) : XmlQueryType
source XmlQueryType source type
filter XmlQueryType type filter
return XmlQueryType

PrimeProduct() public static method

Compute the product of the prime of "t" with cardinality "c".
public static PrimeProduct ( XmlQueryType t, XmlQueryCardinality c ) : XmlQueryType
t XmlQueryType the member type
c XmlQueryCardinality the cardinality
return XmlQueryType

Product() public static method

Compute a sequence with cardinality *= c.
public static Product ( XmlQueryType t, XmlQueryCardinality c ) : XmlQueryType
t XmlQueryType the type to sequence
c XmlQueryCardinality the cardainality multiplier
return XmlQueryType

Sequence() public method

Construct the sequence of several XmlQueryTypes
public Sequence ( ) : XmlQueryType
return XmlQueryType

Sequence() public static method

Construct the sequence of two XmlQueryTypes
public static Sequence ( XmlQueryType left, XmlQueryType right ) : XmlQueryType
left XmlQueryType the left type
right XmlQueryType the right type
return XmlQueryType

StrictType() public method

Create a strict XmlQueryType from the source.
public StrictType ( XmlQueryType source ) : XmlQueryType
source XmlQueryType source type
return XmlQueryType

Type() public static method

Create a Node XmlQueryType having an XSD content type.
public static Type ( XPathNodeType kind, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable ) : XmlQueryType
kind XPathNodeType
nameTest XmlQualifiedNameTest
contentType System.Xml.Schema.XmlSchemaType content type of the node
isNillable bool
return XmlQueryType

Type() public static method

Create an XmlQueryType from an Xsd simple type (where variety can be Atomic, List, or Union).
public static Type ( XmlSchemaSimpleType schemaType, bool isStrict ) : XmlQueryType
schemaType System.Xml.Schema.XmlSchemaSimpleType the simple Xsd schema type of the atomic value
isStrict bool true if the dynamic type is guaranteed to match the static type exactly
return XmlQueryType

Type() public method

Create an XmlQueryType having an XSD name test, content type and nillable.
public Type ( XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable ) : XmlQueryType
code XmlTypeCode unless code is Document, Element, or Attribute, "contentType" is ignored
nameTest XmlQualifiedNameTest name test on the node
contentType System.Xml.Schema.XmlSchemaType content type of the node
isNillable bool nillable property
return XmlQueryType

Type() public method

Create an XmlQueryType having an XSD name test, content type, nillable and cardinality.
public Type ( XmlTypeCode code, XmlQualifiedNameTest nameTest, XmlSchemaType contentType, bool isNillable, XmlQueryCardinality card ) : XmlQueryType
code XmlTypeCode unless code is Document, Element, or Attribute, "contentType" is ignored
nameTest XmlQualifiedNameTest name test on the node
contentType System.Xml.Schema.XmlSchemaType content type of the node
isNillable bool nillable property
card XmlQueryCardinality cardinality
return XmlQueryType

Type() public method

Create an XmlQueryType from an XmlTypeCode and cardinality.
public Type ( XmlTypeCode code, XmlQueryCardinality card ) : XmlQueryType
code XmlTypeCode the type code of the item
card XmlQueryCardinality cardinality
return XmlQueryType

Type() public static method

Create an XmlQueryType from an XmlTypeCode.
public static Type ( XmlTypeCode code, bool isStrict ) : XmlQueryType
code XmlTypeCode the type code of the item
isStrict bool true if the dynamic type is guaranteed to match the static type exactly
return XmlQueryType

Property Details

AnyAtomicType public_oe static_oe property

public static XmlQueryType AnyAtomicType
return XmlQueryType

AnyAtomicTypeS public_oe static_oe property

public static XmlQueryType AnyAtomicTypeS
return XmlQueryType

Attribute public_oe static_oe property

public static XmlQueryType Attribute
return XmlQueryType

AttributeOrContent public_oe static_oe property

public static XmlQueryType AttributeOrContent
return XmlQueryType

AttributeOrContentS public_oe static_oe property

public static XmlQueryType AttributeOrContentS
return XmlQueryType

AttributeQ public_oe static_oe property

public static XmlQueryType AttributeQ
return XmlQueryType

AttributeS public_oe static_oe property

public static XmlQueryType AttributeS
return XmlQueryType

Boolean public_oe static_oe property

public static XmlQueryType Boolean
return XmlQueryType

BooleanX public_oe static_oe property

public static XmlQueryType BooleanX
return XmlQueryType

Comment public_oe static_oe property

public static XmlQueryType Comment
return XmlQueryType

CommentS public_oe static_oe property

public static XmlQueryType CommentS
return XmlQueryType

Content public_oe static_oe property

public static XmlQueryType Content
return XmlQueryType

ContentS public_oe static_oe property

public static XmlQueryType ContentS
return XmlQueryType

DateTimeX public_oe static_oe property

public static XmlQueryType DateTimeX
return XmlQueryType

DecimalX public_oe static_oe property

public static XmlQueryType DecimalX
return XmlQueryType

Document public_oe static_oe property

public static XmlQueryType Document
return XmlQueryType

DocumentOrContent public_oe static_oe property

public static XmlQueryType DocumentOrContent
return XmlQueryType

DocumentOrContentS public_oe static_oe property

public static XmlQueryType DocumentOrContentS
return XmlQueryType

DocumentOrElement public_oe static_oe property

public static XmlQueryType DocumentOrElement
return XmlQueryType

DocumentOrElementQ public_oe static_oe property

public static XmlQueryType DocumentOrElementQ
return XmlQueryType

DocumentOrElementS public_oe static_oe property

public static XmlQueryType DocumentOrElementS
return XmlQueryType

DocumentS public_oe static_oe property

public static XmlQueryType DocumentS
return XmlQueryType

Double public_oe static_oe property

public static XmlQueryType Double
return XmlQueryType

DoubleX public_oe static_oe property

public static XmlQueryType DoubleX
return XmlQueryType

Element public_oe static_oe property

public static XmlQueryType Element
return XmlQueryType

ElementS public_oe static_oe property

public static XmlQueryType ElementS
return XmlQueryType

Empty public_oe static_oe property

public static XmlQueryType Empty
return XmlQueryType

FloatX public_oe static_oe property

public static XmlQueryType FloatX
return XmlQueryType

Int public_oe static_oe property

public static XmlQueryType Int
return XmlQueryType

IntX public_oe static_oe property

public static XmlQueryType IntX
return XmlQueryType

IntXS public_oe static_oe property

public static XmlQueryType IntXS
return XmlQueryType

IntegerX public_oe static_oe property

public static XmlQueryType IntegerX
return XmlQueryType

Item public_oe static_oe property

public static XmlQueryType Item
return XmlQueryType

ItemS public_oe static_oe property

public static XmlQueryType ItemS
return XmlQueryType

LongX public_oe static_oe property

public static XmlQueryType LongX
return XmlQueryType

Namespace public_oe static_oe property

public static XmlQueryType Namespace
return XmlQueryType

NamespaceS public_oe static_oe property

public static XmlQueryType NamespaceS
return XmlQueryType

Node public_oe static_oe property

public static XmlQueryType Node
return XmlQueryType

NodeDodS public_oe static_oe property

public static XmlQueryType NodeDodS
return XmlQueryType

NodeNotRtf public_oe static_oe property

public static XmlQueryType NodeNotRtf
return XmlQueryType

NodeNotRtfQ public_oe static_oe property

public static XmlQueryType NodeNotRtfQ
return XmlQueryType

NodeNotRtfS public_oe static_oe property

public static XmlQueryType NodeNotRtfS
return XmlQueryType

NodeS public_oe static_oe property

public static XmlQueryType NodeS
return XmlQueryType

None public_oe static_oe property

public static XmlQueryType None
return XmlQueryType

PI public_oe static_oe property

public static XmlQueryType PI
return XmlQueryType

PIS public_oe static_oe property

public static XmlQueryType PIS
return XmlQueryType

QNameX public_oe static_oe property

public static XmlQueryType QNameX
return XmlQueryType

String public_oe static_oe property

public static XmlQueryType String
return XmlQueryType

StringX public_oe static_oe property

public static XmlQueryType StringX
return XmlQueryType

StringXS public_oe static_oe property

public static XmlQueryType StringXS
return XmlQueryType

Text public_oe static_oe property

public static XmlQueryType Text
return XmlQueryType

TextS public_oe static_oe property

public static XmlQueryType TextS
return XmlQueryType

UntypedAttribute public_oe static_oe property

public static XmlQueryType UntypedAttribute
return XmlQueryType

UntypedDocument public_oe static_oe property

public static XmlQueryType UntypedDocument
return XmlQueryType

UntypedElement public_oe static_oe property

public static XmlQueryType UntypedElement
return XmlQueryType

UntypedNode public_oe static_oe property

public static XmlQueryType UntypedNode
return XmlQueryType

UntypedNodeS public_oe static_oe property

public static XmlQueryType UntypedNodeS
return XmlQueryType