Package system.xml
Class XmlNode
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
- Direct Known Subclasses:
XmlAttribute
,XmlDocument
,XmlDocumentFragment
,XmlEntity
,XmlLinkedNode
,XmlNotation
public class XmlNode extends NetObjectEnumerable
The base .NET class managing System.Xml.XmlNode, 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.XmlNode
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.XmlNodestatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlNode
AppendChild(XmlNode newChild)
static XmlNode
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlNode
, a cast assert is made to check if types are compatible.XmlNode
Clone()
XmlNode
CloneNode(boolean deep)
XPathNavigator
CreateNavigator()
XmlAttributeCollection
getAttributes()
java.lang.String
getBaseURI()
XmlNodeList
getChildNodes()
XmlNode
getFirstChild()
boolean
getHasChildNodes()
java.lang.String
getInnerText()
java.lang.String
getInnerXml()
boolean
getIsReadOnly()
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 TypeXmlNode
getLastChild()
java.lang.String
getLocalName()
java.lang.String
getName()
java.lang.String
GetNamespaceOfPrefix(java.lang.String prefix)
java.lang.String
getNamespaceURI()
XmlNode
getNextSibling()
XmlNodeType
getNodeType()
java.lang.String
getOuterXml()
XmlDocument
getOwnerDocument()
XmlNode
getParentNode()
java.lang.String
getPrefix()
java.lang.String
GetPrefixOfNamespace(java.lang.String namespaceURI)
XmlNode
getPreviousSibling()
XmlNode
getPreviousText()
IXmlSchemaInfo
getSchemaInfo()
java.lang.String
getValue()
XmlNode
InsertAfter(XmlNode newChild, XmlNode refChild)
XmlNode
InsertBefore(XmlNode newChild, XmlNode refChild)
void
Normalize()
XmlNode
PrependChild(XmlNode newChild)
void
RemoveAll()
XmlNode
RemoveChild(XmlNode oldChild)
XmlNode
ReplaceChild(XmlNode newChild, XmlNode oldChild)
XmlNodeList
SelectNodes(java.lang.String xpath)
XmlNodeList
SelectNodes(java.lang.String xpath, XmlNamespaceManager nsmgr)
XmlNode
SelectSingleNode(java.lang.String xpath)
XmlNode
SelectSingleNode(java.lang.String xpath, XmlNamespaceManager nsmgr)
void
setInnerText(java.lang.String InnerText)
void
setInnerXml(java.lang.String InnerXml)
void
setJCOInstance(JCObject instance)
void
setPrefix(java.lang.String Prefix)
void
setValue(java.lang.String Value)
boolean
Supports(java.lang.String feature, java.lang.String version)
void
WriteContentTo(XmlWriter w)
void
WriteTo(XmlWriter w)
-
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.XmlNode- 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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObjectEnumerable
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlNode cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlNode
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlNode
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Supports
public boolean Supports(java.lang.String feature, java.lang.String version) throws java.lang.Throwable, NotSupportedException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
CultureNotFoundException
PlatformNotSupportedException
NullReferenceException
ArgumentNullException
InvalidOperationException
ArgumentOutOfRangeException
OutOfMemoryException
ExternalException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
-
GetNamespaceOfPrefix
public java.lang.String GetNamespaceOfPrefix(java.lang.String prefix) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
GetPrefixOfNamespace
public java.lang.String GetPrefixOfNamespace(java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
AppendChild
public XmlNode AppendChild(XmlNode newChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
Clone
public XmlNode Clone() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CloneNode
public XmlNode CloneNode(boolean deep) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
InsertAfter
public XmlNode InsertAfter(XmlNode newChild, XmlNode refChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
InsertBefore
public XmlNode InsertBefore(XmlNode newChild, XmlNode refChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
PrependChild
public XmlNode PrependChild(XmlNode newChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
RemoveChild
public XmlNode RemoveChild(XmlNode oldChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
ReplaceChild
public XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
SelectSingleNode
public XmlNode SelectSingleNode(java.lang.String xpath, XmlNamespaceManager nsmgr) throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, XPathException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
IndexOutOfRangeException
XPathException
-
SelectSingleNode
public XmlNode SelectSingleNode(java.lang.String xpath) throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, XPathException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
IndexOutOfRangeException
XPathException
-
SelectNodes
public XmlNodeList SelectNodes(java.lang.String xpath, XmlNamespaceManager nsmgr) throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, XPathException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
IndexOutOfRangeException
XPathException
-
SelectNodes
public XmlNodeList SelectNodes(java.lang.String xpath) throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, XPathException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
IndexOutOfRangeException
XPathException
-
CreateNavigator
public XPathNavigator CreateNavigator() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
IndexOutOfRangeException
-
Normalize
public void Normalize() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, ArgumentNullException, IndexOutOfRangeException, RankException, InvalidCastException, InvalidOperationException
-
RemoveAll
public void RemoveAll() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
WriteContentTo
public void WriteContentTo(XmlWriter w) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
WriteTo
public void WriteTo(XmlWriter w) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getHasChildNodes
public boolean getHasChildNodes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsReadOnly
public boolean getIsReadOnly() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBaseURI
public java.lang.String getBaseURI() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, ArgumentException, InvalidOperationException, ArgumentNullException
-
getInnerText
public java.lang.String getInnerText() throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, ArgumentNullException, IndexOutOfRangeException, RankException, InvalidCastException
-
setInnerText
public void setInnerText(java.lang.String InnerText) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException
-
getInnerXml
public java.lang.String getInnerXml() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
-
setInnerXml
public void setInnerXml(java.lang.String InnerXml) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getLocalName
public java.lang.String getLocalName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getName
public java.lang.String getName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNamespaceURI
public java.lang.String getNamespaceURI() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOuterXml
public java.lang.String getOuterXml() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException
- Throws:
java.lang.Throwable
NotSupportedException
ArgumentException
ArgumentNullException
-
getPrefix
public java.lang.String getPrefix() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPrefix
public void setPrefix(java.lang.String Prefix) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValue
public java.lang.String getValue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValue
public void setValue(java.lang.String Value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
-
getSchemaInfo
public IXmlSchemaInfo getSchemaInfo() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAttributes
public XmlAttributeCollection getAttributes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getOwnerDocument
public XmlDocument getOwnerDocument() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFirstChild
public XmlNode getFirstChild() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLastChild
public XmlNode getLastChild() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNextSibling
public XmlNode getNextSibling() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParentNode
public XmlNode getParentNode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPreviousSibling
public XmlNode getPreviousSibling() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPreviousText
public XmlNode getPreviousText() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getChildNodes
public XmlNodeList getChildNodes() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNodeType
public XmlNodeType getNodeType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-