Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.relations.api.impl
Class QNameResourceImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
      extended by org.nuxeo.ecm.platform.relations.api.impl.ResourceImpl
          extended by org.nuxeo.ecm.platform.relations.api.impl.QNameResourceImpl
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Node>, Node, QNameResource, Resource, Subject

public class QNameResourceImpl
extends ResourceImpl
implements QNameResource

Prefixed resource.

New prefixed resources can be declared through extension points.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
QNameResourceImpl(String namespace, String localName)
           
 
Method Summary
 String getLocalName()
           
 String getNamespace()
           
 NodeType getNodeType()
           
 boolean isQNameResource()
           
 void setLocalName(String localName)
           
 String toString()
           
 
Methods inherited from class org.nuxeo.ecm.platform.relations.api.impl.ResourceImpl
equals, getUri, hashCode, isResource, setUri
 
Methods inherited from class org.nuxeo.ecm.platform.relations.api.impl.AbstractNode
compareTo, isBlank, isLiteral
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nuxeo.ecm.platform.relations.api.Resource
getUri, setUri
 
Methods inherited from interface org.nuxeo.ecm.platform.relations.api.Node
isBlank, isLiteral, isResource
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

QNameResourceImpl

public QNameResourceImpl(String namespace,
                         String localName)
Method Detail

getNodeType

public NodeType getNodeType()
Specified by:
getNodeType in interface Node
Overrides:
getNodeType in class ResourceImpl

isQNameResource

public boolean isQNameResource()
Specified by:
isQNameResource in interface Node
Overrides:
isQNameResource in class AbstractNode

toString

public String toString()
Overrides:
toString in class ResourceImpl

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface QNameResource

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface QNameResource

setLocalName

public void setLocalName(String localName)
Specified by:
setLocalName in interface QNameResource

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.