Class TurtleW3CFormatter
Formatter which formats Turtle with QName compression using the newer W3C syntax which permits a wider range of valid QNames.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Writing.Formatting
Assembly: dotNetRDF.dll
Syntax
public class TurtleW3CFormatter : TurtleFormatter, INodeFormatter, ITripleFormatter, IUriFormatter, ICharFormatter, IResultFormatter, INamespaceFormatter, IBaseUriFormatter
Constructors
| Improve this Doc View SourceTurtleW3CFormatter()
Creates a new Turtle Formatter.
Declaration
public TurtleW3CFormatter()
TurtleW3CFormatter(String)
Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName)
Parameters
Type | Name | Description |
---|---|---|
System.String | formatName | Format Name. |
TurtleW3CFormatter(String, IGraph)
Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName, IGraph g)
Parameters
Type | Name | Description |
---|---|---|
System.String | formatName | Format Name. |
IGraph | g | Graph. |
TurtleW3CFormatter(String, INamespaceMapper)
Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName, INamespaceMapper nsmap)
Parameters
Type | Name | Description |
---|---|---|
System.String | formatName | Format Name. |
INamespaceMapper | nsmap | Namespace Map. |
TurtleW3CFormatter(String, QNameOutputMapper)
Creates a new Turtle Formatter.
Declaration
protected TurtleW3CFormatter(string formatName, QNameOutputMapper qnameMapper)
Parameters
Type | Name | Description |
---|---|---|
System.String | formatName | Format Name. |
QNameOutputMapper | qnameMapper | QName Map. |
TurtleW3CFormatter(IGraph)
Creates a new Turtle Formatter for the given Graph.
Declaration
public TurtleW3CFormatter(IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
TurtleW3CFormatter(INamespaceMapper)
Creates a new Turtle Formatter for the given Namespace Map.
Declaration
public TurtleW3CFormatter(INamespaceMapper nsmap)
Parameters
Type | Name | Description |
---|---|---|
INamespaceMapper | nsmap | Namespace Map. |
TurtleW3CFormatter(QNameOutputMapper)
Creates a new Turtle Formatter that uses the given QName mapper.
Declaration
public TurtleW3CFormatter(QNameOutputMapper qnameMapper)
Parameters
Type | Name | Description |
---|---|---|
QNameOutputMapper | qnameMapper | QName Mapper. |
Methods
| Improve this Doc View SourceIsValidQName(String)
Gets whether a QName is valid in Turtle as specified by the W3C.
Declaration
protected override bool IsValidQName(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | QName. |
Returns
Type | Description |
---|---|
System.Boolean |