anon.util
Interface IXMLEncodable

All Known Subinterfaces:
ImmutableProxyInterface, IMyPrivateKey, IMyPublicKey
All Known Implementing Classes:
AbstractCascadeIDEntry, AbstractDistributableCertifiedDatabaseEntry, AbstractDistributableDatabaseEntry, AbstractDistributableDatabaseEntry.Serials, AbstractMarkedMessageIDDBEntry, AbstractPrivateKey, AbstractPublicKey, BlacklistedCascadeIDEntry, CascadeIDEntry, CertificateContainer, CertificateRevocationList, CertificateStore, CertPath, ClickedMessageIDDBEntry, Controller.ForcePremiumIfAccountAvailableAttribute, Database, DeletedMessageIDDBEntry, InfoServiceDBEntry, InfoServiceHolder, JAPCertificate, JAPMinVersion, JAPRoutingSettings, JAPVersionInfo, JavaVersionDBEntry, ListenerInterface, MessageDBEntry, MixCascade, MixCascadeExitAddresses, MixInfo, MultiCertPath, MyDSAPrivateKey, MyDSAPublicKey, MyECPrivateKey, MyECPublicKey, MyRSAPrivateKey, MyRSAPublicKey, NewCascadeIDEntry, Paragraph, PayAccount, PayAccountsFile, PaymentInstanceDBEntry, PerformanceEntry, PerformanceEntry.PerformanceAttributeFloatingTimeEntry, PerformanceInfo, PreviouslyKnownCascadeIDEntry, ProxyInterface, Section, ServiceSoftware, SignatureVerifier, StatusInfo, TermsAndConditions, TermsAndConditions.Translation, TermsAndConditionsRequest, TermsAndConditionsTemplate, TrustModel, TrustModel.AnonLevelAttribute, TrustModel.ContextAttribute, TrustModel.DataRetentionAttribute, TrustModel.DelayAttribute, TrustModel.InternationalAttribute, TrustModel.NumberOfMixesAttribute, TrustModel.OperatorBlacklistAttribute, TrustModel.PremiumAttribute, TrustModel.SocksAttribute, TrustModel.SpeedAttribute, TrustModel.TrustAttribute, TrustModel.UserDefinedAttribute, XMLAccountCertificate, XMLAccountInfo, XMLAiLoginConfirmation, XMLBalance, XMLBankAccount, XMLChallenge, XMLCloseAck, XMLDescription, XMLEasyCC, XMLEmail, XMLErrorMessage, XMLExternalChargeRequest, XMLGenericStrings, XMLGenericText, XMLJapPublicKey, XMLMixAccountBalance, XMLMixInfo, XMLPassivePayment, XMLPaymentOption, XMLPaymentOptions, XMLPaymentSettings, XMLPayRequest, XMLPriceCertificate, XMLPriceCertificateList, XMLResponse, XMLSignatureElement, XMLTransactionOverview, XMLTransCert, XMLTransferRequest, XMLVolumePlan, XMLVolumePlanPurchase, XMLVolumePlans

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_LANGUAGE
           
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

XML_ATTR_LANGUAGE

static final java.lang.String XML_ATTR_LANGUAGE
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