@Immutable public interface Reference extends Comparable<Reference>, Serializable
Modifier and Type | Method and Description |
---|---|
String |
getString()
Get the string form of the Reference.
|
String |
getString(TextEncoder encoder)
Get the encoded string form of the Reference, using the supplied encoder to encode characters in the reference.
|
boolean |
isForeign()
Determine whether this reference is a reference to a node which belongs to another source as the owning node.
|
boolean |
isSimple()
Determine whether this reference is a uni-directional reference
|
boolean |
isWeak()
Determine whether this reference is considered a weak reference.
|
compareTo
String getString()
default encoder
is used to encode characters in the
reference.getString(TextEncoder)
String getString(TextEncoder encoder)
encoder
- the encoder to use, or null if the default encoder
should be usedgetString()
boolean isWeak()
boolean isForeign()
boolean isSimple()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.