Package system.xml
Class XmlDataDocument
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
public class XmlDataDocument extends XmlDocument
The base .NET class managing System.Xml.XmlDataDocument, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.XmlDataDocument
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Datastatic java.lang.String
className
Qualified class name: System.Xml.XmlDataDocumentstatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description XmlDataDocument()
XmlDataDocument(java.lang.Object instance)
Internal constructor.XmlDataDocument(DataSet dataset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmlDataDocument
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlDataDocument
, a cast assert is made to check if types are compatible.XmlNode
CloneNode(boolean deep)
XmlElement
CreateElement(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceURI)
XmlEntityReference
CreateEntityReference(java.lang.String name)
DataSet
getDataSet()
XmlElement
GetElementById(java.lang.String elemId)
XmlElement
GetElementFromRow(DataRow r)
XmlNodeList
GetElementsByTagName(java.lang.String name)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeDataRow
GetRowFromElement(XmlElement e)
void
Load(java.lang.String filename)
void
Load(Stream inStream)
void
Load(TextReader txtReader)
void
Load(XmlReader reader)
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.xml.XmlDocument
addNodeChanged, addNodeChanging, addNodeInserted, addNodeInserting, addNodeRemoved, addNodeRemoving, CreateAttribute, CreateAttribute, CreateAttribute, CreateCDataSection, CreateComment, CreateDocumentFragment, CreateDocumentType, CreateElement, CreateElement, CreateNavigator, CreateNode, CreateNode, CreateNode, CreateProcessingInstruction, CreateSignificantWhitespace, CreateTextNode, CreateWhitespace, CreateXmlDeclaration, getDocumentElement, getDocumentType, GetElementsByTagName, getImplementation, getNameTable, getPreserveWhitespace, getSchemas, ImportNode, LoadXml, ReadNode, removeNodeChanged, removeNodeChanging, removeNodeInserted, removeNodeInserting, removeNodeRemoved, removeNodeRemoving, Save, Save, Save, Save, setPreserveWhitespace, setSchemas, setXmlResolver, Validate, Validate, WriteContentTo, WriteTo
-
Methods inherited from class system.xml.XmlNode
AppendChild, Clone, getAttributes, getBaseURI, getChildNodes, getFirstChild, getHasChildNodes, getInnerText, getInnerXml, getIsReadOnly, getLastChild, getLocalName, getName, GetNamespaceOfPrefix, getNamespaceURI, getNextSibling, getNodeType, getOuterXml, getOwnerDocument, getParentNode, getPrefix, GetPrefixOfNamespace, getPreviousSibling, getPreviousText, getSchemaInfo, getValue, InsertAfter, InsertBefore, Normalize, PrependChild, RemoveAll, RemoveChild, ReplaceChild, SelectNodes, SelectNodes, SelectSingleNode, SelectSingleNode, setInnerText, setInnerXml, setPrefix, setValue, Supports
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xml.XmlDataDocument- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlDataDocument
public XmlDataDocument(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
XmlDataDocument
public XmlDataDocument() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, NullReferenceException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, SqlNullValueException, IndexOutOfRangeException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
FormatException
NullReferenceException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
XmlException
SqlNullValueException
IndexOutOfRangeException
MulticastNotSupportedException
NotSupportedException
-
XmlDataDocument
public XmlDataDocument(DataSet dataset) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, IndexOutOfRangeException, XmlException, SqlNullValueException, DataException, OverflowException, FormatException, InvalidCastException, MulticastNotSupportedException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
NullReferenceException
IndexOutOfRangeException
XmlException
SqlNullValueException
DataException
OverflowException
FormatException
InvalidCastException
MulticastNotSupportedException
NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classXmlDocument
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classXmlDocument
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classXmlDocument
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classXmlDocument
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classXmlDocument
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classXmlDocument
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlDataDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlDataDocument
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlDataDocument
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetRowFromElement
public DataRow GetRowFromElement(XmlElement e) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateElement
public XmlElement CreateElement(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException, SqlNullValueException, IndexOutOfRangeException, MulticastNotSupportedException, NotSupportedException
- Overrides:
CreateElement
in classXmlDocument
- Throws:
java.lang.Throwable
NullReferenceException
ArgumentNullException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
XmlException
SqlNullValueException
IndexOutOfRangeException
MulticastNotSupportedException
NotSupportedException
-
GetElementById
public XmlElement GetElementById(java.lang.String elemId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
GetElementById
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
GetElementFromRow
public XmlElement GetElementFromRow(DataRow r) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateEntityReference
public XmlEntityReference CreateEntityReference(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Overrides:
CreateEntityReference
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
-
CloneNode
public XmlNode CloneNode(boolean deep) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NullReferenceException, XmlException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException, RankException, SqlNullValueException, KeyNotFoundException, OutOfMemoryException, SecurityException, DataException, OverflowException, MulticastNotSupportedException
- Overrides:
CloneNode
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NullReferenceException
XmlException
ArgumentOutOfRangeException
IndexOutOfRangeException
NotSupportedException
RankException
SqlNullValueException
KeyNotFoundException
OutOfMemoryException
SecurityException
DataException
OverflowException
MulticastNotSupportedException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(java.lang.String name) throws java.lang.Throwable, ArgumentException, MulticastNotSupportedException
- Overrides:
GetElementsByTagName
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentException
MulticastNotSupportedException
-
Load
public void Load(Stream inStream) throws java.lang.Throwable, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, ArgumentOutOfRangeException, XmlException, MissingManifestResourceException, XmlSchemaException, NullReferenceException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
InvalidOperationException
SecurityException
UnauthorizedAccessException
IOException
ArgumentNullException
ArgumentOutOfRangeException
XmlException
MissingManifestResourceException
XmlSchemaException
NullReferenceException
-
Load
public void Load(TextReader txtReader) throws java.lang.Throwable, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, ArgumentOutOfRangeException, MissingManifestResourceException, XmlException, XmlSchemaException, NullReferenceException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
InvalidOperationException
SecurityException
UnauthorizedAccessException
IOException
ArgumentNullException
ArgumentOutOfRangeException
MissingManifestResourceException
XmlException
XmlSchemaException
NullReferenceException
-
Load
public void Load(java.lang.String filename) throws java.lang.Throwable, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, XmlSchemaException, NullReferenceException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
ObjectDisposedException
InvalidOperationException
ArgumentNullException
SecurityException
UnauthorizedAccessException
IOException
MissingManifestResourceException
ArgumentOutOfRangeException
XmlException
XmlSchemaException
NullReferenceException
-
Load
public void Load(XmlReader reader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, SqlNullValueException, DataException, IndexOutOfRangeException, MulticastNotSupportedException, XmlException, XmlSchemaException, NullReferenceException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
SqlNullValueException
DataException
IndexOutOfRangeException
MulticastNotSupportedException
XmlException
XmlSchemaException
NullReferenceException
-
getDataSet
public DataSet getDataSet() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-