Click or drag to resize

XmlSpecsHelper Class

Static Helper Class which contains a set of Functions which model Name and Character validations as laid out in the W3C XML and XML Namespaces specification.
Inheritance Hierarchy
SystemObject
  VDS.RDF.ParsingXmlSpecsHelper

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static class XmlSpecsHelper

The XmlSpecsHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetCompatibleSupportedDataType(String, String)
Gets the Compatible Supported Data Type for the two Data Types.
Public methodStatic memberGetCompatibleSupportedDataType(INode, INode)
Gets the Compatible Supported Data Type assuming the two Nodes are Literals with support types and that those types are compatible.
Public methodStatic memberGetCompatibleSupportedDataType(String, String, Boolean)
Gets the Compatible Supported Data Type for the two Data Types.
Public methodStatic memberGetCompatibleSupportedDataType(INode, INode, Boolean)
Gets the Compatible Supported Data Type assuming the two Nodes are Literals with support types and that those types are compatible.
Public methodStatic memberGetSupportedDataType
Gets the Data Type Uri of the given Node if it has a supported type.
Public methodStatic memberIsName
Returns whether a String is a Name as defined by the W3C XML Specification.
Public methodStatic memberIsNameChar
Returns whether a Character is a NameChar as defined by the W3C XML Specification.
Public methodStatic memberIsNameStartChar
Returns whether a Character is a NameChar as defined by the W3C XML Specification.
Public methodStatic memberIsNCName
Returns whether a String is a NCName as defined by the W3C XML Namespaces Specification.
Public methodStatic memberIsSupportedType(String)
Returns whether the given Type refers to one of the types supported by the LiteralNode CompareTo method.
Public methodStatic memberIsSupportedType(Uri)
Returns whether the given Type refers to one of the types supported by the LiteralNode CompareTo method.
Top
Fields
  NameDescription
Public fieldStatic memberNamespaceXml
Namespace for XML.
Public fieldStatic memberNamespaceXmlNamespaces
Namespace for XML Namespaces.
Public fieldStatic memberNamespaceXmlSchema
Namespace for XML Schema.
Public fieldStatic memberSupportedTypes
Array of Constants for Data Types that are supported by the Literal Node CompareTo method.
Public fieldStatic memberXmlSchemaDataTypeAnyUri
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeBase64Binary
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeBoolean
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeByte
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeDate
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeDateTime
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeDayTimeDuration
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeDecimal
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeDouble
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeDuration
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeFloat
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeHexBinary
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeInt
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeInteger
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeLong
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeNegativeInteger
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeNonNegativeInteger
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeNonPositiveInteger
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypePositiveInteger
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeShort
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeString
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeTime
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeUnsignedByte
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeUnsignedInt
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeUnsignedLong
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDataTypeUnsignedShort
Data Type Uri Constants for XML Schema Data Types.
Public fieldStatic memberXmlSchemaDateFormat
Date Time Formatting string which meets the specified format for xsd:date.
Public fieldStatic memberXmlSchemaDateTimeFormat
Date Time Formatting string which meets the specified format for xsd:dateTime.
Public fieldStatic memberXmlSchemaDateTimeFormatImprecise
Date Time Formatting string which meets the specified format for xsd:dateTime, this formatting string is imprecise in the sense that it does not preserve the fractional seconds.
Public fieldStatic memberXmlSchemaTimeFormat
Date Time Formatting string which meets the the specified format for xsd:time.
Public fieldStatic memberXmlSchemaTimeFormatImprecise
Date Time Formatting string which meets the the specified format for xsd:time, this formatting string is imprecise in the sense that it does not preserve the fractional seconds.
Top
Remarks
These are needed in the XML/RDF Parser Also contains the Date Time format string used to format .Net's DateTime type into a String whose format conforms to the XML Schema Datatypes specification.
See Also

Reference

http://www.w3.org/TR/REC-xml/
http://www.w3.org/TR/REC-xml-names/
http://www.w3.org/TR/xmlschema-2/