public Object bind(ContentObject co) throws BindingException { if (co.getAttributeValues() != null) { return bindAttributes(null, co.getAttributeValues()); } else { ComplexObjectBlock complexObj = co.getComplexObjectBlock(); return bindComplexBlock(complexObj); } }
/***************************************** * THE dADL LANGUAGE GRAMMAR STARTS HERE * *****************************************/ final public ContentObject input() throws ParseException { ContentObject obj; List < AttributeValue > attributeValues = null; ComplexObjectBlock complexObjectBlock = null; if (jj_2_1(2)) { attributeValues = attr_vals(); } else if (jj_2_2(2)) { complexObjectBlock = complex_object_block(); } else { jj_consume_token(-1); throw new ParseException(); } obj = new ContentObject(attributeValues, complexObjectBlock); {if (true) return obj;} throw new Error("Missing return statement in function"); }
/***************************************** * THE dADL LANGUAGE GRAMMAR STARTS HERE * *****************************************/ final public ContentObject input() throws ParseException { ContentObject obj; List < AttributeValue > attributeValues = null; ComplexObjectBlock complexObjectBlock = null; if (jj_2_1(2)) { attributeValues = attr_vals(); } else if (jj_2_2(2)) { complexObjectBlock = complex_object_block(); } else { jj_consume_token(-1); throw new ParseException(); } obj = new ContentObject(attributeValues, complexObjectBlock); {if (true) return obj;} throw new Error("Missing return statement in function"); }
public Object bind(ContentObject co) throws DADLBindingException, RMObjectBuildingException { if (co.getAttributeValues() != null) { return bindAttributes(null, co.getAttributeValues()); } else { ComplexObjectBlock complexObj = co.getComplexObjectBlock(); return bindComplexBlock(complexObj); } }
public Object bind(ContentObject co) throws DADLBindingException, RMObjectBuildingException { if (co.getAttributeValues() != null) { return bindAttributes(null, co.getAttributeValues()); } else { ComplexObjectBlock complexObj = co.getComplexObjectBlock(); return bindComplexBlock(complexObj); } }