protected void parseFunctionReference(I_CmsXmlContentLocation node) {

        String name = node.getSubValue(N_NAME).asString(m_cms);
        CmsUUID functionId = node.getSubValue(N_FUNCTION).asId(m_cms);
        CmsUUID functionDefaultPageId = null;
        I_CmsXmlContentValueLocation defaultPageValue = node.getSubValue(N_FUNCTION_DEFAULT_PAGE);
        if (defaultPageValue != null) {
            functionDefaultPageId = defaultPageValue.asId(m_cms);
        }
        I_CmsXmlContentValueLocation orderNode = node.getSubValue(N_ORDER);
        int order = I_CmsConfigurationObject.DEFAULT_ORDER;
        if (orderNode != null) {
            String orderStr = orderNode.asString(m_cms);
            try {
                order = Integer.parseInt(orderStr);
            } catch (NumberFormatException e) {
                // noop
            }
        }
        m_functionReferences.add(new CmsFunctionReference(name, functionId, functionDefaultPageId, order));
    }
protected void parseFunctionReference ( I_CmsXmlContentLocation node ) { String name = node . getSubValue ( N_NAME ) . asString ( m_cms ) ; CmsUUID functionId = node . getSubValue ( N_FUNCTION ) . asId ( m_cms ) ; CmsUUID functionDefaultPageId = null ; I_CmsXmlContentValueLocation defaultPageValue = node . getSubValue ( N_FUNCTION_DEFAULT_PAGE ) ; if ( defaultPageValue != null ) { functionDefaultPageId = defaultPageValue . asId ( m_cms ) ; } I_CmsXmlContentValueLocation orderNode = node . getSubValue ( N_ORDER ) ; int order = I_CmsConfigurationObject . DEFAULT_ORDER ; if ( orderNode != null ) { String orderStr = orderNode . asString ( m_cms ) ; try { order = Integer . parseInt ( orderStr ) ; } catch ( NumberFormatException e ) { } } m_functionReferences . add ( new CmsFunctionReference ( name , functionId , functionDefaultPageId , order ) ) ; }
Parses a function reference node.<p>

@param node the function reference node