|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.duracloud.serviceconfig.xml.ServiceDocumentBinding
public class ServiceDocumentBinding
This class is a helper utility for binding single ServiceInfo objects to a single-service xml config document.
| Constructor Summary | |
|---|---|
ServiceDocumentBinding()
|
|
| Method Summary | |
|---|---|
static ServiceDocument |
createDocumentFrom(ServiceInfo serviceInfo)
This method serializes the arg ServiceInfo object into an xml document. |
static ServiceInfo |
createServiceFrom(java.io.InputStream xml)
This method binds a ServiceInfo object to the content of the arg xml. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceDocumentBinding()
| Method Detail |
|---|
public static ServiceInfo createServiceFrom(java.io.InputStream xml)
xml - single-service document to be bound to ServiceInfo object
public static ServiceDocument createDocumentFrom(ServiceInfo serviceInfo)
serviceInfo - ServiceInfo object to be serialized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||