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.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..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.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Data.Commonstatic 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.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Common- 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, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, FormatException, XmlException, EventSourceException, SqlNullValueException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
IndexOutOfRangeException
FormatException
XmlException
EventSourceException
SqlNullValueException
MulticastNotSupportedException
-
XmlDataDocument
public XmlDataDocument(DataSet dataset) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, IndexOutOfRangeException, XmlException, FormatException, SynchronizationLockException, SqlNullValueException, OverflowException, InvalidCastException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentNullException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
IndexOutOfRangeException
XmlException
FormatException
SynchronizationLockException
SqlNullValueException
OverflowException
InvalidCastException
MulticastNotSupportedException
-
-
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, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, InvalidOperationException, FormatException, ArgumentNullException, XmlException, SqlNullValueException, MulticastNotSupportedException, NotSupportedException
- Overrides:
CreateElement
in classXmlDocument
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
InvalidOperationException
FormatException
ArgumentNullException
XmlException
SqlNullValueException
MulticastNotSupportedException
NotSupportedException
-
GetElementById
public XmlElement GetElementById(java.lang.String elemId) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException
- Overrides:
GetElementById
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
-
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, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, NotSupportedException
- Overrides:
CreateEntityReference
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
NotSupportedException
-
CloneNode
public XmlNode CloneNode(boolean deep) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, XmlException, EventSourceException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, SynchronizationLockException, RankException, SqlNullValueException, KeyNotFoundException, NotImplementedException, RegexMatchTimeoutException, ArrayTypeMismatchException, OutOfMemoryException, FormatException, OverflowException, MulticastNotSupportedException
- Overrides:
CloneNode
in classXmlDocument
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentNullException
ArgumentException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
XmlException
EventSourceException
NotSupportedException
MethodAccessException
MissingMethodException
MemberAccessException
TargetInvocationException
SynchronizationLockException
RankException
SqlNullValueException
KeyNotFoundException
NotImplementedException
RegexMatchTimeoutException
ArrayTypeMismatchException
OutOfMemoryException
FormatException
OverflowException
MulticastNotSupportedException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(java.lang.String name) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, MulticastNotSupportedException
- Overrides:
GetElementsByTagName
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
MulticastNotSupportedException
-
Load
public void Load(Stream inStream) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, PlatformNotSupportedException, IOException, NotSupportedException, ArgumentException, XmlException, XmlSchemaException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentOutOfRangeException
ArrayTypeMismatchException
PlatformNotSupportedException
IOException
NotSupportedException
ArgumentException
XmlException
XmlSchemaException
-
Load
public void Load(TextReader txtReader) throws java.lang.Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, XmlException, XmlSchemaException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
XmlException
XmlSchemaException
-
Load
public void Load(java.lang.String filename) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, XmlException, XmlSchemaException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentNullException
ArgumentException
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
OutOfMemoryException
XmlException
XmlSchemaException
-
Load
public void Load(XmlReader reader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, SqlNullValueException, IndexOutOfRangeException, MulticastNotSupportedException, NotSupportedException, XmlException, XmlSchemaException
- Overrides:
Load
in classXmlDocument
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
OutOfMemoryException
SqlNullValueException
IndexOutOfRangeException
MulticastNotSupportedException
NotSupportedException
XmlException
XmlSchemaException
-
getDataSet
public DataSet getDataSet() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-