fi.hut.tml.xsmiles.mlfc.encryption
Class EncryptionMLFC

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.MLFC
      extended byfi.hut.tml.xsmiles.mlfc.encryption.EncryptionMLFC
All Implemented Interfaces:
ResourceFetcher

public class EncryptionMLFC
extends MLFC

EncryptionMLFC is the XML Signature main function. It creates the elements and controls them. Namespace: http://www.xsmiles.org/2006/encryption

Author:
hguo, nps

Field Summary
static java.lang.String namespace
          the namespace that this MLFC processes
static java.lang.String XMLENC_ns
          the XML Encryption namespace
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.MLFC
contentHandler, controlsShown, title
 
Constructor Summary
EncryptionMLFC()
          Constructor.
 
Method Summary
 org.w3c.dom.Element createElementNS(org.apache.xerces.dom.DocumentImpl doc, java.lang.String ns, java.lang.String tag)
          Create a DOM element.
 java.lang.String getVersion()
          Get the version of the MLFC.
 void start()
          Start the MLFC.
 void stop()
          Stop the MLFC.
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.MLFC
commitUpdateTransaction, createAttributeNS, get, getContainer, getContentHandler, getLocalname, getMLFCController, getMLFCListener, getMLFCParameters, getResourceReferencer, getTitle, getXMLDocument, init, initMLFC, isHost, isPrimary, pause, rollbackUpdateTransaction, setContainer, setContentHandler, setHost, setMLFCListener, setMLFCParameters, setTitle, setXMLDocument, setZoom, startMLFC, startUpdateTransaction, stopMLFC
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespace

public static final java.lang.String namespace
the namespace that this MLFC processes

See Also:
Constant Field Values

XMLENC_ns

public static final java.lang.String XMLENC_ns
the XML Encryption namespace

See Also:
Constant Field Values
Constructor Detail

EncryptionMLFC

public EncryptionMLFC()
Constructor. Does nothing.

Method Detail

getVersion

public final java.lang.String getVersion()
Get the version of the MLFC. This version number is updated with the browser version number at compilation time. This version number indicates the browser version this MLFC was compiled with and should be run with.

Overrides:
getVersion in class MLFC
Returns:
MLFC version number.

createElementNS

public org.w3c.dom.Element createElementNS(org.apache.xerces.dom.DocumentImpl doc,
                                           java.lang.String ns,
                                           java.lang.String tag)
Create a DOM element.

Overrides:
createElementNS in class MLFC
Parameters:
doc - the document to which this element will belong
ns - the namespace of this element
tag - tge tag name of this element

start

public void start()
Start the MLFC.

Specified by:
start in class MLFC

stop

public void stop()
Stop the MLFC.

Specified by:
stop in class MLFC


X-Smiles 1.2