public class XDocument extends XContainer
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.Linq.XDocument
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.XDocument
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XDocument() |
XDocument(NetObject... content) |
XDocument(java.lang.Object instance)
Internal constructor.
|
XDocument(XDeclaration declaration,
NetObject... content) |
XDocument(XDocument other) |
| Modifier and Type | Method and Description |
|---|---|
static XDocument |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XDocument, a cast assert is made to check if types are compatible. |
XDeclaration |
getDeclaration() |
XDocumentType |
getDocumentType() |
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
|
XElement |
getRoot() |
static XDocument |
Load(Stream stream) |
static XDocument |
Load(Stream stream,
LoadOptions options) |
static XDocument |
Load(java.lang.String uri) |
static XDocument |
Load(java.lang.String uri,
LoadOptions options) |
static XDocument |
Load(TextReader textReader) |
static XDocument |
Load(TextReader textReader,
LoadOptions options) |
static XDocument |
Load(XmlReader reader) |
static XDocument |
Load(XmlReader reader,
LoadOptions options) |
static XDocument |
Parse(java.lang.String text) |
static XDocument |
Parse(java.lang.String text,
LoadOptions options) |
void |
Save(Stream stream) |
void |
Save(Stream stream,
SaveOptions options) |
void |
Save(java.lang.String fileName) |
void |
Save(java.lang.String fileName,
SaveOptions options) |
void |
Save(TextWriter textWriter) |
void |
Save(TextWriter textWriter,
SaveOptions options) |
void |
Save(XmlWriter writer) |
void |
setDeclaration(XDeclaration Declaration) |
void |
setJCOInstance(JCObject instance) |
void |
WriteTo(XmlWriter writer) |
Add, Add, AddFirst, AddFirst, CreateWriter, Element, getFirstNode, getLastNode, RemoveNodes, ReplaceNodes, ReplaceNodesAddAfterSelf, AddAfterSelf, AddBeforeSelf, AddBeforeSelf, CompareDocumentOrder, CreateReader, CreateReader, DeepEquals, getDocumentOrderComparer, getEqualityComparer, getNextNode, getPreviousNode, IsAfter, IsBefore, ReadFrom, Remove, ReplaceWith, ReplaceWith, ToStringAddAnnotation, 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 XDocument()
throws java.lang.Throwable
java.lang.Throwablepublic XDocument(NetObject... content) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, OverflowException
public XDocument(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic XDocument(XDeclaration declaration, NetObject... content) throws java.lang.Throwable, ArgumentNullException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException
public XDocument(XDocument other) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static XDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XDocument, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXDocument instancejava.lang.Throwable - in case of error during cast operationpublic XDeclaration getDeclaration() throws java.lang.Throwable
java.lang.Throwablepublic XDocumentType getDocumentType() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XContainerString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XContainerString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XContainerObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XContainerString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class XContainerJCType representing the CLR Type of the instantiated Classpublic XElement getRoot() throws java.lang.Throwable
java.lang.Throwablepublic static XDocument Load(Stream stream) throws java.lang.Throwable, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ArgumentException, FormatException, OverflowException, CultureNotFoundException
java.lang.ThrowableInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionFormatExceptionOverflowExceptionCultureNotFoundExceptionpublic static XDocument Load(Stream stream, LoadOptions options) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, FormatException, XmlSchemaException, OverflowException, CultureNotFoundException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionXmlSchemaExceptionOverflowExceptionCultureNotFoundExceptionpublic static XDocument Load(java.lang.String uri) throws java.lang.Throwable, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, AggregateException, FormatException, OverflowException, CultureNotFoundException
java.lang.ThrowableInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionArgumentExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionAggregateExceptionFormatExceptionOverflowExceptionCultureNotFoundExceptionpublic static XDocument Load(java.lang.String uri, LoadOptions options) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, TaskSchedulerException, OperationCanceledException, AggregateException, FormatException, XmlSchemaException, OverflowException, CultureNotFoundException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionTaskSchedulerExceptionOperationCanceledExceptionAggregateExceptionFormatExceptionXmlSchemaExceptionOverflowExceptionCultureNotFoundExceptionpublic static XDocument Load(TextReader textReader) throws java.lang.Throwable, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, FormatException, ArgumentException, OverflowException, CultureNotFoundException
java.lang.ThrowableInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionOverflowExceptionCultureNotFoundExceptionpublic static XDocument Load(TextReader textReader, LoadOptions options) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, FormatException, XmlSchemaException, OverflowException, CultureNotFoundException
java.lang.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionXmlSchemaExceptionOverflowExceptionCultureNotFoundExceptionpublic static XDocument Load(XmlReader reader) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, NotSupportedException
public static XDocument Load(XmlReader reader, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, OverflowException, NotSupportedException
public static XDocument Parse(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, FormatException, ArgumentException, OverflowException, CultureNotFoundException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionArgumentExceptionOverflowExceptionCultureNotFoundExceptionpublic static XDocument Parse(java.lang.String text, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentException, ObjectDisposedException, SecurityException, UnauthorizedAccessException, IOException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, FormatException, XmlSchemaException, OverflowException, CultureNotFoundException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentExceptionObjectDisposedExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionXmlSchemaExceptionOverflowExceptionCultureNotFoundExceptionpublic void Save(Stream stream) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, XmlException, ObjectDisposedException, AbandonedMutexException, ArgumentException, NotSupportedException, NotImplementedException
public void Save(Stream stream, SaveOptions options) throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, XmlException, ObjectDisposedException, AbandonedMutexException, FormatException, ArgumentException, NotSupportedException, NotImplementedException
java.lang.ThrowableArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionXmlExceptionObjectDisposedExceptionAbandonedMutexExceptionFormatExceptionArgumentExceptionNotSupportedExceptionNotImplementedExceptionpublic void Save(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
MissingManifestResourceException,
XmlException,
ObjectDisposedException,
AbandonedMutexException,
ArgumentException,
NotSupportedException,
PathTooLongException,
CultureNotFoundException,
NullReferenceException,
SecurityException,
IOException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionXmlExceptionObjectDisposedExceptionAbandonedMutexExceptionArgumentExceptionNotSupportedExceptionPathTooLongExceptionCultureNotFoundExceptionNullReferenceExceptionSecurityExceptionIOExceptionpublic void Save(java.lang.String fileName,
SaveOptions options)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
XmlException,
ObjectDisposedException,
AbandonedMutexException,
FormatException,
ArgumentException,
NotSupportedException,
PathTooLongException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
DriveNotFoundException,
OperationCanceledException,
NullReferenceException,
SecurityException,
NotImplementedException
java.lang.ThrowableArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionXmlExceptionObjectDisposedExceptionAbandonedMutexExceptionFormatExceptionArgumentExceptionNotSupportedExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNullReferenceExceptionSecurityExceptionNotImplementedExceptionpublic void Save(TextWriter textWriter) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, XmlException, NotImplementedException, NotSupportedException, ArgumentException
public void Save(TextWriter textWriter, SaveOptions options) throws java.lang.Throwable, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, XmlException, NotImplementedException, NotSupportedException, ObjectDisposedException, ArgumentException
public void Save(XmlWriter writer) throws java.lang.Throwable
java.lang.Throwablepublic void setDeclaration(XDeclaration Declaration) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class XContainerpublic void WriteTo(XmlWriter writer) throws java.lang.Throwable, ArgumentNullException
WriteTo in class XNodejava.lang.ThrowableArgumentNullException