// Path: core/src/main/java/com/steeleforge/aem/ironsites/wcm/WCMConstants.java
// public enum WCMConstants {
//     INSTANCE;
//     public static final String HTTP = "http";
//     public static final String HTTPS = "https";
//     public static final String PROTOCOL_RELATIVE = "//";
//     public static final String DELIMITER_QUERY = "?";
//     public static final String DELIMITER_FRAGMENT = "#";
//     public static final String DELIMITER_PORT = ":";
//     public static final String DELIMITER_PATH = "/";
//     public static final String DELIMITER_PATH_IDENTIFIER = "--";
//     public static final String DELIMITER_SUFFIX = DELIMITER_PATH;
//     public static final String DELIMITER_EXTENSION = ".";
//     public static final String DELIMITER_SELECTOR = DELIMITER_EXTENSION;
//     public static final String DELIMITER_COMMA = ",";
//     public static final String DELIMITER_COMMA_SPACED = ",";
//     public static final String DELIMITER_MULTIFIELD = "|";
//     public static final String PATH_FAVICON = "/favicon.ico";
//     public static final String HTML = "html";
//     public static final String HEADER_LOCATION = "Location";
// }


import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.StringUtils;
import com.steeleforge.aem.ironsites.wcm.WCMConstants;
package com.steeleforge.aem.ironsites.wcm.page.head;



/**
 * Page icons for <link/> tags
 * 
 * @author david
 */
public class Icon {
    // locals
    private String rel;
    private String sizes;
    private String href;
    private String type;
    
    // constructor
    public Icon(final String multifield) {
// Path: core/src/main/java/com/steeleforge/aem/ironsites/wcm/WCMConstants.java
// public enum WCMConstants {
//     INSTANCE;
//     public static final String HTTP = "http";
//     public static final String HTTPS = "https";
//     public static final String PROTOCOL_RELATIVE = "//";
//     public static final String DELIMITER_QUERY = "?";
//     public static final String DELIMITER_FRAGMENT = "#";
//     public static final String DELIMITER_PORT = ":";
//     public static final String DELIMITER_PATH = "/";
//     public static final String DELIMITER_PATH_IDENTIFIER = "--";
//     public static final String DELIMITER_SUFFIX = DELIMITER_PATH;
//     public static final String DELIMITER_EXTENSION = ".";
//     public static final String DELIMITER_SELECTOR = DELIMITER_EXTENSION;
//     public static final String DELIMITER_COMMA = ",";
//     public static final String DELIMITER_COMMA_SPACED = ",";
//     public static final String DELIMITER_MULTIFIELD = "|";
//     public static final String PATH_FAVICON = "/favicon.ico";
//     public static final String HTML = "html";
//     public static final String HEADER_LOCATION = "Location";
// }


// Path: core/src/main/java/com/steeleforge/aem/ironsites/wcm/page/head/Icon.java
import org.apache.commons.lang.ArrayUtils;
import org.apache.commons.lang.StringUtils;
import com.steeleforge.aem.ironsites.wcm.WCMConstants;

package com.steeleforge.aem.ironsites.wcm.page.head;



/**
 * Page icons for <link/> tags
 * 
 * @author david
 */
public class Icon {
    // locals
    private String rel;
    private String sizes;
    private String href;
    private String type;
    
    // constructor
    public Icon(final String multifield) {
        String[] fields = StringUtils.split(multifield, WCMConstants.DELIMITER_MULTIFIELD);