|
bool | IsNull [get, private set] |
|
bool | IsNull [get] |
| Gets a boolean value indicating if the object is NULL . More...
|
|
Definition at line 8 of file SqlXmlNode.cs.
Deveel.Data.Sql.Objects.SqlXmlNode.SqlXmlNode |
( |
byte[] |
content, |
|
|
bool |
isNull |
|
) |
| |
|
inlineprivate |
Definition at line 14 of file SqlXmlNode.cs.
XPathNavigator CreateNavigator()
Deveel.Data.Sql.Objects.SqlXmlNode.SqlXmlNode |
( |
byte[] |
content | ) |
|
|
inline |
Definition at line 190 of file SqlXmlNode.cs.
191 throw new NotImplementedException();
static byte [] Deveel.Data.Sql.Objects.SqlXmlNode.AsBinary |
( |
XPathNavigator |
navigator | ) |
|
|
inlinestaticprivate |
Definition at line 76 of file SqlXmlNode.cs.
77 using (var stream =
new MemoryStream()) {
78 using (var writer =
new StreamWriter(stream, Encoding.UTF8)) {
79 using (var xmlWriter =
new XmlTextWriter(writer)) {
80 xmlWriter.Formatting = Formatting.None;
86 return stream.ToArray();
void Deveel.Data.Sql.Objects.SqlXmlNode.AsserCanEdit |
( |
| ) |
|
|
inlineprivate |
Definition at line 63 of file SqlXmlNode.cs.
65 throw new NotSupportedException(
"The current node cannot be edited.");
int IComparable. Deveel.Data.Sql.Objects.SqlXmlNode.CompareTo |
( |
object |
obj | ) |
|
|
inlineprivate |
Definition at line 25 of file SqlXmlNode.cs.
26 throw new NotSupportedException();
Definition at line 29 of file SqlXmlNode.cs.
30 throw new NotSupportedException();
XPathNavigator Deveel.Data.Sql.Objects.SqlXmlNode.CreateNavigator |
( |
| ) |
|
|
inlineprivate |
Definition at line 39 of file SqlXmlNode.cs.
43 using (var stream =
new MemoryStream(
content)) {
44 using (var xmlReader =
new StreamReader(stream, Encoding.UTF8)) {
45 var xmlDocument =
new XmlDocument();
46 xmlDocument.Load(xmlReader);
47 return xmlDocument.CreateNavigator();
SqlXmlNode Deveel.Data.Sql.Objects.SqlXmlNode.Delete |
( |
string |
xpath | ) |
|
|
inline |
Definition at line 194 of file SqlXmlNode.cs.
195 throw new NotImplementedException();
void Deveel.Data.Sql.Objects.SqlXmlNode.Dispose |
( |
| ) |
|
|
inline |
SqlXmlNode Deveel.Data.Sql.Objects.SqlXmlNode.Extract |
( |
string |
xpath | ) |
|
|
inline |
SqlXmlNode Deveel.Data.Sql.Objects.SqlXmlNode.Extract |
( |
string |
xpath, |
|
|
string |
xmlNs |
|
) |
| |
|
inline |
Definition at line 125 of file SqlXmlNode.cs.
SqlXmlNode(byte[] content, bool isNull)
byte[] SelectSingle(string xpath, string xmlNs)
static readonly SqlXmlNode Null
ISqlObject Deveel.Data.Sql.Objects.SqlXmlNode.ExtractValue |
( |
string |
xpath | ) |
|
|
inline |
Definition at line 137 of file SqlXmlNode.cs.
ISqlObject ExtractValue(string xpath)
ISqlObject Deveel.Data.Sql.Objects.SqlXmlNode.ExtractValue |
( |
string |
xpath, |
|
|
string |
xmlNs |
|
) |
| |
|
inline |
Definition at line 141 of file SqlXmlNode.cs.
148 return SqlNull.Value;
150 if (valueType == typeof(
string))
155 throw new NotSupportedException();
static readonly SqlXmlNode Null
A user-defined TYPE that holds complex objects in a database column.
bool SelectSingleValue(string xpath, string xmlNs, out object value, out Type valueType)
Deveel.Data.Sql.Objects.SqlString SqlString
Definition at line 206 of file SqlXmlNode.cs.
207 throw new NotImplementedException();
bool ISqlObject. Deveel.Data.Sql.Objects.SqlXmlNode.IsComparableTo |
( |
ISqlObject |
other | ) |
|
|
inlineprivate |
Checks if the current object is comparable with the given one.
- Parameters
-
- Returns
- Returns
true
if the current object is comparable with the given one, false
otherwise.
Implements Deveel.Data.Sql.Objects.ISqlObject.
Definition at line 35 of file SqlXmlNode.cs.
XmlNamespaceManager Deveel.Data.Sql.Objects.SqlXmlNode.NamespaceManager |
( |
string |
xmlNs | ) |
|
|
inlineprivate |
Definition at line 52 of file SqlXmlNode.cs.
53 XmlNamespaceManager nsManager = null;
54 if (!
String.IsNullOrEmpty(xmlNs)) {
55 var nameTable =
new NameTable();
57 nsManager =
new XmlNamespaceManager(nameTable);
A long string in the system.
byte [] Deveel.Data.Sql.Objects.SqlXmlNode.SelectSingle |
( |
string |
xpath, |
|
|
string |
xmlNs |
|
) |
| |
|
inlineprivate |
Definition at line 68 of file SqlXmlNode.cs.
70 if (nodeNavigator == null)
static byte[] AsBinary(XPathNavigator navigator)
XmlNamespaceManager NamespaceManager(string xmlNs)
bool Deveel.Data.Sql.Objects.SqlXmlNode.SelectSingleValue |
( |
string |
xpath, |
|
|
string |
xmlNs, |
|
|
out object |
value, |
|
|
out Type |
valueType |
|
) |
| |
|
inlineprivate |
Definition at line 92 of file SqlXmlNode.cs.
97 if (nodeNavigator == null)
100 valueType = nodeNavigator.ValueType;
101 value = nodeNavigator.TypedValue;
XmlNamespaceManager NamespaceManager(string xmlNs)
byte [] Deveel.Data.Sql.Objects.SqlXmlNode.ToBytes |
( |
| ) |
|
|
inline |
SqlBinary Deveel.Data.Sql.Objects.SqlXmlNode.ToSqlBinary |
( |
| ) |
|
|
inline |
SqlString Deveel.Data.Sql.Objects.SqlXmlNode.ToSqlString |
( |
| ) |
|
|
inline |
Definition at line 170 of file SqlXmlNode.cs.
174 var bytes = Encoding.Convert(Encoding.UTF8, Encoding.Unicode,
content);
Deveel.Data.Sql.Objects.SqlString SqlString
XmlNode Deveel.Data.Sql.Objects.SqlXmlNode.ToXmlNode |
( |
| ) |
|
|
inline |
Definition at line 198 of file SqlXmlNode.cs.
199 throw new NotImplementedException();
bool Deveel.Data.Sql.Objects.SqlXmlNode.Update |
( |
string |
xpath, |
|
|
object |
value, |
|
|
string |
xmlNs, |
|
|
out byte[] |
updated |
|
) |
| |
|
inlineprivate |
Definition at line 105 of file SqlXmlNode.cs.
111 var nodeNavigator = rootNavigator.SelectSingleNode(xpath,
NamespaceManager(xmlNs));
112 if (nodeNavigator == null)
115 nodeNavigator.SetValue(value.ToString());
static byte[] AsBinary(XPathNavigator navigator)
XmlNamespaceManager NamespaceManager(string xmlNs)
Definition at line 158 of file SqlXmlNode.cs.
159 return Update(xpath, value, null);
bool Update(string xpath, object value, string xmlNs, out byte[] updated)
SqlXmlNode Deveel.Data.Sql.Objects.SqlXmlNode.Update |
( |
string |
xpath, |
|
|
ISqlObject |
value, |
|
|
string |
xmlNs |
|
) |
| |
|
inline |
Definition at line 162 of file SqlXmlNode.cs.
164 if (!
Update(xpath, value, xmlNs, out updated))
SqlXmlNode(byte[] content, bool isNull)
static readonly SqlXmlNode Null
bool Update(string xpath, object value, string xmlNs, out byte[] updated)
byte [] Deveel.Data.Sql.Objects.SqlXmlNode.content |
|
private |
XPathNavigator Deveel.Data.Sql.Objects.SqlXmlNode.navigator |
|
private |
bool Deveel.Data.Sql.Objects.SqlXmlNode.IsNull |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb-xml/Deveel.Data.Sql.Objects/SqlXmlNode.cs