org.gcube.common.resources
Class UntypedFacet

java.lang.Object
  extended by org.gcube.common.resources.BaseFacet
      extended by org.gcube.common.resources.UntypedFacet
All Implemented Interfaces:
Facet

public final class UntypedFacet
extends BaseFacet

A Facet with unbound Element data.

Author:
Fabio Simeoni

Constructor Summary
UntypedFacet(QName name, Element data)
          Creates an instance with a given name and given data
 
Method Summary
 Element data()
          Returns the unbound data of the facet
 
Methods inherited from class org.gcube.common.resources.BaseFacet
name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UntypedFacet

public UntypedFacet(QName name,
                    Element data)
Creates an instance with a given name and given data

Parameters:
name - the name
data - the data
Method Detail

data

public Element data()
Returns the unbound data of the facet

Returns:
the data


Copyright © 2012. All Rights Reserved.