anon.util
Interface IXMLEncodable

All Known Subinterfaces:
ImmutableProxyInterface, IMyPrivateKey, IMyPublicKey
All Known Implementing Classes:
AbstractCascadeIDEntry, AbstractDistributableCertifiedDatabaseEntry, AbstractDistributableDatabaseEntry, AbstractDistributableDatabaseEntry.Serials, AbstractPrivateKey, AbstractPublicKey, BI, BlacklistedCascadeIDEntry, CascadeIDEntry, CertificateContainer, CertificateStore, CertPath, Database, DeletedMessageIDDBEntry, InfoServiceDBEntry, InfoServiceHolder, JAPCertificate, JAPMinVersion, JAPVersionInfo, JavaVersionDBEntry, ListenerInterface, MessageDBEntry, MixCascade, MixInfo, MyDSAPrivateKey, MyDSAPublicKey, MyRSAPrivateKey, MyRSAPublicKey, NewCascadeIDEntry, PayAccount, PayAccountsFile, PaymentInstanceDBEntry, PreviouslyKnownCascadeIDEntry, ProxyInterface, ServiceSoftware, SignatureVerifier, XMLAccountCertificate, XMLAccountInfo, XMLBalance, XMLChallenge, XMLCloseAck, XMLDescription, XMLEasyCC, XMLErrorMessage, XMLExternalChargeRequest, XMLJapPublicKey, XMLPassivePayment, XMLPaymentOption, XMLPaymentOptions, XMLPayRequest, XMLResponse, XMLSignature, XMLTransactionOverview, XMLTransCert

public interface IXMLEncodable

Objects of this type can be transformed into xml. Classes that implement this interface should also define one or two constants that give further description of about the constructed element. As they are static, these constants cannot be part of this interface, but they are presented here in commented form. PLEASE DO NOT DELETE THEM!

Author:
Wendolsky

Field Summary
static java.lang.String FIELD_XML_ELEMENT_CONTAINER_NAME
           
static java.lang.String FIELD_XML_ELEMENT_NAME
           
static java.lang.String XML_ATTR_ID
          The id attribute used for a lot of tags.
static java.lang.String XML_ATTR_VERSION
          The version attribute used for a lot of tags.
 
Method Summary
 org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
          Return an element that can be appended to the document.
 

Field Detail

XML_ATTR_VERSION

static final java.lang.String XML_ATTR_VERSION
The version attribute used for a lot of tags.

See Also:
Constant Field Values

XML_ATTR_ID

static final java.lang.String XML_ATTR_ID
The id attribute used for a lot of tags.

See Also:
Constant Field Values

FIELD_XML_ELEMENT_NAME

static final java.lang.String FIELD_XML_ELEMENT_NAME
See Also:
Constant Field Values

FIELD_XML_ELEMENT_CONTAINER_NAME

static final java.lang.String FIELD_XML_ELEMENT_CONTAINER_NAME
See Also:
Constant Field Values
Method Detail

toXmlElement

org.w3c.dom.Element toXmlElement(org.w3c.dom.Document a_doc)
Return an element that can be appended to the document. This Method must not change the document in any way!

Parameters:
a_doc - a document
Returns:
the interface as xml element