XmlElement () { // needed because the static method ContextProvider.isValid() checks this to determine if the provider // is still valid - refactor this into an instance method ContextProvider.isValid()? return myDummyContext; }