Package system.xml
Class XmlNodeReader
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xml.XmlReader
-
- system.xml.XmlNodeReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
public class XmlNodeReader extends XmlReader
The base .NET class managing System.Xml.XmlNodeReader, System.Private.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xml.XmlNodeReader
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.String
assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51static java.lang.String
assemblyShortName
Assembly name: System.Private.Xmlstatic java.lang.String
className
Qualified class name: System.Xml.XmlNodeReaderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlNodeReader()
XmlNodeReader(java.lang.Object instance)
Internal constructor.XmlNodeReader(XmlNode node)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmlNodeReader
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlNodeReader
, a cast assert is made to check if types are compatible.void
Close()
java.lang.String
GetAttribute(int attributeIndex)
java.lang.String
GetAttribute(java.lang.String name)
java.lang.String
GetAttribute(java.lang.String name, java.lang.String namespaceURI)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
LookupNamespace(java.lang.String prefix)
void
MoveToAttribute(int attributeIndex)
boolean
MoveToAttribute(java.lang.String name)
boolean
MoveToAttribute(java.lang.String name, java.lang.String namespaceURI)
boolean
MoveToElement()
boolean
MoveToFirstAttribute()
boolean
MoveToNextAttribute()
boolean
Read()
boolean
ReadAttributeValue()
int
ReadContentAsBase64(byte[] buffer, int index, int count)
int
ReadContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2)
int
ReadContentAsBinHex(byte[] buffer, int index, int count)
int
ReadContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2)
int
ReadElementContentAsBase64(byte[] buffer, int index, int count)
int
ReadElementContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2)
int
ReadElementContentAsBinHex(byte[] buffer, int index, int count)
int
ReadElementContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2)
java.lang.String
ReadString()
void
ResolveEntity()
void
setJCOInstance(JCObject instance)
void
Skip()
-
Methods inherited from class system.xml.XmlReader
close, Create, Create, Create, Create, Create, Create, Create, Create, Create, Create, Create, Create, Dispose, getAttributeCount, getBaseURI, getCanReadBinaryContent, getCanReadValueChunk, getCanResolveEntity, getDepth, getEOF, getHasAttributes, getHasValue, getIsDefault, getIsEmptyElement, getLocalName, getName, getNamespaceURI, getNameTable, getNodeType, getPrefix, getQuoteChar, getReadState, getSchemaInfo, getSettings, getValue, getValueType, getXmlLang, getXmlSpace, IsName, IsNameToken, IsStartElement, IsStartElement, IsStartElement, MoveToContent, ReadContentAs, ReadContentAsBoolean, ReadContentAsDateTime, ReadContentAsDateTimeOffset, ReadContentAsDecimal, ReadContentAsDouble, ReadContentAsFloat, ReadContentAsInt, ReadContentAsLong, ReadContentAsObject, ReadContentAsString, ReadElementContentAs, ReadElementContentAs, ReadElementContentAsBoolean, ReadElementContentAsBoolean, ReadElementContentAsDateTime, ReadElementContentAsDateTime, ReadElementContentAsDecimal, ReadElementContentAsDecimal, ReadElementContentAsDouble, ReadElementContentAsDouble, ReadElementContentAsFloat, ReadElementContentAsFloat, ReadElementContentAsInt, ReadElementContentAsInt, ReadElementContentAsLong, ReadElementContentAsLong, ReadElementContentAsObject, ReadElementContentAsObject, ReadElementContentAsString, ReadElementContentAsString, ReadElementString, ReadElementString, ReadElementString, ReadEndElement, ReadInnerXml, ReadOuterXml, ReadStartElement, ReadStartElement, ReadStartElement, ReadSubtree, ReadToDescendant, ReadToDescendant, ReadToFollowing, ReadToFollowing, ReadToNextSibling, ReadToNextSibling, ReadValueChunk, ReadValueChunk, SkipAsync
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.Xml- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xml.XmlNodeReader- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XmlNodeReader
public XmlNodeReader(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
XmlNodeReader
public XmlNodeReader() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
XmlNodeReader
public XmlNodeReader(XmlNode node) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classXmlReader
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classXmlReader
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classXmlReader
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classXmlReader
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classXmlReader
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classXmlReader
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlNodeReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlNodeReader
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlNodeReader
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
MoveToAttribute
public boolean MoveToAttribute(java.lang.String name, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, XmlException
- Overrides:
MoveToAttribute
in classXmlReader
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
XmlException
-
MoveToAttribute
public boolean MoveToAttribute(java.lang.String name) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, XmlException
- Overrides:
MoveToAttribute
in classXmlReader
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
ArgumentNullException
ArgumentException
CultureNotFoundException
ObjectDisposedException
InvalidOperationException
XmlException
-
MoveToElement
public boolean MoveToElement() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, XmlException
- Overrides:
MoveToElement
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
XmlException
-
MoveToFirstAttribute
public boolean MoveToFirstAttribute() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, XmlException
- Overrides:
MoveToFirstAttribute
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
FormatException
IndexOutOfRangeException
XmlException
-
MoveToNextAttribute
public boolean MoveToNextAttribute() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, XmlException
- Overrides:
MoveToNextAttribute
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
PlatformNotSupportedException
IndexOutOfRangeException
XmlException
-
Read
public boolean Read() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, XmlException
- Overrides:
Read
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
XmlException
-
ReadAttributeValue
public boolean ReadAttributeValue() throws java.lang.Throwable
- Overrides:
ReadAttributeValue
in classXmlReader
- Throws:
java.lang.Throwable
-
ReadContentAsBase64
public int ReadContentAsBase64(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException
- Overrides:
ReadContentAsBase64
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
-
ReadContentAsBase64
public int ReadContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException
- Overrides:
ReadContentAsBase64
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
-
ReadContentAsBinHex
public int ReadContentAsBinHex(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException
- Overrides:
ReadContentAsBinHex
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
-
ReadContentAsBinHex
public int ReadContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException
- Overrides:
ReadContentAsBinHex
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
-
ReadElementContentAsBase64
public int ReadElementContentAsBase64(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, XmlException
- Overrides:
ReadElementContentAsBase64
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
XmlException
-
ReadElementContentAsBase64
public int ReadElementContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, XmlException
- Overrides:
ReadElementContentAsBase64
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
XmlException
-
ReadElementContentAsBinHex
public int ReadElementContentAsBinHex(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, XmlException
- Overrides:
ReadElementContentAsBinHex
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
XmlException
-
ReadElementContentAsBinHex
public int ReadElementContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, OutOfMemoryException, XmlException
- Overrides:
ReadElementContentAsBinHex
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
OutOfMemoryException
XmlException
-
GetAttribute
public java.lang.String GetAttribute(int attributeIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException
- Overrides:
GetAttribute
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
IndexOutOfRangeException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String name, java.lang.String namespaceURI) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException
- Overrides:
GetAttribute
in classXmlReader
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String name) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException
- Overrides:
GetAttribute
in classXmlReader
- Throws:
java.lang.Throwable
PlatformNotSupportedException
ArgumentOutOfRangeException
-
LookupNamespace
public java.lang.String LookupNamespace(java.lang.String prefix) throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentOutOfRangeException
- Overrides:
LookupNamespace
in classXmlReader
- Throws:
java.lang.Throwable
PlatformNotSupportedException
NotSupportedException
OutOfMemoryException
InvalidOperationException
ArgumentOutOfRangeException
-
ReadString
public java.lang.String ReadString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
- Overrides:
ReadString
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
-
Close
public void Close() throws java.lang.Throwable
-
MoveToAttribute
public void MoveToAttribute(int attributeIndex) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, FormatException, IndexOutOfRangeException, XmlException
- Overrides:
MoveToAttribute
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
CultureNotFoundException
ObjectDisposedException
FormatException
IndexOutOfRangeException
XmlException
-
ResolveEntity
public void ResolveEntity() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
- Overrides:
ResolveEntity
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
CultureNotFoundException
ObjectDisposedException
-
Skip
public void Skip() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, XmlException
- Overrides:
Skip
in classXmlReader
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
XmlException
-
-