public class LiteralImpl extends AbstractNode implements Literal
Modifier and Type | Field and Description |
---|---|
protected String |
language |
protected String |
type |
protected String |
value |
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 © 2018 Nuxeo. All rights reserved.