org.treebind
Class RdfResourceName

java.lang.Object
  extended byorg.treebind.DefaultNameImplementation
      extended byorg.treebind.RdfResourceName
All Implemented Interfaces:
Name

public class RdfResourceName
extends DefaultNameImplementation
implements Name

Name implementation representing RDF resources. RDF resource names have a domain name which is the namespace URI reference and a local name which is the local name of the element or attribute. In the RDF data model, both roles and nature have a domain name.

Author:
Eric van der Vlist
See Also:
Name

Field Summary
static RdfResourceName bag
          The RdfResourceName of rdf:Bag.
static java.lang.String RDF
          The RDF namespace URI reference.
static RdfResourceName seq
          The RdfResourceName of rdf:Seq.
static RdfResourceName type
          The RdfResourceName of rdf:type.
static RdfResourceName URI
          A RdfResourceName for URIs.
 
Constructor Summary
RdfResourceName(java.lang.String fullName)
          Construct a RdfResourceName from its full name.
 
Method Summary
 boolean equals(Name name)
          Test if two names are equal.
 java.lang.String getFullName()
          Gets the full name which is usually the concatenation of the domain name and the local name with a separator.
 
Methods inherited from class org.treebind.DefaultNameImplementation
getDomainName, getLocalName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.treebind.Name
getDomainName, getLocalName
 

Field Detail

RDF

public static java.lang.String RDF
The RDF namespace URI reference.


bag

public static RdfResourceName bag
The RdfResourceName of rdf:Bag.


seq

public static RdfResourceName seq
The RdfResourceName of rdf:Seq.


type

public static RdfResourceName type
The RdfResourceName of rdf:type.


URI

public static RdfResourceName URI
A RdfResourceName for URIs.

Constructor Detail

RdfResourceName

public RdfResourceName(java.lang.String fullName)
Construct a RdfResourceName from its full name.

Parameters:
fullName -
Method Detail

equals

public boolean equals(Name name)
Description copied from interface: Name
Test if two names are equal.

Specified by:
equals in interface Name
Overrides:
equals in class DefaultNameImplementation

getFullName

public java.lang.String getFullName()
Description copied from interface: Name
Gets the full name which is usually the concatenation of the domain name and the local name with a separator.

Specified by:
getFullName in interface Name
Overrides:
getFullName in class DefaultNameImplementation