public Prop setProp ( ) { Element prop = setChild ( root , "prop" , childNames , true ) ; //$NON-NLS-1$ try { return new Prop ( prop ) ; } catch ( MalformedElementException e ) { Assert . isTrue ( false , Policy . bind ( "assert.internalError" ) ) ; //$NON-NLS-1$ return null ; // Never reached. } }
Creates and sets a new prop on this propstat and returns an editor on it .