Package org.amykulyak.common.util

Examples of org.amykulyak.common.util.IllegalDataFormatException


  public static String getPropertyValue(Element elem) throws IllegalDataFormatException {
    assert (elem != null);

    if (!isPropertyElement(elem)) {
      throw new IllegalDataFormatException();
    }
    Node child = elem.getFirstChild();
    return (child != null) ? ((Text) child).getWholeText() : Strings.EMPTY_STRING;
  }
View Full Code Here

TOP

Related Classes of org.amykulyak.common.util.IllegalDataFormatException

Copyright © 2018 www.massapicom. 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.