java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.sshtools.daemon.configuration.SshAPIConfiguration
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, com.sshtools.j2ssh.configuration.SshAPIConfiguration
- public class SshAPIConfiguration
- extends org.xml.sax.helpers.DefaultHandler
- implements com.sshtools.j2ssh.configuration.SshAPIConfiguration
- Version:
- $Revision: 1.12 $
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
defaultCipher
private java.lang.String defaultCipher
defaultMac
private java.lang.String defaultMac
defaultCompression
private java.lang.String defaultCompression
defaultPublicKey
private java.lang.String defaultPublicKey
defaultKeyExchange
private java.lang.String defaultKeyExchange
cipherExtensions
private java.util.List cipherExtensions
macExtensions
private java.util.List macExtensions
compressionExtensions
private java.util.List compressionExtensions
pkExtensions
private java.util.List pkExtensions
kexExtensions
private java.util.List kexExtensions
authExtensions
private java.util.List authExtensions
pkFormats
private java.util.List pkFormats
prvFormats
private java.util.List prvFormats
defaultPublicFormat
private java.lang.String defaultPublicFormat
defaultPrivateFormat
private java.lang.String defaultPrivateFormat
currentElement
private java.lang.String currentElement
parentElement
private java.lang.String parentElement
currentList
private java.util.List currentList
currentExt
private com.sshtools.j2ssh.configuration.ExtensionAlgorithm currentExt
SshAPIConfiguration
public SshAPIConfiguration(java.io.InputStream in)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
- Creates a new SshAPIConfiguration object.
reload
public void reload(java.io.InputStream in)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of character data inside an element.
By default, do nothing. Application writers may override this
method to take specific actions for each chunk of character data
(such as adding the data to a node or buffer, or printing it to
a file).
- Specified by:
characters in interface org.xml.sax.ContentHandler
endElement
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qname)
throws org.xml.sax.SAXException
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of the end of an element.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end of
each element (such as finalising a tree node or writing
output to a file).
- Specified by:
endElement in interface org.xml.sax.ContentHandler
startElement
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qname,
org.xml.sax.Attributes attrs)
throws org.xml.sax.SAXException
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of the start of an element.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each element (such as allocating a new tree node or writing
output to a file).
- Specified by:
startElement in interface org.xml.sax.ContentHandler
getCompressionExtensions
public java.util.List getCompressionExtensions()
- Specified by:
getCompressionExtensions in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getCipherExtensions
public java.util.List getCipherExtensions()
- Specified by:
getCipherExtensions in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getMacExtensions
public java.util.List getMacExtensions()
- Specified by:
getMacExtensions in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getAuthenticationExtensions
public java.util.List getAuthenticationExtensions()
- Specified by:
getAuthenticationExtensions in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getPublicKeyExtensions
public java.util.List getPublicKeyExtensions()
- Specified by:
getPublicKeyExtensions in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getKeyExchangeExtensions
public java.util.List getKeyExchangeExtensions()
- Specified by:
getKeyExchangeExtensions in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getDefaultCipher
public java.lang.String getDefaultCipher()
- Specified by:
getDefaultCipher in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getDefaultMac
public java.lang.String getDefaultMac()
- Specified by:
getDefaultMac in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getDefaultCompression
public java.lang.String getDefaultCompression()
- Specified by:
getDefaultCompression in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getDefaultPublicKey
public java.lang.String getDefaultPublicKey()
- Specified by:
getDefaultPublicKey in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getDefaultKeyExchange
public java.lang.String getDefaultKeyExchange()
- Specified by:
getDefaultKeyExchange in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getDefaultPublicKeyFormat
public java.lang.String getDefaultPublicKeyFormat()
- Specified by:
getDefaultPublicKeyFormat in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getDefaultPrivateKeyFormat
public java.lang.String getDefaultPrivateKeyFormat()
- Specified by:
getDefaultPrivateKeyFormat in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getPublicKeyFormats
public java.util.List getPublicKeyFormats()
- Specified by:
getPublicKeyFormats in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
getPrivateKeyFormats
public java.util.List getPrivateKeyFormats()
- Specified by:
getPrivateKeyFormats in interface com.sshtools.j2ssh.configuration.SshAPIConfiguration
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).