private void persistDecorator ( XMLExtendedStreamWriter writer , ModelNode model ) throws XMLStreamException { if ( shouldWriteDecoratorAndElements ( model ) ) { writer . writeStartElement ( decoratorElement ) ; persistChildren ( writer , model ) ; writer . writeEndElement ( ) ; } }
persist decorator and than continue to children without touching the model