public class ServiceElementReader extends Object
Constructor and Description |
---|
ServiceElementReader() |
Modifier and Type | Method and Description |
---|---|
static ServiceInfo |
createServiceFrom(ServiceDocument doc)
This method binds a single-service xml document to a single ServiceInfo
object
|
protected static ServiceInfo |
createServiceFromElement(ServiceType serviceType) |
static List<ServiceInfo> |
createServiceListFrom(ServicesDocument doc)
This method binds a multi-service xml document to a list of ServiceInfo
objects
|
public static List<ServiceInfo> createServiceListFrom(ServicesDocument doc)
doc
- service-config xml documentpublic static ServiceInfo createServiceFrom(ServiceDocument doc)
doc
- service-config xml documentprotected static ServiceInfo createServiceFromElement(ServiceType serviceType)
Copyright © 2009-2013 DuraSpace. All Rights Reserved.