Table of Contents

Class HTMLDocument

Namespace
Javax.Swing.Text.Html
Assembly
MASES.JNet.dll
public class HTMLDocument : DefaultStyledDocument, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<AbstractDocument>
HTMLDocument
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AbstractDocument>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AbstractDocument>.IsAssignableFrom<T>()
JVMBridgeBase<AbstractDocument>.Execute<T>(params T[])
JVMBridgeBase<AbstractDocument>.DynBridgeClazz
JVMBridgeBase<AbstractDocument>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

HTMLDocument()

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

public HTMLDocument()

HTMLDocument(Content, StyleSheet)

public HTMLDocument(AbstractDocument.Content arg0, StyleSheet arg1)

Parameters

arg0 AbstractDocument.Content

AbstractDocument.Content

arg1 StyleSheet

StyleSheet

HTMLDocument(StyleSheet)

public HTMLDocument(StyleSheet arg0)

Parameters

arg0 StyleSheet

StyleSheet

HTMLDocument(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 HTMLDocument(params object[] args)

Parameters

args object[]

Properties

AdditionalComments

public static String AdditionalComments { get; }

Property Value

String

Base

public URL Base { get; set; }

Property Value

URL

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Parser

public HTMLEditorKit.Parser Parser { get; set; }

Property Value

HTMLEditorKit.Parser

PreservesUnknownTags

public bool PreservesUnknownTags { get; set; }

Property Value

bool

StyleSheet

public StyleSheet StyleSheet { get; }

Property Value

StyleSheet

TokenThreshold

public int TokenThreshold { get; set; }

Property Value

int

Methods

GetElement(String)

public Element GetElement(String arg0)

Parameters

arg0 String

String

Returns

Element

Element

GetElement(Element, object, object)

public Element GetElement(Element arg0, object arg1, object arg2)

Parameters

arg0 Element

Element

arg1 object

object

arg2 object

object

Returns

Element

Element

GetIterator(Tag)

public HTMLDocument.Iterator GetIterator(HTML.Tag arg0)

Parameters

arg0 HTML.Tag

HTML.Tag

Returns

HTMLDocument.Iterator

HTMLDocument.Iterator

GetReader(int)

public HTMLEditorKit.ParserCallback GetReader(int arg0)

Parameters

arg0 int

int

Returns

HTMLEditorKit.ParserCallback

HTMLEditorKit.ParserCallback

GetReader(int, int, int, Tag)

public HTMLEditorKit.ParserCallback GetReader(int arg0, int arg1, int arg2, HTML.Tag arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 HTML.Tag

HTML.Tag

Returns

HTMLEditorKit.ParserCallback

HTMLEditorKit.ParserCallback

InsertAfterEnd(Element, String)

public void InsertAfterEnd(Element arg0, String arg1)

Parameters

arg0 Element

Element

arg1 String

String

Exceptions

BadLocationException
IOException

InsertAfterStart(Element, String)

public void InsertAfterStart(Element arg0, String arg1)

Parameters

arg0 Element

Element

arg1 String

String

Exceptions

BadLocationException
IOException

InsertBeforeEnd(Element, String)

public void InsertBeforeEnd(Element arg0, String arg1)

Parameters

arg0 Element

Element

arg1 String

String

Exceptions

BadLocationException
IOException

InsertBeforeStart(Element, String)

public void InsertBeforeStart(Element arg0, String arg1)

Parameters

arg0 Element

Element

arg1 String

String

Exceptions

BadLocationException
IOException

ProcessHTMLFrameHyperlinkEvent(HTMLFrameHyperlinkEvent)

public void ProcessHTMLFrameHyperlinkEvent(HTMLFrameHyperlinkEvent arg0)

Parameters

arg0 HTMLFrameHyperlinkEvent

HTMLFrameHyperlinkEvent

SetInnerHTML(Element, String)

public void SetInnerHTML(Element arg0, String arg1)

Parameters

arg0 Element

Element

arg1 String

String

Exceptions

BadLocationException
IOException

SetOuterHTML(Element, String)

public void SetOuterHTML(Element arg0, String arg1)

Parameters

arg0 Element

Element

arg1 String

String

Exceptions

BadLocationException
IOException