public class XmlElement extends XmlLinkedNode
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.XmlElement
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.Xml
|
static java.lang.String |
className
Qualified class name: System.Xml.XmlElement
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
XmlElement() |
XmlElement(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlElement |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XmlElement, 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 name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
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) |
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, SupportsGetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XmlElement()
throws java.lang.Throwable
java.lang.Throwablepublic XmlElement(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static XmlElement cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XmlElement, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXmlElement instancejava.lang.Throwable - in case of error during cast operationpublic XmlNode CloneNode(boolean deep) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, ArgumentNullException, XmlException, NotSupportedException, RankException
CloneNode in class XmlNodejava.lang.ThrowablePlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionFormatExceptionArgumentNullExceptionXmlExceptionNotSupportedExceptionRankExceptionpublic java.lang.String GetAttribute(java.lang.String name)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionpublic java.lang.String GetAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionpublic XmlAttribute GetAttributeNode(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
public XmlAttribute GetAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
public XmlNodeList GetElementsByTagName(java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionMulticastNotSupportedExceptionpublic XmlNodeList GetElementsByTagName(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionMulticastNotSupportedExceptionpublic boolean getHasAttributes()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XmlLinkedNodeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XmlLinkedNodeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XmlLinkedNodeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XmlLinkedNodeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class XmlLinkedNodeJCType representing the CLR Type of the instantiated Classpublic boolean HasAttribute(java.lang.String name)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionpublic boolean HasAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionpublic void RemoveAll()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
RemoveAll in class XmlNodejava.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic void RemoveAllAttributes()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionInvalidOperationExceptionpublic void RemoveAttribute(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic void RemoveAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
public XmlNode RemoveAttributeAt(int i) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic XmlAttribute RemoveAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
public XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException
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
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
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
public XmlAttribute SetAttributeNode(XmlAttribute newAttr) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public void setIsEmpty(boolean IsEmpty)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class XmlLinkedNodepublic void WriteContentTo(XmlWriter w) throws java.lang.Throwable
WriteContentTo in class XmlNodejava.lang.Throwablepublic void WriteTo(XmlWriter w) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
WriteTo in class XmlNodejava.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeException