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.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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.StringassemblyFullNameFully assembly qualified name: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Xmlstatic java.lang.StringclassNameQualified class name: System.Xml.XmlNodeReaderstatic JCTypeclassTypeThe 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 XmlNodeReadercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXmlNodeReader, a cast assert is made to check if types are compatible.voidClose()java.lang.StringGetAttribute(int attributeIndex)java.lang.StringGetAttribute(java.lang.String name)java.lang.StringGetAttribute(java.lang.String name, java.lang.String namespaceURI)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 Typejava.lang.StringLookupNamespace(java.lang.String prefix)voidMoveToAttribute(int attributeIndex)booleanMoveToAttribute(java.lang.String name)booleanMoveToAttribute(java.lang.String name, java.lang.String namespaceURI)booleanMoveToElement()booleanMoveToFirstAttribute()booleanMoveToNextAttribute()booleanRead()booleanReadAttributeValue()intReadContentAsBase64(byte[] buffer, int index, int count)intReadContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2)intReadContentAsBinHex(byte[] buffer, int index, int count)intReadContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2)intReadElementContentAsBase64(byte[] buffer, int index, int count)intReadElementContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2)intReadElementContentAsBinHex(byte[] buffer, int index, int count)intReadElementContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2)java.lang.StringReadString()voidResolveEntity()voidsetJCOInstance(JCObject instance)voidSkip()-
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.Xml, 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.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.ThrowableInternal 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, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classXmlReader- 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 classXmlReader- 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 classXmlReader- 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 classXmlReader- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classXmlReader
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classXmlReader- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XmlNodeReader cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXmlNodeReader, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XmlNodeReaderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
MoveToAttribute
public boolean MoveToAttribute(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, XmlException- Overrides:
MoveToAttributein classXmlReader- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionXmlException
-
MoveToAttribute
public boolean MoveToAttribute(java.lang.String name, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, IndexOutOfRangeException, XmlException- Overrides:
MoveToAttributein classXmlReader- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionIndexOutOfRangeExceptionXmlException
-
MoveToElement
public boolean MoveToElement() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, XmlException- Overrides:
MoveToElementin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionXmlException
-
MoveToFirstAttribute
public boolean MoveToFirstAttribute() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException- Overrides:
MoveToFirstAttributein classXmlReader- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlException
-
MoveToNextAttribute
public boolean MoveToNextAttribute() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException- Overrides:
MoveToNextAttributein classXmlReader- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlException
-
Read
public boolean Read() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException- Overrides:
Readin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlException
-
ReadAttributeValue
public boolean ReadAttributeValue() throws java.lang.Throwable- Overrides:
ReadAttributeValuein classXmlReader- Throws:
java.lang.Throwable
-
ReadContentAsBase64
public int ReadContentAsBase64(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, NotSupportedException- Overrides:
ReadContentAsBase64in classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionNotSupportedException
-
ReadContentAsBase64
public int ReadContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, NotSupportedException
- Overrides:
ReadContentAsBase64in classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionNotSupportedException
-
ReadContentAsBinHex
public int ReadContentAsBinHex(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, NotSupportedException- Overrides:
ReadContentAsBinHexin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionNotSupportedException
-
ReadContentAsBinHex
public int ReadContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, NotSupportedException
- Overrides:
ReadContentAsBinHexin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionNotSupportedException
-
ReadElementContentAsBase64
public int ReadElementContentAsBase64(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, XmlException, NotSupportedException- Overrides:
ReadElementContentAsBase64in classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionXmlExceptionNotSupportedException
-
ReadElementContentAsBase64
public int ReadElementContentAsBase64(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, XmlException, NotSupportedException
- Overrides:
ReadElementContentAsBase64in classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionXmlExceptionNotSupportedException
-
ReadElementContentAsBinHex
public int ReadElementContentAsBinHex(byte[] buffer, int index, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, XmlException, NotSupportedException- Overrides:
ReadElementContentAsBinHexin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionXmlExceptionNotSupportedException
-
ReadElementContentAsBinHex
public int ReadElementContentAsBinHex(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException, XmlException, NotSupportedException
- Overrides:
ReadElementContentAsBinHexin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionFormatExceptionXmlExceptionNotSupportedException
-
GetAttribute
public java.lang.String GetAttribute(int attributeIndex) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException- Overrides:
GetAttributein classXmlReader- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
GetAttribute
public java.lang.String GetAttribute(java.lang.String name, java.lang.String namespaceURI) throws java.lang.Throwable, ArgumentOutOfRangeException- Overrides:
GetAttributein classXmlReader- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
LookupNamespace
public java.lang.String LookupNamespace(java.lang.String prefix) throws java.lang.Throwable, IndexOutOfRangeException, ArgumentOutOfRangeException- Overrides:
LookupNamespacein classXmlReader- Throws:
java.lang.ThrowableIndexOutOfRangeExceptionArgumentOutOfRangeException
-
ReadString
public java.lang.String ReadString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException- Overrides:
ReadStringin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedException
-
Close
public void Close() throws java.lang.Throwable
-
MoveToAttribute
public void MoveToAttribute(int attributeIndex) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException- Overrides:
MoveToAttributein classXmlReader- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionXmlException
-
ResolveEntity
public void ResolveEntity() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException- Overrides:
ResolveEntityin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedException
-
Skip
public void Skip() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, XmlException- Overrides:
Skipin classXmlReader- Throws:
java.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionXmlException
-
-