code: protected static String getEncodedValue(Element element)
  	{
  		String encoding = ENCODING_NONE;
  		if (element.hasAttribute(ATTR_ENCODING))
  		{
  			encoding = element.getAttribute(ATTR_ENCODING);
  		}
  
  		if (ENCODING_NONE.equals(encoding))
  		{
  			return parseContent(element);
  		}
  
  		if (ENCODING_BASE64.equals(encoding))
  		{
  			return parseBase64Content(element);
  		}
  
  		throw new AssertionError(NLS.bind("invalidEncoding", encoding));
  	}
docs: $NON-NLS-1$