Package org.duracloud.storage.xml
Interface StorageAccountProviderBinding
-
- All Known Implementing Classes:
StorageAccountProviderSimpleBindingImpl
public interface StorageAccountProviderBindingThis interface defines the contract for Storage Account xml bindings.- Author:
- Andrew Woods Date: 5/9/11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageAccountgetAccountFromXml(org.jdom.Element xml)This method builds a StorageAccount object from the arg xml.org.jdom.ElementgetElementFrom(StorageAccount acct, boolean includeCredentials, boolean includeHiddenOptions)This method builds an xml element from the arg StorageAccount.
-
-
-
Method Detail
-
getAccountFromXml
StorageAccount getAccountFromXml(org.jdom.Element xml)
This method builds a StorageAccount object from the arg xml.- Parameters:
xml- serialization of StorageAccount- Returns:
- StorageAccount
- Throws:
Exception
-
getElementFrom
org.jdom.Element getElementFrom(StorageAccount acct, boolean includeCredentials, boolean includeHiddenOptions)
This method builds an xml element from the arg StorageAccount.- Parameters:
acct- from whence xml will be builtincludeCredentials- flag indicating inclusion of credentials in xmlincludeHiddenOptions- flag indicating inclusion of hidden options in xml- Returns:
- xml element
- Throws:
Exception
-
-