Package system.xml
Class XmlAttribute
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
public class XmlAttribute extends XmlNode
The base .NET class managing System.Xml.XmlAttribute, 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.XmlAttribute
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.XmlAttributestatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description XmlAttribute()
XmlAttribute(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlNode
AppendChild(XmlNode newChild)
static XmlAttribute
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlAttribute
, a cast assert is made to check if types are compatible.XmlNode
CloneNode(boolean deep)
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 TypeXmlElement
getOwnerElement()
boolean
getSpecified()
XmlNode
InsertAfter(XmlNode newChild, XmlNode refChild)
XmlNode
InsertBefore(XmlNode newChild, XmlNode refChild)
XmlNode
PrependChild(XmlNode newChild)
XmlNode
RemoveChild(XmlNode oldChild)
XmlNode
ReplaceChild(XmlNode newChild, XmlNode oldChild)
void
setJCOInstance(JCObject instance)
void
WriteContentTo(XmlWriter w)
void
WriteTo(XmlWriter w)
-
Methods inherited from class system.xml.XmlNode
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, Normalize, RemoveAll, 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.XmlAttribute- 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 classXmlNode
- 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 classXmlNode
- 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 classXmlNode
- 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 classXmlNode
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classXmlNode
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classXmlNode
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlAttribute cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlAttribute
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlAttribute
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
AppendChild
public XmlNode AppendChild(XmlNode newChild) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, InvalidCastException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
- Overrides:
AppendChild
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArrayTypeMismatchException
OutOfMemoryException
NotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
InvalidCastException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
-
CloneNode
public XmlNode CloneNode(boolean deep) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, FormatException, XmlException
- Overrides:
CloneNode
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
ArrayTypeMismatchException
FormatException
XmlException
-
InsertAfter
public XmlNode InsertAfter(XmlNode newChild, XmlNode refChild) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, InvalidCastException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
- Overrides:
InsertAfter
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArrayTypeMismatchException
OutOfMemoryException
NotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
InvalidCastException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
-
InsertBefore
public XmlNode InsertBefore(XmlNode newChild, XmlNode refChild) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, InvalidCastException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
- Overrides:
InsertBefore
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArrayTypeMismatchException
OutOfMemoryException
NotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
InvalidCastException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
-
PrependChild
public XmlNode PrependChild(XmlNode newChild) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, InvalidCastException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
- Overrides:
PrependChild
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArrayTypeMismatchException
OutOfMemoryException
NotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
InvalidCastException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
-
RemoveChild
public XmlNode RemoveChild(XmlNode oldChild) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, InvalidCastException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
- Overrides:
RemoveChild
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArrayTypeMismatchException
OutOfMemoryException
NotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
InvalidCastException
CultureNotFoundException
InvalidOperationException
ObjectDisposedException
-
ReplaceChild
public XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArrayTypeMismatchException, OutOfMemoryException, NotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, InvalidCastException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
- Overrides:
ReplaceChild
in classXmlNode
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArrayTypeMismatchException
OutOfMemoryException
NotSupportedException
IndexOutOfRangeException
RankException
ArgumentException
InvalidCastException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
-
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
-
getSpecified
public boolean getSpecified() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOwnerElement
public XmlElement getOwnerElement() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-