Package edu.indiana.extreme.namespaces.x2004.x01.gFac

Examples of edu.indiana.extreme.namespaces.x2004.x01.gFac.ApplicationDescriptionType.validate()


    public static ApplicationDescriptionType parseAppeDesc(String appDescAsStr) throws XregistryException {
        try {
            ApplicationDescriptionType appDesc = ApplicationDescriptionDocument.Factory.parse(
                    new StringReader(appDescAsStr)).getApplicationDescription();
            appDesc.validate();
            return appDesc;
        } catch (XmlException e) {
            throw new XregistryException(e);
        } catch (IOException e) {
            throw new XregistryException(e);
View Full Code Here


    public static String parseHostDesc(String hostDescAsStr) throws XregistryException {
        try {
            HostDescriptionType hostDesc = HostDescriptionDocument.Factory.parse(
                    new StringReader(hostDescAsStr)).getHostDescription();
            hostDesc.validate();
            return hostDesc.getHostName();
        } catch (XmlException e) {
            throw new XregistryException(e);
        } catch (IOException e) {
            throw new XregistryException(e);
View Full Code Here

    public static ServiceMapType parseServiceDesc(String serviceDescAsStr)
            throws XregistryException {
        try {
            ServiceMapType serviceDesc = ServiceMapDocument.Factory.parse(
                    new StringReader(serviceDescAsStr)).getServiceMap();
            serviceDesc.validate();
            return serviceDesc;
        } catch (XmlException e) {
            throw new XregistryException(e);
        } catch (IOException e) {
            throw new XregistryException(e);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.