home *** CD-ROM | disk | FTP | other *** search
- package XMLSpyInterface;
-
- public class SpyAuthenticView {
- public long m_nAuthenticViewPtr = 0L;
-
- public void ReleaseInstance() {
- this.IReleaseInstance(this.m_nAuthenticViewPtr);
- }
-
- public SpyApplication GetApplication() {
- SpyApplication var1 = null;
- long var2 = this.IGetApplication(this.m_nAuthenticViewPtr);
- if (var2 > 0L) {
- var1 = new SpyApplication();
- var1.m_nApplicationPtr = var2;
- }
-
- return var1;
- }
-
- public SpyDoc GetParent() {
- SpyDoc var1 = null;
- long var2 = this.IGetParent(this.m_nAuthenticViewPtr);
- if (var2 > 0L) {
- var1 = new SpyDoc();
- var1.m_nDocPtr = var2;
- }
-
- return var1;
- }
-
- public SpyAuthenticRange GetSelection() {
- SpyAuthenticRange var1 = null;
- long var2 = this.IGetSelection(this.m_nAuthenticViewPtr);
- if (var2 > 0L) {
- var1 = new SpyAuthenticRange();
- var1.m_nAuthenticRangePtr = var2;
- }
-
- return var1;
- }
-
- public void SetSelection(SpyAuthenticRange var1) {
- this.ISetSelection(var1.m_nAuthenticRangePtr, this.m_nAuthenticViewPtr);
- }
-
- public SpyAuthenticRange GetDocumentBegin() {
- SpyAuthenticRange var1 = null;
- long var2 = this.IGetDocumentBegin(this.m_nAuthenticViewPtr);
- if (var2 > 0L) {
- var1 = new SpyAuthenticRange();
- var1.m_nAuthenticRangePtr = var2;
- }
-
- return var1;
- }
-
- public SpyAuthenticRange GetDocumentEnd() {
- SpyAuthenticRange var1 = null;
- long var2 = this.IGetDocumentEnd(this.m_nAuthenticViewPtr);
- if (var2 > 0L) {
- var1 = new SpyAuthenticRange();
- var1.m_nAuthenticRangePtr = var2;
- }
-
- return var1;
- }
-
- public SpyAuthenticRange GetWholeDocument() {
- SpyAuthenticRange var1 = null;
- long var2 = this.IGetWholeDocument(this.m_nAuthenticViewPtr);
- if (var2 > 0L) {
- var1 = new SpyAuthenticRange();
- var1.m_nAuthenticRangePtr = var2;
- }
-
- return var1;
- }
-
- public long GetMarkupVisibility() {
- return this.IGetMarkupVisibility(this.m_nAuthenticViewPtr);
- }
-
- public void SetMarkupVisibility(long var1) {
- this.ISetMarkupVisibility(var1, this.m_nAuthenticViewPtr);
- }
-
- public SpyAuthenticRange Goto(long var1, long var3, long var5) {
- SpyAuthenticRange var7 = null;
- long var8 = this.IGoto(var1, var3, var5, this.m_nAuthenticViewPtr);
- if (var8 > 0L) {
- var7 = new SpyAuthenticRange();
- var7.m_nAuthenticRangePtr = var8;
- }
-
- return var7;
- }
-
- public void Print(boolean var1, boolean var2) {
- this.IPrint(var1, var2, this.m_nAuthenticViewPtr);
- }
-
- public boolean Undo() {
- return this.IUndo(this.m_nAuthenticViewPtr);
- }
-
- public boolean Redo() {
- return this.IRedo(this.m_nAuthenticViewPtr);
- }
-
- public void UpdateXMLInstanceEntities() {
- this.IUpdateXMLInstanceEntities(this.m_nAuthenticViewPtr);
- }
-
- private native long IGetApplication(long var1);
-
- private native long IGetParent(long var1);
-
- private native long IGetSelection(long var1);
-
- private native void ISetSelection(long var1, long var3);
-
- private native long IGetDocumentBegin(long var1);
-
- private native long IGetDocumentEnd(long var1);
-
- private native long IGetWholeDocument(long var1);
-
- private native long IGetMarkupVisibility(long var1);
-
- private native void ISetMarkupVisibility(long var1, long var3);
-
- private native long IGoto(long var1, long var3, long var5, long var7);
-
- private native void IPrint(boolean var1, boolean var2, long var3);
-
- private native boolean IUndo(long var1);
-
- private native boolean IRedo(long var1);
-
- private native void IUpdateXMLInstanceEntities(long var1);
-
- private native void IReleaseInstance(long var1);
-
- static {
- System.loadLibrary("XmlSpyLib");
- }
- }
-