private void parseXTSEnvironmentElement ( XMLExtendedStreamReader reader , ModelNode subsystem ) throws XMLStreamException { processAttributes ( reader , ( index , attribute ) -> { final String value = reader . getAttributeValue ( index ) ; switch ( attribute ) { case URL : ENVIRONMENT_URL . parseAndSetParameter ( value , subsystem , reader ) ; break ; default : throw ParseUtils . unexpectedAttribute ( reader , index ) ; } } ) ; // Handle elements ParseUtils . requireNoContent ( reader ) ; }
Handle the xts - environment element