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.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.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.XmlNodestatic JCTypeclassTypeThe 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 XmlNodeAppendChild(XmlNode newChild)static XmlNodecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXmlNode, a cast assert is made to check if types are compatible.XmlNodeClone()XmlNodeCloneNode(boolean deep)XPathNavigatorCreateNavigator()XmlAttributeCollectiongetAttributes()java.lang.StringgetBaseURI()XmlNodeListgetChildNodes()XmlNodegetFirstChild()booleangetHasChildNodes()java.lang.StringgetInnerText()java.lang.StringgetInnerXml()booleangetIsReadOnly()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 TypeXmlNodegetLastChild()java.lang.StringgetLocalName()java.lang.StringgetName()java.lang.StringGetNamespaceOfPrefix(java.lang.String prefix)java.lang.StringgetNamespaceURI()XmlNodegetNextSibling()XmlNodeTypegetNodeType()java.lang.StringgetOuterXml()XmlDocumentgetOwnerDocument()XmlNodegetParentNode()java.lang.StringgetPrefix()java.lang.StringGetPrefixOfNamespace(java.lang.String namespaceURI)XmlNodegetPreviousSibling()XmlNodegetPreviousText()IXmlSchemaInfogetSchemaInfo()java.lang.StringgetValue()XmlNodeInsertAfter(XmlNode newChild, XmlNode refChild)XmlNodeInsertBefore(XmlNode newChild, XmlNode refChild)voidNormalize()XmlNodePrependChild(XmlNode newChild)voidRemoveAll()XmlNodeRemoveChild(XmlNode oldChild)XmlNodeReplaceChild(XmlNode newChild, XmlNode oldChild)XmlNodeListSelectNodes(java.lang.String xpath)XmlNodeListSelectNodes(java.lang.String xpath, XmlNamespaceManager nsmgr)XmlNodeSelectSingleNode(java.lang.String xpath)XmlNodeSelectSingleNode(java.lang.String xpath, XmlNamespaceManager nsmgr)voidsetInnerText(java.lang.String InnerText)voidsetInnerXml(java.lang.String InnerXml)voidsetJCOInstance(JCObject instance)voidsetPrefix(java.lang.String Prefix)voidsetValue(java.lang.String Value)booleanSupports(java.lang.String feature, java.lang.String version)voidWriteContentTo(XmlWriter w)voidWriteTo(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.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.XmlNode- 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 classNetObjectEnumerable- 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 classNetObjectEnumerable- 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 classNetObjectEnumerable- 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 classNetObjectEnumerable- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObjectEnumerable- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XmlNode cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXmlNode, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XmlNodeinstance- 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, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
-
GetNamespaceOfPrefix
public java.lang.String GetNamespaceOfPrefix(java.lang.String prefix) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
GetPrefixOfNamespace
public java.lang.String GetPrefixOfNamespace(java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
AppendChild
public XmlNode AppendChild(XmlNode newChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
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, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
InsertBefore
public XmlNode InsertBefore(XmlNode newChild, XmlNode refChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
PrependChild
public XmlNode PrependChild(XmlNode newChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
RemoveChild
public XmlNode RemoveChild(XmlNode oldChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
ReplaceChild
public XmlNode ReplaceChild(XmlNode newChild, XmlNode oldChild) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
SelectSingleNode
public XmlNode SelectSingleNode(java.lang.String xpath) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, IndexOutOfRangeException, XPathException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionXPathException
-
SelectSingleNode
public XmlNode SelectSingleNode(java.lang.String xpath, XmlNamespaceManager nsmgr) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, XPathException
-
SelectNodes
public XmlNodeList SelectNodes(java.lang.String xpath) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, XPathException
-
SelectNodes
public XmlNodeList SelectNodes(java.lang.String xpath, XmlNamespaceManager nsmgr) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, XPathException
-
CreateNavigator
public XPathNavigator CreateNavigator() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
-
Normalize
public void Normalize() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, InvalidOperationException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
RemoveAll
public void RemoveAll() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, 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, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionIndexOutOfRangeException
-
getInnerText
public java.lang.String getInnerText() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeException
-
setInnerText
public void setInnerText(java.lang.String InnerText) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getInnerXml
public java.lang.String getInnerXml() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException
-
setInnerXml
public void setInnerXml(java.lang.String InnerXml) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
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, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException
-
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, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatException
-
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
-
-