Package system.xml.linq
Class XNode
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xml.linq.XObject
-
- system.xml.linq.XNode
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
XComment,XContainer,XDocumentType,XProcessingInstruction,XText
public class XNode extends XObject
The base .NET class managing System.Xml.Linq.XNode, System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- 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.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Xml.Linqstatic java.lang.StringclassNameQualified class name: System.Xml.Linq.XNodestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAddAfterSelf(NetObject content)voidAddAfterSelf(NetObject... content)voidAddBeforeSelf(NetObject content)voidAddBeforeSelf(NetObject... content)static XNodecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXNode, a cast assert is made to check if types are compatible.static intCompareDocumentOrder(XNode n1, XNode n2)XmlReaderCreateReader()XmlReaderCreateReader(ReaderOptions readerOptions)static booleanDeepEquals(XNode n1, XNode n2)static XNodeDocumentOrderComparergetDocumentOrderComparer()static XNodeEqualityComparergetEqualityComparer()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 TypeXNodegetNextNode()XNodegetPreviousNode()booleanIsAfter(XNode node)booleanIsBefore(XNode node)static XNodeReadFrom(XmlReader reader)voidRemove()voidReplaceWith(NetObject content)voidReplaceWith(NetObject... content)voidsetJCOInstance(JCObject instance)java.lang.StringToString(SaveOptions options)voidWriteTo(XmlWriter writer)-
Methods inherited from class system.xml.linq.XObject
AddAnnotation, Annotation, getBaseUri, getDocument, getNodeType, getParent, RemoveAnnotations
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Xml.Linq, 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.Linq- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xml.Linq.XNode- 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 classXObject- 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 classXObject- 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 classXObject- 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 classXObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classXObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classXObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XNode cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXNode, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XNodeinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
DeepEquals
public static boolean DeepEquals(XNode n1, XNode n2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IsAfter
public boolean IsAfter(XNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
IsBefore
public boolean IsBefore(XNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
CompareDocumentOrder
public static int CompareDocumentOrder(XNode n1, XNode n2) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
ToString
public java.lang.String ToString(SaveOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, XmlException, NotImplementedException, NotSupportedException, ArgumentException
-
ReadFrom
public static XNode ReadFrom(XmlReader reader) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowException
-
CreateReader
public XmlReader CreateReader() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException
- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationException
-
CreateReader
public XmlReader CreateReader(ReaderOptions readerOptions) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AddAfterSelf
public void AddAfterSelf(NetObject content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowException
-
AddAfterSelf
public void AddAfterSelf(NetObject... content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException
-
AddBeforeSelf
public void AddBeforeSelf(NetObject content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowException
-
AddBeforeSelf
public void AddBeforeSelf(NetObject... content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException
-
Remove
public void Remove() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
ReplaceWith
public void ReplaceWith(NetObject content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionOverflowException
-
ReplaceWith
public void ReplaceWith(NetObject... content) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException
-
WriteTo
public void WriteTo(XmlWriter writer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNextNode
public XNode getNextNode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPreviousNode
public XNode getPreviousNode() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDocumentOrderComparer
public static XNodeDocumentOrderComparer getDocumentOrderComparer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getEqualityComparer
public static XNodeEqualityComparer getEqualityComparer() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-