Package system.xml
Class XmlElement
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
public class XmlElement extends XmlLinkedNode
The base .NET class managing System.Xml.XmlElement, System.Private.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.XmlElement
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.Private.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Private.Xmlstatic java.lang.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(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmlElement
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlElement
, a cast assert is made to check if types are compatible.XmlNode
CloneNode(boolean deep)
java.lang.String
GetAttribute(java.lang.String name)
java.lang.String
GetAttribute(java.lang.String localName, java.lang.String namespaceURI)
XmlAttribute
GetAttributeNode(java.lang.String name)
XmlAttribute
GetAttributeNode(java.lang.String localName, java.lang.String namespaceURI)
XmlNodeList
GetElementsByTagName(java.lang.String name)
XmlNodeList
GetElementsByTagName(java.lang.String localName, java.lang.String namespaceURI)
boolean
getHasAttributes()
boolean
getIsEmpty()
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 Typeboolean
HasAttribute(java.lang.String name)
boolean
HasAttribute(java.lang.String localName, java.lang.String namespaceURI)
void
RemoveAll()
void
RemoveAllAttributes()
void
RemoveAttribute(java.lang.String name)
void
RemoveAttribute(java.lang.String localName, java.lang.String namespaceURI)
XmlNode
RemoveAttributeAt(int i)
XmlAttribute
RemoveAttributeNode(java.lang.String localName, java.lang.String namespaceURI)
XmlAttribute
RemoveAttributeNode(XmlAttribute oldAttr)
void
SetAttribute(java.lang.String name, java.lang.String value)
java.lang.String
SetAttribute(java.lang.String localName, java.lang.String namespaceURI, java.lang.String value)
XmlAttribute
SetAttributeNode(java.lang.String localName, java.lang.String namespaceURI)
XmlAttribute
SetAttributeNode(XmlAttribute newAttr)
void
setIsEmpty(boolean IsEmpty)
void
setJCOInstance(JCObject instance)
void
WriteContentTo(XmlWriter w)
void
WriteTo(XmlWriter w)
-
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
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.Xml- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xml.XmlElement- See Also:
- Constant Field Values
-
-
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 classXmlLinkedNode
- 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 classXmlLinkedNode
- 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 classXmlLinkedNode
- 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 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 java.lang.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:
java.lang.Throwable
- in case of error during cast operation
-
HasAttribute
public boolean HasAttribute(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
-
HasAttribute
public boolean HasAttribute(java.lang.String name) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String name) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
ArgumentOutOfRangeException
-
SetAttribute
public java.lang.String SetAttribute(java.lang.String localName, java.lang.String namespaceURI, java.lang.String value) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, InvalidOperationException, FormatException, ArgumentNullException, XmlException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
GetAttributeNode
public XmlAttribute GetAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
GetAttributeNode
public XmlAttribute GetAttributeNode(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
-
RemoveAttributeNode
public XmlAttribute RemoveAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
-
RemoveAttributeNode
public XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException
-
SetAttributeNode
public XmlAttribute SetAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, InvalidOperationException, FormatException, ArgumentNullException, XmlException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
SetAttributeNode
public XmlAttribute SetAttributeNode(XmlAttribute newAttr) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
CloneNode
public XmlNode CloneNode(boolean deep) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, ArgumentNullException, XmlException, NotSupportedException, RankException
- Overrides:
CloneNode
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
FormatException
ArgumentNullException
XmlException
NotSupportedException
RankException
-
RemoveAttributeAt
public XmlNode RemoveAttributeAt(int i) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
MulticastNotSupportedException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(java.lang.String name) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
PlatformNotSupportedException
MulticastNotSupportedException
-
RemoveAll
public void RemoveAll() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
- Overrides:
RemoveAll
in classXmlNode
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
InvalidOperationException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
-
RemoveAllAttributes
public void RemoveAllAttributes() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, InvalidOperationException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
InvalidOperationException
-
RemoveAttribute
public void RemoveAttribute(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
-
RemoveAttribute
public void RemoveAttribute(java.lang.String name) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
PlatformNotSupportedException
-
SetAttribute
public void SetAttribute(java.lang.String name, java.lang.String value) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, FormatException, InvalidOperationException, XmlException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
-
WriteContentTo
public void WriteContentTo(XmlWriter w) throws java.lang.Throwable
- Overrides:
WriteContentTo
in classXmlNode
- Throws:
java.lang.Throwable
-
WriteTo
public void WriteTo(XmlWriter w) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
- Overrides:
WriteTo
in classXmlNode
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
IndexOutOfRangeException
-
getHasAttributes
public boolean getHasAttributes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsEmpty
public boolean getIsEmpty() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIsEmpty
public void setIsEmpty(boolean IsEmpty) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
-
-