public class XContainer extends XNode
.NET documentation at https://docs.microsoft.com/en-us/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.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.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) |
void |
Add(NetObject content) |
void |
AddFirst(NetObject... content) |
void |
AddFirst(NetObject content) |
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() |
XElement |
Element(XName name) |
XNode |
getFirstNode() |
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 |
getLastNode() |
void |
RemoveNodes() |
void |
ReplaceNodes(NetObject... content) |
void |
ReplaceNodes(NetObject content) |
void |
setJCOInstance(JCObject instance) |
AddAfterSelf, AddAfterSelf, AddBeforeSelf, AddBeforeSelf, CompareDocumentOrder, CreateReader, CreateReader, DeepEquals, getDocumentOrderComparer, getEqualityComparer, getNextNode, getPreviousNode, IsAfter, IsBefore, ReadFrom, Remove, ReplaceWith, ReplaceWith, ToString, WriteToAddAnnotation, 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 XContainer()
throws java.lang.Throwable
java.lang.Throwablepublic XContainer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void Add(NetObject... content) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException
public void Add(NetObject content) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, OverflowException
public void AddFirst(NetObject... content) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public void AddFirst(NetObject content) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException
public 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, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, NotImplementedException, NotSupportedException
public XNode getFirstNode() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XNodeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XNodeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XNodeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XNodeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class XNodeJCType representing the CLR Type of the instantiated Classpublic XNode getLastNode() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void RemoveNodes()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void ReplaceNodes(NetObject... content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException
public void ReplaceNodes(NetObject content) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, OverflowException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOverflowExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class XNode