public class XContainer extends XNode
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Xml.Linq.XContainer
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=9.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.XContainer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XContainer() |
XContainer(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Add(NetObject... content)
Invokes the .NET member Add.
|
void |
Add(NetObject content)
Invokes the .NET member Add.
|
void |
AddFirst(NetObject... content)
Invokes the .NET member AddFirst.
|
void |
AddFirst(NetObject content)
Invokes the .NET member AddFirst.
|
static XContainer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XContainer, a cast assert is made to check if types are compatible. |
XmlWriter |
CreateWriter()
Invokes the .NET member CreateWriter.
|
IEnumerable_1 |
DescendantNodes()
Invokes the .NET member DescendantNodes.
|
IEnumerable_1 |
Descendants()
Invokes the .NET member Descendants.
|
IEnumerable_1 |
Descendants(XName name)
Invokes the .NET member Descendants.
|
XElement |
Element(XName name)
Invokes the .NET member Element.
|
IEnumerable_1 |
Elements()
Invokes the .NET member Elements.
|
IEnumerable_1 |
Elements(XName name)
Invokes the .NET member Elements.
|
XNode |
getFirstNode()
Gets the value of the .NET property FirstNode.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
XNode |
getLastNode()
Gets the value of the .NET property LastNode.
|
IEnumerable_1 |
Nodes()
Invokes the .NET member Nodes.
|
void |
RemoveNodes()
Invokes the .NET member RemoveNodes.
|
void |
ReplaceNodes(NetObject... content)
Invokes the .NET member ReplaceNodes.
|
void |
ReplaceNodes(NetObject content)
Invokes the .NET member ReplaceNodes.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
AddAfterSelf, AddAfterSelf, AddBeforeSelf, AddBeforeSelf, Ancestors, Ancestors, CompareDocumentOrder, CreateReader, CreateReader, DeepEquals, ElementsAfterSelf, ElementsAfterSelf, ElementsBeforeSelf, ElementsBeforeSelf, getDocumentOrderComparer, getEqualityComparer, getNextNode, getPreviousNode, IsAfter, IsBefore, NodesAfterSelf, NodesBeforeSelf, ReadFrom, ReadFromAsync, Remove, ReplaceWith, ReplaceWith, ToString, WriteTo, WriteToAsyncAddAnnotation, Annotation, Annotations, Annotations, getBaseUri, getDocument, getNodeType, getParent, RemoveAnnotations, RemoveAnnotationspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XContainer()
throws java.lang.Throwable
java.lang.Throwablepublic XContainer(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void Add(NetObject... content) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, OverflowException, InvalidOperationException
content - the argument of type NetObject...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void Add(NetObject content) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, NotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, OverflowException, ObjectDisposedException, InvalidOperationException
content - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void AddFirst(NetObject... content) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, ArgumentException, InvalidOperationException
content - the argument of type NetObject...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void AddFirst(NetObject content) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException
content - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic static XContainer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XContainer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXContainer instancejava.lang.Throwable - in case of error during cast operationpublic XmlWriter CreateWriter() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, FormatException, XmlException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itXmlException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic IEnumerable_1 DescendantNodes() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 Descendants() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 Descendants(XName name) throws java.lang.Throwable
name - the argument of type XNamejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic XElement Element(XName name) throws java.lang.Throwable
name - the argument of type XNamejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 Elements() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IEnumerable_1 Elements(XName name) throws java.lang.Throwable
name - the argument of type XNamejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic XNode getFirstNode() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XNodepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XNodepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XNodenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XNodepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class XNodepublic XNode getLastNode() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic IEnumerable_1 Nodes() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void RemoveNodes()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void ReplaceNodes(NetObject... content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, PlatformNotSupportedException, CultureNotFoundException, InvalidOperationException, OutOfMemoryException, NotSupportedException
content - the argument of type NetObject...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void ReplaceNodes(NetObject content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, OutOfMemoryException, FormatException, OverflowException
content - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itFormatException - if the .NET member raises itOverflowException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class XNodeinstance - the new underlying object