public class LiteralImpl extends AbstractNode implements Literal
Constructor and Description |
---|
LiteralImpl(String value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getLanguage() |
NodeType |
getNodeType() |
String |
getType() |
String |
getValue() |
int |
hashCode() |
boolean |
isLiteral() |
void |
setLanguage(String language) |
void |
setType(String type) |
void |
setValue(String value) |
String |
toString() |
compareTo, isBlank, isQNameResource, isResource
isBlank, isQNameResource, isResource
compareTo
public LiteralImpl(String value)
public NodeType getNodeType()
getNodeType
in interface Node
public boolean isLiteral()
isLiteral
in interface Node
isLiteral
in class AbstractNode
public String getLanguage()
getLanguage
in interface Literal
public void setLanguage(String language)
setLanguage
in interface Literal
Copyright © 2015 Nuxeo SA. All rights reserved.