code: @Override
      public void setValueFromObject(Object anObject) {
          if ((anObject!=null) && (value==null)) {
              if(anObject instanceof QualifiedName) {
                  setValue((QualifiedName)anObject);
              } else if (anObject instanceof org.openprovenance.prov.model.LangString) { 
                  setValue((org.openprovenance.prov.model.LangString)anObject);
              } else if (anObject instanceof byte[]) {
                  setValueFromObject((byte[]) anObject);
              } else if (anObject instanceof org.w3c.dom.Node) {
                  setValueFromObject((org.w3c.dom.Node)anObject);
              } else {
                  setValue(anObject.toString());
              }
          }
docs: /* (non-Javadoc)
  @see org.openprovenance.prov.xml.TypIN#setValueAsJava(java.lang.Object)