title: Unable to extend Node_Literal Jena class
body: <p>I am trying to write implementation of jena graph API and while implementing it. I am  facing problem in extending Node_Literal class which  is a jena class for literal values. While extending it, it is giving this error "The constructor Node_Literal(Object) is not visible"</p>
  
  <p>The code of parent class (Node_Literal) is following:</p>
  
  <pre><code>public class Node_Literal extends Node_Concrete{
  
  Node_Literal( Object label )
      { super( label ); }
  
  @Override
  public LiteralLabel getLiteral()
      { return (LiteralLabel) label; }
  
  @Override
  public final Object getLiteralValue()
      { return getLiteral().getValue(); }
  
  @Override
  public final String getLiteralLexicalForm()
      { return getLiteral().getLexicalForm(); }
  
  @Override
  public final String getLiteralLanguage()
      { return getLiteral().language(); }
  
  @Override
  public final String getLiteralDatatypeURI()
      { return getLiteral().getDatatypeURI(); }
  
  @Override
  public final RDFDatatype getLiteralDatatype()
      { return getLiteral().getDatatype(); }
  
  @Override
  public final boolean getLiteralIsXML()
      { return getLiteral().isXML(); }
  
  @Override
  public String toString( PrefixMapping pm, boolean quoting )
      { return ((LiteralLabel) label).toString( quoting ); }
  
  @Override
  public boolean isLiteral() 
      { return true; }    
  
  /**
      Literal nodes defer their indexing value to the component literal.
      @see com.hp.hpl.jena.graph.Node#getIndexingValue()
  */
  @Override
  public Object getIndexingValue()
      { return getLiteral().getIndexingValue(); }
  
  @Override
  public Object visitWith( NodeVisitor v )
      { return v.visitLiteral( this, getLiteral() ); }
  
  @Override
  public boolean equals( Object other )
      {
      if ( this == other ) return true ;
      return other instanceof Node_Literal &amp;&amp; label.equals( ((Node_Literal) other).label );
      }
  
  @Override
  public boolean sameValueAs(Object o) {
      return o instanceof Node_Literal 
            &amp;&amp; ((LiteralLabel)label).sameValueAs( ((Node_Literal) o).getLiteral() );
  }
  
  @Override
  public boolean matches( Node x )
      { return sameValueAs( x ); }
  
  }
  </code></pre>
  
  <p>Class that is extending node literal is given below:</p>
  
  <pre><code>public class JenaNeoLiteral extends Node_Literal{
  
      protected JenaNeoLiteral(Object label) {
  
          super(label);
          // TODO Auto-generated constructor stub
      }
  
   }
  </code></pre>