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.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.StringassemblyFullNameFully assembly qualified name: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Xmlstatic java.lang.StringclassNameQualified class name: System.Xml.XmlElementstatic JCTypeclassTypeThe 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 XmlElementcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXmlElement, a cast assert is made to check if types are compatible.XmlNodeCloneNode(boolean deep)java.lang.StringGetAttribute(java.lang.String name)java.lang.StringGetAttribute(java.lang.String localName, java.lang.String namespaceURI)XmlAttributeGetAttributeNode(java.lang.String name)XmlAttributeGetAttributeNode(java.lang.String localName, java.lang.String namespaceURI)XmlNodeListGetElementsByTagName(java.lang.String name)XmlNodeListGetElementsByTagName(java.lang.String localName, java.lang.String namespaceURI)booleangetHasAttributes()booleangetIsEmpty()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypebooleanHasAttribute(java.lang.String name)booleanHasAttribute(java.lang.String localName, java.lang.String namespaceURI)voidRemoveAll()voidRemoveAllAttributes()voidRemoveAttribute(java.lang.String name)voidRemoveAttribute(java.lang.String localName, java.lang.String namespaceURI)XmlNodeRemoveAttributeAt(int i)XmlAttributeRemoveAttributeNode(java.lang.String localName, java.lang.String namespaceURI)XmlAttributeRemoveAttributeNode(XmlAttribute oldAttr)voidSetAttribute(java.lang.String name, java.lang.String value)java.lang.StringSetAttribute(java.lang.String localName, java.lang.String namespaceURI, java.lang.String value)XmlAttributeSetAttributeNode(java.lang.String localName, java.lang.String namespaceURI)XmlAttributeSetAttributeNode(XmlAttribute newAttr)voidsetIsEmpty(boolean IsEmpty)voidsetJCOInstance(JCObject instance)voidWriteContentTo(XmlWriter w)voidWriteTo(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.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classXmlLinkedNode- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classXmlLinkedNode- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classXmlLinkedNode- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classXmlLinkedNode- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classXmlLinkedNode
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classXmlLinkedNode- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XmlElement cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXmlElement, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XmlElementinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
HasAttribute
public boolean HasAttribute(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
HasAttribute
public boolean HasAttribute(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
SetAttribute
public java.lang.String SetAttribute(java.lang.String localName, java.lang.String namespaceURI, java.lang.String value) throws java.lang.Throwable, ArgumentOutOfRangeException, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, RankException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionNullReferenceExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlExceptionRankException
-
GetAttributeNode
public XmlAttribute GetAttributeNode(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
GetAttributeNode
public XmlAttribute GetAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
RemoveAttributeNode
public XmlAttribute RemoveAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
RemoveAttributeNode
public XmlAttribute RemoveAttributeNode(XmlAttribute oldAttr) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
SetAttributeNode
public XmlAttribute SetAttributeNode(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, RankException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionNullReferenceExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlExceptionRankException
-
SetAttributeNode
public XmlAttribute SetAttributeNode(XmlAttribute newAttr) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
CloneNode
public XmlNode CloneNode(boolean deep) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, XmlException, RankException
- Overrides:
CloneNodein classXmlNode- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionXmlExceptionRankException
-
RemoveAttributeAt
public XmlNode RemoveAttributeAt(int i) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(java.lang.String name) throws java.lang.Throwable, ArgumentException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionMulticastNotSupportedException
-
GetElementsByTagName
public XmlNodeList GetElementsByTagName(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionMulticastNotSupportedException
-
RemoveAll
public void RemoveAll() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException- Overrides:
RemoveAllin classXmlNode- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
RemoveAllAttributes
public void RemoveAllAttributes() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException
-
RemoveAttribute
public void RemoveAttribute(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
RemoveAttribute
public void RemoveAttribute(java.lang.String localName, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException
-
SetAttribute
public void SetAttribute(java.lang.String name, java.lang.String value) throws java.lang.Throwable, ArgumentOutOfRangeException, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, XmlException, RankException
-
WriteContentTo
public void WriteContentTo(XmlWriter w) throws java.lang.Throwable
- Overrides:
WriteContentToin classXmlNode- Throws:
java.lang.Throwable
-
WriteTo
public void WriteTo(XmlWriter w) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
- Overrides:
WriteToin classXmlNode- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeException
-
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, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
-