protected ProtectedProperties createMetadata(Element parent) throws Exception {
  ProtectedProperties result;
  Properties props;
  Vector<Element> list;
  Element node;
  Element metanode;
  int i;
  result=null;
  metanode=null;
  list=getChildTags(parent,TAG_METADATA);
  if (list.size() > 0) {
    metanode=list.get(0);
  }
  if (metanode != null) {
    props=new Properties();
    list=getChildTags(metanode,TAG_PROPERTY);
    for (i=0; i < list.size(); i++) {
      node=list.get(i);
      props.setProperty(node.getAttribute(ATT_NAME),getContent(node));
    }
    result=new ProtectedProperties(props);
  }
  return result;
}

protected ProtectedProperties createMetadata ( Element parent ) throws Exception { ProtectedProperties result ; Properties props ; Vector < Element > list ; Element node ; Element metanode ; int i ; result = null ; metanode = null ; list = getChildTags ( parent , TAG_METADATA ) ; if ( list . size ( ) > 0 ) { metanode = list . get ( 0 ) ; } if ( metanode != null ) { props = new Properties ( ) ; list = getChildTags ( metanode , TAG_PROPERTY ) ; for ( i = 0 ; i < list . size ( ) ; i ++ ) { node = list . get ( i ) ; props . setProperty ( node . getAttribute ( ATT_NAME ) , getContent ( node ) ) ; } result = new ProtectedProperties ( props ) ; } return result ; }
returns the metadata , if any available underneath this node , otherwise just null
