com.ibm.ccd.ui.dataobjects.items
Class CatalogSpecParser
java.lang.Object
com.ibm.ccd.ui.dataobjects.items.CatalogSpecParser
- Direct Known Subclasses:
- CatalogItemParser
public class CatalogSpecParser
- extends java.lang.Object
Provides the capabailiy of creating the CatalogSpec object by parsing the WPC CatalogSpec. XML
Note: This comp. has to optimized for parsing.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMP_NAME
public static final java.lang.String COMP_NAME
- See Also:
- Constant Field Values
STRING_VALUE_TRUE
public static final java.lang.String STRING_VALUE_TRUE
- See Also:
- Constant Field Values
CatalogSpecParser
public CatalogSpecParser()
getCatalogSpecItem
public static ICatalogItem getCatalogSpecItem(org.w3c.dom.Element specElement)
- Creates and returns the CatalogItem representing the spec. by parsing the catalogSpecXML
getSpecAttributes
public static Attribute[] getSpecAttributes(org.w3c.dom.Element specElement)
isPrimaryKeyAttribute
protected static boolean isPrimaryKeyAttribute(org.w3c.dom.Element attributeElement)
setCategorySpecificAttribute
protected static void setCategorySpecificAttribute(Attribute[] attributes,
java.lang.String categorySpecAttrib)
getCatalogAttribs
protected static Attribute[] getCatalogAttribs(org.w3c.dom.Element catalogSpecElement)
getCatalogAttribs
protected static Attribute[] getCatalogAttribs(org.w3c.dom.Element catalogSpecElement,
java.lang.String attributeName)
getAttribute
protected static Attribute getAttribute(org.w3c.dom.Element attributeElement)
getFileUploadResource
protected static final FileUploadResource getFileUploadResource(org.w3c.dom.Element fileElement)
getStringEnum
protected static final java.lang.String[] getStringEnum(org.w3c.dom.Element enumElement)
getNumberEnum
protected static final double[] getNumberEnum(org.w3c.dom.Element enumElement)