code: public static ElementDescriptor<?> get(QualifiedName qname, ElementDescriptor<?> parentElement)
  	{
  		if (parentElement == null || parentElement.mElementContext == null)
  		{
  			return get(qname);
  		}
  
  		ElementDescriptor<?> result = parentElement.mElementContext.get(qname);
  		return result == null ? get(qname) : result;
  	}
docs: Return the {@link ElementDescriptor} of the element having the given {@link QualifiedName}. This method returns first checks the context of the given
  parent {@link ElementDescriptor} for matching element and falls back to the default {@link XmlContext}if no matching element is found in the parent
  context.
  
  @param qname
  The {@link QualifiedName} of the {@link ElementDescriptor} to return.
  @param parentElement
  The parent {@link ElementDescriptor}.
  @return The {@link ElementDescriptor} or <code>null</code> if there is no such element in the parent context of the default {@link XmlContext}.