Package system.configuration
Class ConfigXmlDocument
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.xml.XmlNode
-
- system.xml.XmlDocument
-
- system.configuration.ConfigXmlDocument
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>,IEnumerable,IJCOBridgeReflected
public class ConfigXmlDocument extends XmlDocument
The base .NET class managing System.Configuration.ConfigXmlDocument, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Configuration.ConfigXmlDocument
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: Systemstatic java.lang.StringclassNameQualified class name: System.Configuration.ConfigXmlDocumentstatic JCTypeclassTypeThe type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description ConfigXmlDocument()ConfigXmlDocument(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigXmlDocumentcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoConfigXmlDocument, a cast assert is made to check if types are compatible.XmlAttributeCreateAttribute(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceUri)XmlCDataSectionCreateCDataSection(java.lang.String data)XmlCommentCreateComment(java.lang.String data)XmlElementCreateElement(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceUri)XmlSignificantWhitespaceCreateSignificantWhitespace(java.lang.String data)XmlTextCreateTextNode(java.lang.String text)XmlWhitespaceCreateWhitespace(java.lang.String data)java.lang.StringgetFilename()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 TypeintgetLineNumber()voidLoad(java.lang.String filename)voidLoadSingleElement(java.lang.String filename, XmlTextReader sourceReader)voidsetJCOInstance(JCObject instance)-
Methods inherited from class system.xml.XmlDocument
addNodeChanged, addNodeChanging, addNodeInserted, addNodeInserting, addNodeRemoved, addNodeRemoving, CloneNode, CreateAttribute, CreateAttribute, CreateDocumentFragment, CreateDocumentType, CreateElement, CreateElement, CreateEntityReference, CreateNavigator, CreateNode, CreateNode, CreateNode, CreateProcessingInstruction, CreateXmlDeclaration, getDocumentElement, getDocumentType, GetElementById, GetElementsByTagName, GetElementsByTagName, getImplementation, getNameTable, getPreserveWhitespace, getSchemas, ImportNode, Load, Load, Load, LoadXml, ReadNode, removeNodeChanged, removeNodeChanging, removeNodeInserted, removeNodeInserting, removeNodeRemoved, removeNodeRemoving, Save, Save, Save, Save, setPreserveWhitespace, setSchemas, setXmlResolver, Validate, Validate, WriteContentTo, WriteTo
-
Methods inherited from class system.xml.XmlNode
AppendChild, Clone, getAttributes, getBaseURI, getChildNodes, getFirstChild, getHasChildNodes, getInnerText, getInnerXml, getIsReadOnly, getLastChild, getLocalName, getName, GetNamespaceOfPrefix, getNamespaceURI, getNextSibling, getNodeType, getOuterXml, getOwnerDocument, getParentNode, getPrefix, GetPrefixOfNamespace, getPreviousSibling, getPreviousText, getSchemaInfo, getValue, InsertAfter, InsertBefore, Normalize, PrependChild, RemoveAll, RemoveChild, ReplaceChild, SelectNodes, SelectNodes, SelectSingleNode, SelectSingleNode, setInnerText, setInnerXml, setPrefix, setValue, Supports
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System, 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- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Configuration.ConfigXmlDocument- 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 classXmlDocument- 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 classXmlDocument- 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 classXmlDocument- 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 classXmlDocument- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classXmlDocument
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classXmlDocument- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ConfigXmlDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoConfigXmlDocument, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ConfigXmlDocumentinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CreateAttribute
public XmlAttribute CreateAttribute(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceUri) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, XmlException
- Overrides:
CreateAttributein classXmlDocument- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionXmlException
-
CreateCDataSection
public XmlCDataSection CreateCDataSection(java.lang.String data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
CreateCDataSectionin classXmlDocument- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
CreateComment
public XmlComment CreateComment(java.lang.String data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
CreateCommentin classXmlDocument- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
CreateElement
public XmlElement CreateElement(java.lang.String prefix, java.lang.String localName, java.lang.String namespaceUri) throws java.lang.Throwable, NullReferenceException, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XmlException
- Overrides:
CreateElementin classXmlDocument- Throws:
java.lang.ThrowableNullReferenceExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionXmlException
-
CreateSignificantWhitespace
public XmlSignificantWhitespace CreateSignificantWhitespace(java.lang.String data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException
- Overrides:
CreateSignificantWhitespacein classXmlDocument- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeException
-
CreateTextNode
public XmlText CreateTextNode(java.lang.String text) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
- Overrides:
CreateTextNodein classXmlDocument- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationException
-
CreateWhitespace
public XmlWhitespace CreateWhitespace(java.lang.String data) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException
- Overrides:
CreateWhitespacein classXmlDocument- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeException
-
Load
public void Load(java.lang.String filename) throws java.lang.Throwable, ArgumentException, InvalidOperationException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentOutOfRangeException, SecurityException, UnauthorizedAccessException, IOException, CultureNotFoundException, MissingManifestResourceException, UriFormatException, PathTooLongException, OutOfMemoryException, XmlSchemaException, XmlException, NullReferenceException- Overrides:
Loadin classXmlDocument- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionArgumentNullExceptionArgumentOutOfRangeExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionCultureNotFoundExceptionMissingManifestResourceExceptionUriFormatExceptionPathTooLongExceptionOutOfMemoryExceptionXmlSchemaExceptionXmlExceptionNullReferenceException
-
LoadSingleElement
public void LoadSingleElement(java.lang.String filename, XmlTextReader sourceReader) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, ObjectDisposedException, MissingManifestResourceException, InvalidOperationException, XmlException, SecurityException, UnauthorizedAccessException, IOException, XmlSchemaException, NullReferenceException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionNotSupportedExceptionIndexOutOfRangeExceptionObjectDisposedExceptionMissingManifestResourceExceptionInvalidOperationExceptionXmlExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionXmlSchemaExceptionNullReferenceException
-
getLineNumber
public int getLineNumber() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFilename
public java.lang.String getFilename() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, PathTooLongException, ArgumentOutOfRangeException, IndexOutOfRangeException, NotSupportedException
-
-