| java.lang.Object com.xoetrope.builder.generic.XComponentMapping
XComponentMapping | public class XComponentMapping (Code) | | A mapping for converting the file type to a component type or a set of
component types
Copyright (c) Xoetrope Ltd., 2001-2008, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
|
XComponentMapping | public XComponentMapping(String tag)(Code) | | Creates a new instance of XComponentMapping
Parameters: tag - the file format tag used to identify the component type |
addComponentType | public void addComponentType(String typeStr, String name, int spans, boolean isMain)(Code) | | Add a XUI component types to be output when the mapped element is processed
Parameters: typeStr - the type of component to be instantiated Parameters: name - the name by which the component is referenced within the mapping Parameters: span - the number of components this component contains |
getAttributeMapping | public ArrayList getAttributeMapping()(Code) | | Get the attributes supported by this mapping
the attribute mappings |
getComponentTypes | public ArrayList getComponentTypes()(Code) | | Get the component types supported by this mapping
the list of types |
getMatchParams | public Object[] getMatchParams()(Code) | | Get the additional match parameters - if any
the parameters or null |
getTag | public String getTag()(Code) | | Get the mapping's tag
the tag |
getTypeName | public String getTypeName()(Code) | | Return the type associated with this mapping
the type name |
setMatchParams | public void setMatchParams(Object[] mp)(Code) | | Get the additional match parameters - if any
Parameters: mp - the new match parameters |
|
|