Package system.xml
Class XmlElement
-
- All Implemented Interfaces:
Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
public class XmlElement extends XmlLinkedNode
The base .NET class managing System.Xml.XmlElement, System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51.See: https://docs.microsoft.com/en-us/dotnet/api/System.Xml.XmlElement
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static String
assemblyShortName
Assembly name: System.Private.Xmlstatic String
className
Qualified class name: System.Xml.XmlElementstatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description XmlElement()
XmlElement(Object instance)
Internal constructor.
-
Method Summary
-
Methods inherited from class system.xml.XmlNode
AppendChild, Clone, CreateNavigator, 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, RemoveChild, ReplaceChild, SelectNodes, SelectNodes, SelectSingleNode, SelectSingleNode, setInnerText, setInnerXml, setPrefix, setValue, Supports
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Private.Xml- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Xml.XmlElement- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classXmlLinkedNode
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classXmlLinkedNode
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 classXmlLinkedNode
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classXmlLinkedNode
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classXmlLinkedNode
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classXmlLinkedNode
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlElement cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlElement
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlElement
instance- Throws:
Throwable
- in case of error during cast operation
-
HasAttribute
public boolean HasAttribute(String localName, String namespaceURI) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
HasAttribute
public boolean HasAttribute(String name) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
GetAttribute
public String GetAttribute(String localName, String namespaceURI) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
GetAttribute
public String GetAttribute(String name) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
SetAttribute
public String SetAttribute(String localName, String namespaceURI, String value) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, XmlException, RankException
- Throws:
Throwable
NotSupportedException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
FormatException
XmlException
RankException
-
GetAttributeNode
public XmlAttribute GetAttributeNode(String localName, String namespaceURI) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
GetAttributeNode
public XmlAttribute GetAttributeNode(String name) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException
-
RemoveAttributeNode
public XmlAttribute RemoveAttributeNode(String localName, String namespaceURI) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
-
RemoveAttributeNode
public XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr) throws Throwable, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
SetAttributeNode
public XmlAttribute SetAttributeNode(String localName, String namespaceURI) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, XmlException, RankException
- Throws:
Throwable
NotSupportedException
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
FormatException
XmlException
RankException
-
SetAttributeNode
public XmlAttribute SetAttributeNode(XmlAttribute newAttr) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
CloneNode
public XmlNode CloneNode(boolean deep) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, XmlException, RankException
-
RemoveAttributeAt
public XmlNode RemoveAttributeAt(int i) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(String localName, String namespaceURI) throws Throwable, ArgumentException, MulticastNotSupportedException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(String name) throws Throwable, ArgumentException, MulticastNotSupportedException
-
RemoveAll
public void RemoveAll() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
-
RemoveAllAttributes
public void RemoveAllAttributes() throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException
-
RemoveAttribute
public void RemoveAttribute(String localName, String namespaceURI) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
-
RemoveAttribute
public void RemoveAttribute(String name) throws Throwable, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException
-
SetAttribute
public void SetAttribute(String name, String value) throws Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, ArgumentNullException, ObjectDisposedException, IndexOutOfRangeException, FormatException, XmlException, RankException, ArrayTypeMismatchException
-
WriteContentTo
public void WriteContentTo(XmlWriter w) throws Throwable
- Overrides:
WriteContentTo
in classXmlNode
- Throws:
Throwable
-
WriteTo
public void WriteTo(XmlWriter w) throws Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException
- Overrides:
WriteTo
in classXmlNode
- Throws:
Throwable
NotSupportedException
ArgumentException
ArgumentNullException
ArgumentOutOfRangeException
IndexOutOfRangeException
-
setIsEmpty
public void setIsEmpty(boolean IsEmpty) throws Throwable, ArgumentNullException, ArgumentException, ObjectDisposedException, InvalidOperationException
-
-