private void parseDefaultContextPropagationElement ( XMLExtendedStreamReader reader , ModelNode subsystem ) throws XMLStreamException { processAttributes ( reader , ( index , attribute ) -> { final String value = reader . getAttributeValue ( index ) ; switch ( attribute ) { case ENABLED : if ( value == null || ( ! value . toLowerCase ( ) . equals ( "true" ) && ! value . toLowerCase ( ) . equals ( "false" ) ) ) { throw ParseUtils . invalidAttributeValue ( reader , index ) ; } DEFAULT_CONTEXT_PROPAGATION . parseAndSetParameter ( value , subsystem , reader ) ; break ; default : throw ParseUtils . unexpectedAttribute ( reader , index ) ; } } ) ; // Handle elements ParseUtils . requireNoContent ( reader ) ; }
Handle the enable - client - handler element .