public class XNode extends XObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Linq.XNode
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.Linq, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.Xml.Linq
|
static java.lang.String |
className
Qualified class name: System.Xml.Linq.XNode
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XNode() |
XNode(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddAfterSelf(NetObject... content) |
void |
AddAfterSelf(NetObject content) |
void |
AddBeforeSelf(NetObject... content) |
void |
AddBeforeSelf(NetObject content) |
static XNode |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XNode, a cast assert is made to check if types are compatible. |
static int |
CompareDocumentOrder(XNode n1,
XNode n2) |
XmlReader |
CreateReader() |
XmlReader |
CreateReader(ReaderOptions readerOptions) |
static boolean |
DeepEquals(XNode n1,
XNode n2) |
static XNodeDocumentOrderComparer |
getDocumentOrderComparer() |
static XNodeEqualityComparer |
getEqualityComparer() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
XNode |
getNextNode() |
XNode |
getPreviousNode() |
boolean |
IsAfter(XNode node) |
boolean |
IsBefore(XNode node) |
static XNode |
ReadFrom(XmlReader reader) |
void |
Remove() |
void |
ReplaceWith(NetObject... content) |
void |
ReplaceWith(NetObject content) |
void |
setJCOInstance(JCObject instance) |
java.lang.String |
ToString(SaveOptions options) |
void |
WriteTo(XmlWriter writer) |
Task |
WriteToAsync(XmlWriter writer,
CancellationToken cancellationToken) |
AddAnnotation, Annotation, getBaseUri, getDocument, getNodeType, getParent, RemoveAnnotationspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XNode()
throws java.lang.Throwable
java.lang.Throwablepublic XNode(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddAfterSelf(NetObject... content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
public void AddAfterSelf(NetObject content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void AddBeforeSelf(NetObject... content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
public void AddBeforeSelf(NetObject content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public static XNode cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XNode, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXNode instancejava.lang.Throwable - in case of error during cast operationpublic static int CompareDocumentOrder(XNode n1, XNode n2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public XmlReader CreateReader() throws java.lang.Throwable, PlatformNotSupportedException
java.lang.ThrowablePlatformNotSupportedExceptionpublic XmlReader CreateReader(ReaderOptions readerOptions) throws java.lang.Throwable
java.lang.Throwablepublic static boolean DeepEquals(XNode n1, XNode n2) throws java.lang.Throwable
java.lang.Throwablepublic static XNodeDocumentOrderComparer getDocumentOrderComparer() throws java.lang.Throwable
java.lang.Throwablepublic static XNodeEqualityComparer getEqualityComparer() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class XObjectJCType representing the CLR Type of the instantiated Classpublic XNode getNextNode() throws java.lang.Throwable
java.lang.Throwablepublic XNode getPreviousNode() throws java.lang.Throwable
java.lang.Throwablepublic boolean IsAfter(XNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public boolean IsBefore(XNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
public static XNode ReadFrom(XmlReader reader) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, OverflowException
public void Remove()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException
public void ReplaceWith(NetObject... content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException
public void ReplaceWith(NetObject content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void setJCOInstance(JCObject instance)
setJCOInstance in class XObjectpublic java.lang.String ToString(SaveOptions options) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, InvalidOperationException
public void WriteTo(XmlWriter writer) throws java.lang.Throwable
java.lang.Throwablepublic Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) throws java.lang.Throwable
java.lang.Throwable