* Note that this is only necessary for new element types that are not
* already in the main document schema.
*/
@Override
public DocumentSchema getSchema() {
return new DefaultDocumentSchema() {
{
// Permit our doodad to appear inside a <body> element
addChildren("body", MyDoodad.TAGNAME);
// Permit a 'ref' attribute on the <mydoodad> element.