public class StorageAccountProviderSimpleBindingImpl extends Object implements StorageAccountProviderBinding
Constructor and Description |
---|
StorageAccountProviderSimpleBindingImpl() |
Modifier and Type | Method and Description |
---|---|
StorageAccount |
getAccountFromXml(org.jdom.Element xml)
This method builds a StorageAccount object from the arg xml.
|
protected String |
getAccountId(org.jdom.Element xml) |
protected Credential |
getCredential(org.jdom.Element xml) |
org.jdom.Element |
getElementFrom(StorageAccount acct,
boolean includeCredentials,
boolean includeOptions)
This method builds an xml element from the arg StorageAccount.
|
protected boolean |
getIsPrimary(org.jdom.Element xml) |
protected StorageProviderType |
getStorageProviderType(org.jdom.Element xml) |
public StorageAccountProviderSimpleBindingImpl()
public StorageAccount getAccountFromXml(org.jdom.Element xml)
StorageAccountProviderBinding
getAccountFromXml
in interface StorageAccountProviderBinding
xml
- serialization of StorageAccountprotected StorageProviderType getStorageProviderType(org.jdom.Element xml)
protected String getAccountId(org.jdom.Element xml)
protected boolean getIsPrimary(org.jdom.Element xml)
protected Credential getCredential(org.jdom.Element xml)
public org.jdom.Element getElementFrom(StorageAccount acct, boolean includeCredentials, boolean includeOptions)
StorageAccountProviderBinding
getElementFrom
in interface StorageAccountProviderBinding
acct
- from whence xml will be builtincludeCredentials
- flag indicating inclusion of credentials in xmlCopyright © 2009–2014 DuraSpace. All rights reserved.