Package system.codedom.compiler
Class IndentedTextWriter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.io.TextWriter
-
- system.codedom.compiler.IndentedTextWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class IndentedTextWriter extends TextWriter
The base .NET class managing System.CodeDom.Compiler.IndentedTextWriter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.CodeDom.Compiler.IndentedTextWriter
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.CodeDom.Compiler.IndentedTextWriterstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description IndentedTextWriter()IndentedTextWriter(java.lang.Object instance)Internal constructor.IndentedTextWriter(TextWriter writer)IndentedTextWriter(TextWriter writer, java.lang.String tabString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IndentedTextWritercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoIndentedTextWriter, a cast assert is made to check if types are compatible.voidClose()voidFlush()intgetIndent()TextWritergetInnerWriter()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 TypevoidsetIndent(int Indent)voidsetJCOInstance(JCObject instance)voidWrite(boolean value)voidWrite(char value)voidWrite(char[] buffer)voidWrite(char[] buffer, int index, int count)voidWrite(double value)voidWrite(int value)voidWrite(long value)voidWrite(java.lang.String s)voidWrite(java.lang.String format, NetObject arg0)voidWrite(java.lang.String format, NetObject... arg)voidWrite(java.lang.String format, NetObject arg0, NetObject arg1)voidWrite(JCORefOut dupParam0)voidWrite(JCORefOut dupParam0, int dupParam1, int dupParam2)voidWrite(NetObject value)voidWrite(Single value)voidWriteLine()voidWriteLine(boolean value)voidWriteLine(char value)voidWriteLine(char[] buffer)voidWriteLine(char[] buffer, int index, int count)voidWriteLine(double value)voidWriteLine(int value)voidWriteLine(long value)voidWriteLine(java.lang.String s)voidWriteLine(java.lang.String format, NetObject arg0)voidWriteLine(java.lang.String format, NetObject... arg)voidWriteLine(java.lang.String format, NetObject arg0, NetObject arg1)voidWriteLine(JCORefOut dupParam0)voidWriteLine(JCORefOut dupParam0, int dupParam1, int dupParam2)voidWriteLine(NetObject value)voidWriteLine(Single value)voidWriteLine(UInt32 value)voidWriteLineNoTabs(java.lang.String s)-
Methods inherited from class system.io.TextWriter
close, Dispose, FlushAsync, getEncoding, getFormatProvider, getNewLine, setNewLine, Synchronized, Write, Write, Write, Write, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteAsync, WriteLine, WriteLine, WriteLine, WriteLineAsync, WriteLineAsync, WriteLineAsync, WriteLineAsync, WriteLineAsync, WriteLineAsync, WriteLineAsync
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
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.CodeDom.Compiler.IndentedTextWriter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndentedTextWriter
public IndentedTextWriter(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
IndentedTextWriter
public IndentedTextWriter() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
IndentedTextWriter
public IndentedTextWriter(TextWriter writer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
IndentedTextWriter
public IndentedTextWriter(TextWriter writer, java.lang.String tabString) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classTextWriter- 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 classTextWriter- 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 classTextWriter- 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 classTextWriter- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classTextWriter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classTextWriter- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static IndentedTextWriter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoIndentedTextWriter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
IndentedTextWriterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Close
public void Close() throws java.lang.Throwable, ArgumentNullException- Overrides:
Closein classTextWriter- Throws:
java.lang.ThrowableArgumentNullException
-
Flush
public void Flush() throws java.lang.Throwable- Overrides:
Flushin classTextWriter- Throws:
java.lang.Throwable
-
Write
public void Write(boolean value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Write
public void Write(char value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Write
public void Write(char[] buffer) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Write
public void Write(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Write
public void Write(char[] buffer, int index, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Write
public void Write(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Write
public void Write(double value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundException
-
Write
public void Write(int value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundException
-
Write
public void Write(long value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundException
-
Write
public void Write(Single value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundException
-
Write
public void Write(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundException
-
Write
public void Write(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
Write
public void Write(java.lang.String format, NetObject arg0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatException
-
Write
public void Write(java.lang.String format, NetObject arg0, NetObject arg1) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatException
-
Write
public void Write(java.lang.String format, NetObject... arg) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException- Overrides:
Writein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatException
-
WriteLine
public void WriteLine() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(boolean value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(char value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(char[] buffer) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(JCORefOut dupParam0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(char[] buffer, int index, int count) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(JCORefOut dupParam0, int dupParam1, int dupParam2) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException
- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(double value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundException
-
WriteLine
public void WriteLine(int value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundException
-
WriteLine
public void WriteLine(long value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundException
-
WriteLine
public void WriteLine(Single value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException
- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundException
-
WriteLine
public void WriteLine(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundException
-
WriteLine
public void WriteLine(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
WriteLine
public void WriteLine(java.lang.String format, NetObject arg0) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatException
-
WriteLine
public void WriteLine(java.lang.String format, NetObject arg0, NetObject arg1) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatException
-
WriteLine
public void WriteLine(java.lang.String format, NetObject... arg) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatException
-
WriteLine
public void WriteLine(UInt32 value) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException
- Overrides:
WriteLinein classTextWriter- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundException
-
WriteLineNoTabs
public void WriteLineNoTabs(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentException
-
getIndent
public int getIndent() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIndent
public void setIndent(int Indent) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getInnerWriter
public TextWriter getInnerWriter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-