public class XmlElement extends XmlLinkedNode
.NET documentation at https://learn.microsoft.com/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=9.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)
Invokes the .NET member CloneNode.
|
java.lang.String |
GetAttribute(java.lang.String name)
Invokes the .NET member GetAttribute.
|
java.lang.String |
GetAttribute(java.lang.String localName,
java.lang.String namespaceURI)
Invokes the .NET member GetAttribute.
|
XmlAttribute |
GetAttributeNode(java.lang.String name)
Invokes the .NET member GetAttributeNode.
|
XmlAttribute |
GetAttributeNode(java.lang.String localName,
java.lang.String namespaceURI)
Invokes the .NET member GetAttributeNode.
|
XmlNodeList |
GetElementsByTagName(java.lang.String name)
Invokes the .NET member GetElementsByTagName.
|
XmlNodeList |
GetElementsByTagName(java.lang.String localName,
java.lang.String namespaceURI)
Invokes the .NET member GetElementsByTagName.
|
boolean |
getHasAttributes()
Gets the value of the .NET property HasAttributes.
|
boolean |
getIsEmpty()
Gets the value of the .NET property IsEmpty.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
HasAttribute(java.lang.String name)
Invokes the .NET member HasAttribute.
|
boolean |
HasAttribute(java.lang.String localName,
java.lang.String namespaceURI)
Invokes the .NET member HasAttribute.
|
void |
RemoveAll()
Invokes the .NET member RemoveAll.
|
void |
RemoveAllAttributes()
Invokes the .NET member RemoveAllAttributes.
|
void |
RemoveAttribute(java.lang.String name)
Invokes the .NET member RemoveAttribute.
|
void |
RemoveAttribute(java.lang.String localName,
java.lang.String namespaceURI)
Invokes the .NET member RemoveAttribute.
|
XmlNode |
RemoveAttributeAt(int i)
Invokes the .NET member RemoveAttributeAt.
|
XmlAttribute |
RemoveAttributeNode(java.lang.String localName,
java.lang.String namespaceURI)
Invokes the .NET member RemoveAttributeNode.
|
XmlAttribute |
RemoveAttributeNode(XmlAttribute oldAttr)
Invokes the .NET member RemoveAttributeNode.
|
void |
SetAttribute(java.lang.String name,
java.lang.String value)
Invokes the .NET member SetAttribute.
|
java.lang.String |
SetAttribute(java.lang.String localName,
java.lang.String namespaceURI,
java.lang.String value)
Invokes the .NET member SetAttribute.
|
XmlAttribute |
SetAttributeNode(java.lang.String localName,
java.lang.String namespaceURI)
Invokes the .NET member SetAttributeNode.
|
XmlAttribute |
SetAttributeNode(XmlAttribute newAttr)
Invokes the .NET member SetAttributeNode.
|
void |
setIsEmpty(boolean IsEmpty)
Sets the value of the .NET property IsEmpty.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
WriteContentTo(XmlWriter w)
Invokes the .NET member WriteContentTo.
|
void |
WriteTo(XmlWriter w)
Invokes the .NET member WriteTo.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic 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 XmlNodedeep - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itXmlException - if the .NET member raises itNotSupportedException - if the .NET member raises itRankException - if the .NET member raises itpublic java.lang.String GetAttribute(java.lang.String name)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic java.lang.String GetAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic XmlAttribute GetAttributeNode(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic XmlAttribute GetAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic XmlNodeList GetElementsByTagName(java.lang.String name) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, MulticastNotSupportedException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic XmlNodeList GetElementsByTagName(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, MulticastNotSupportedException
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic boolean getHasAttributes()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsEmpty()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XmlLinkedNodepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XmlLinkedNodepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XmlLinkedNodenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XmlLinkedNodepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class XmlLinkedNodepublic boolean HasAttribute(java.lang.String name)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic boolean HasAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void RemoveAll()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
RemoveAll in class XmlNodejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void RemoveAllAttributes()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void RemoveAttribute(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic void RemoveAttribute(java.lang.String localName,
java.lang.String namespaceURI)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic XmlNode RemoveAttributeAt(int i) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
i - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic XmlAttribute RemoveAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, ArgumentNullException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, InvalidCastException
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itpublic XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, FormatException
oldAttr - the argument of type XmlAttributejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itFormatException - if the .NET member raises itpublic void SetAttribute(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
ArgumentException,
FormatException,
InvalidOperationException,
XmlException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
name - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itXmlException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringvalue - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itXmlException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic 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
localName - the argument of type java.lang.StringnamespaceURI - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises itArgumentNullException - if the .NET member raises itXmlException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic XmlAttribute SetAttributeNode(XmlAttribute newAttr) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
newAttr - the argument of type XmlAttributejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setIsEmpty(boolean IsEmpty)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException
IsEmpty - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class XmlLinkedNodeinstance - the new underlying objectpublic void WriteContentTo(XmlWriter w) throws java.lang.Throwable
WriteContentTo in class XmlNodew - the argument of type XmlWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void WriteTo(XmlWriter w) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
WriteTo in class XmlNodew - the argument of type XmlWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises it