Table of Contents

Class SimpleDoc

Namespace
Javax.Print
Assembly
MASES.JNet.dll
public class SimpleDoc : Doc, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IDoc
Inheritance
SimpleDoc
Implements
Inherited Members
Extension Methods

Constructors

SimpleDoc()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public SimpleDoc()

SimpleDoc(object, DocFlavor, DocAttributeSet)

public SimpleDoc(object arg0, DocFlavor arg1, DocAttributeSet arg2)

Parameters

arg0 object

object

arg1 DocFlavor

DocFlavor

arg2 DocAttributeSet

DocAttributeSet

SimpleDoc(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public SimpleDoc(params object[] args)

Parameters

args object[]

Properties

Attributes

public DocAttributeSet Attributes { get; }

Property Value

DocAttributeSet

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DocFlavor

public DocFlavor DocFlavor { get; }

Property Value

DocFlavor

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements Closeable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

PrintData

public object PrintData { get; }

Property Value

object

ReaderForText

public Reader ReaderForText { get; }

Property Value

Reader

StreamForBytes

public InputStream StreamForBytes { get; }

Property Value

InputStream