Altova XMLSpy 2024 Enterprise Edition

 

The objects described in this section (Application API for Java) are obsolete from v2012 onwards.

 

For information about how to access the Application API from Java code, see the section: Programming Languages | Java.

 

 

public class SpyDocuments

{

public void ReleaseInstance();  

public long Count();

public SpyDoc GetItem( long nNo );

public SpyDoc NewFile( String strFile, String strType );

public SpyDoc NewFileFromText( String nSource, String strType );

public SpyDoc OpenFile( String sPath, boolean bDialog );

public SpyDoc OpenURL( String sUrl, long nURLType, long nLoading, String sUser, String sPassword );

public SpyDoc OpenURLDialog(String sURL, long nURLType, long nLoading, String sUser, String sPassword );

// Since version 2011r2

public SpyDoc NewAuthenticFile( String strSPSPath, String strXMLPath );

public SpyDoc OpenAuthenticFile( String strSPSPath, String strXMLPath );

}

© 2017-2023 Altova GmbH