Package | Description |
---|---|
org.modeshape.jcr.cache | |
org.modeshape.jcr.cache.change | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.value |
Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for
representing and working with properties and their values.
|
org.modeshape.jcr.value.basic |
A set of basic implementations of the various interfaces defined in
org.modeshape.jcr.value . |
org.modeshape.jcr.value.binary |
Modifier and Type | Method and Description |
---|---|
Path.Segment |
ChildReference.getSegment() |
Path.Segment |
CachedNode.getSegment(NodeCache cache)
Get the path segment for this node.
|
Modifier and Type | Method and Description |
---|---|
ChildReference |
ChildReferences.getChild(Path.Segment segment)
Look for the child reference that has the given name and SNS index.
|
Constructor and Description |
---|
ChildReference(NodeKey key,
Path.Segment segment) |
Modifier and Type | Method and Description |
---|---|
Path.Segment |
NodeRenamed.getOldSegment()
Get the old segment for the node.
|
Modifier and Type | Method and Description |
---|---|
void |
RecordingChanges.nodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes) |
void |
NoOpChanges.nodeRenamed(NodeKey key,
Path path,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes) |
void |
Changes.nodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldName,
Name primaryType,
Set<Name> mixinTypes)
Signal that a node was renamed (but still has the same parent)
|
Constructor and Description |
---|
NodeRenamed(NodeKey key,
Path newPath,
Path.Segment oldSegment,
Name primaryType,
Set<Name> mixinTypes) |
Modifier and Type | Method and Description |
---|---|
Path.Segment |
SessionNode.getSegment(NodeCache cache) |
Path.Segment |
LazyCachedNode.getSegment(NodeCache cache) |
protected Path.Segment |
SessionNode.getSegment(NodeCache cache,
CachedNode parent)
Get the segment for this node.
|
protected Path.Segment |
LazyCachedNode.getSegment(WorkspaceCache cache)
Get the name for this node, without any same-name-sibiling (SNS) index.
|
Modifier and Type | Method and Description |
---|---|
protected List<Path.Segment> |
DocumentTranslator.segmentsFrom(List<?> segmentValues) |
Modifier and Type | Method and Description |
---|---|
ChildReference |
ImmutableChildReferences.EmptyChildReferences.getChild(Path.Segment segment) |
ChildReference |
AbstractChildReferences.getChild(Path.Segment segment) |
Modifier and Type | Field and Description |
---|---|
static Path.Segment |
Path.PARENT_SEGMENT
Singleton instance of the path segment referencing a parent, provided as a convenience.
|
static Path.Segment |
Path.SELF_SEGMENT
Singleton instance of the path segment referencing a parent, provided as a convenience.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<Path.Segment> |
ValueComparators.PATH_SEGMENT_COMPARATOR
A comparator of path segment values.
|
static Comparator<Path.Segment> |
ValueComparators.PATH_SEGMENT_NAME_COMPARATOR
A comparator of path segment names, excluding same-name-sibling indexes.
|
Modifier and Type | Method and Description |
---|---|
Path.Segment |
PathFactory.createSegment(Name segmentName)
Create a path segment given the supplied segment name.
|
Path.Segment |
PathFactory.createSegment(Name segmentName,
int index)
Create a path segment given the supplied segment name and index.
|
Path.Segment |
PathFactory.createSegment(String segmentName)
Create a path segment given the supplied segment name.
|
Path.Segment |
PathFactory.createSegment(String segmentName,
int index)
Create a path segment given the supplied segment name and index.
|
Path.Segment |
PathFactory.createSegment(String segmentName,
TextDecoder decoder)
Create a path segment given the supplied segment name.
|
Path.Segment |
Path.getLastSegment()
Get the last segment in this path.
|
Path.Segment |
Path.getSegment(int index)
Get the segment at the supplied index.
|
Path.Segment[] |
Path.getSegmentsArray()
Obtain a copy of the segments in this path.
|
Modifier and Type | Method and Description |
---|---|
List<Path.Segment> |
Path.getSegmentsList()
Get an unmodifiable list of the path segments.
|
Modifier and Type | Method and Description |
---|---|
int |
ValueComparators.PathSegmentComparator.compare(Path.Segment o1,
Path.Segment o2) |
int |
ValueComparators.PathSegmentNameComparator.compare(Path.Segment o1,
Path.Segment o2) |
T |
ValueFactory.create(Path.Segment value)
Create a value from a path segment.
|
Path |
PathFactory.create(Path parentPath,
Path.Segment... segments)
Create a path by appending the supplied names to the parent path.
|
Path |
PathFactory.createAbsolutePath(Path.Segment... segments)
Create an absolute path with the supplied segments, in order.
|
Path |
PathFactory.createRelativePath(Path.Segment... segments)
Create a relative path with the supplied segments, in order.
|
Modifier and Type | Method and Description |
---|---|
Path |
PathFactory.create(Path parentPath,
Iterable<Path.Segment> segments)
Create a path by appending the supplied names to the parent path.
|
Path |
PathFactory.createAbsolutePath(Iterable<Path.Segment> segments)
Create an absolute path with the supplied segments, in order.
|
Path |
PathFactory.createRelativePath(Iterable<Path.Segment> segments)
Create a relative path with the supplied segments, in order.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicPathSegment
A basic implementation of
Path.Segment . |
class |
IdentifierPathSegment
A
Path.Segment implementation that represents an identifier segment. |
Modifier and Type | Field and Description |
---|---|
protected static Iterator<Path.Segment> |
AbstractPath.EMPTY_PATH_ITERATOR |
Modifier and Type | Method and Description |
---|---|
Path.Segment |
PathValueFactory.createSegment(Name segmentName) |
Path.Segment |
PathValueFactory.createSegment(Name segmentName,
int index) |
Path.Segment |
PathValueFactory.createSegment(String segmentName) |
Path.Segment |
PathValueFactory.createSegment(String segmentName,
int index) |
Path.Segment |
PathValueFactory.createSegment(String segmentName,
TextDecoder decoder) |
Path.Segment |
RootPath.getLastSegment() |
Path.Segment |
IdentifierPath.getLastSegment() |
Path.Segment |
ChildPath.getLastSegment() |
Path.Segment |
AbstractPath.getLastSegment() |
Path.Segment |
RootPath.getSegment(int index) |
Path.Segment |
IdentifierPath.getSegment(int index) |
Path.Segment |
ChildPath.getSegment(int index) |
Path.Segment |
AbstractPath.getSegment(int index) |
Path.Segment[] |
RootPath.getSegmentsArray() |
Path.Segment[] |
IdentifierPath.getSegmentsArray() |
Path.Segment[] |
AbstractPath.getSegmentsArray() |
Modifier and Type | Method and Description |
---|---|
protected List<Path.Segment> |
AbstractPath.createSegmentsSubList(int validBeginIndex,
int validEndIndex) |
List<Path.Segment> |
RootPath.getSegmentsList() |
List<Path.Segment> |
IdentifierPath.getSegmentsList() |
List<Path.Segment> |
ChildPath.getSegmentsList() |
List<Path.Segment> |
BasicPath.getSegmentsList() |
protected Iterator<Path.Segment> |
RootPath.getSegmentsOfParent() |
protected Iterator<Path.Segment> |
IdentifierPath.getSegmentsOfParent() |
protected Iterator<Path.Segment> |
ChildPath.getSegmentsOfParent() |
protected Iterator<Path.Segment> |
BasicPath.getSegmentsOfParent() |
protected abstract Iterator<Path.Segment> |
AbstractPath.getSegmentsOfParent()
Method used by
AbstractPath.equals(Object) implementation to quickly get an Iterator over the segments in the
parent. |
Iterator<Path.Segment> |
RootPath.iterator() |
Iterator<Path.Segment> |
IdentifierPath.iterator() |
Iterator<Path.Segment> |
ChildPath.iterator() |
Iterator<Path.Segment> |
AbstractPath.iterator() |
Modifier and Type | Method and Description |
---|---|
int |
BasicPathSegment.compareTo(Path.Segment that) |
URI |
UriValueFactory.create(Path.Segment value) |
String |
StringValueFactory.create(Path.Segment value) |
Reference |
ReferenceValueFactory.create(Path.Segment value) |
Path |
PathValueFactory.create(Path.Segment value) |
Object |
ObjectValueFactory.create(Path.Segment value) |
Name |
NameValueFactory.create(Path.Segment segment) |
Long |
LongValueFactory.create(Path.Segment value) |
DateTime |
JodaDateTimeValueFactory.create(Path.Segment value) |
Double |
DoubleValueFactory.create(Path.Segment value) |
BigDecimal |
DecimalValueFactory.create(Path.Segment value) |
Boolean |
BooleanValueFactory.create(Path.Segment value) |
Path |
PathValueFactory.create(Path parentPath,
Path.Segment... segments) |
Path |
PathValueFactory.createAbsolutePath(Path.Segment... segments) |
Path |
PathValueFactory.createRelativePath(Path.Segment... segments) |
Modifier and Type | Method and Description |
---|---|
Path |
PathValueFactory.create(Path parentPath,
Iterable<Path.Segment> segments) |
Path |
PathValueFactory.createAbsolutePath(Iterable<Path.Segment> segments) |
Path |
PathValueFactory.createRelativePath(Iterable<Path.Segment> segments) |
protected boolean |
AbstractPath.isNormalized(List<Path.Segment> segments) |
Constructor and Description |
---|
ChildPath(Path parent,
Path.Segment child) |
Constructor and Description |
---|
BasicPath(List<Path.Segment> segments,
boolean absolute) |
Modifier and Type | Method and Description |
---|---|
BinaryValue |
BinaryStoreValueFactory.create(Path.Segment value) |
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.