public class NodeIdentifierReferenceFactory extends ReferenceValueFactory
Node.getIdentifier() strings, including those that are local (e.g., not
foreign) and thus don't have the source part and workspace part.JcrSessionAbstractValueFactory.ConvertingIterator<ValueType>simple, weakdecoder, propertyType, valueFactoriesDEFAULT_DECODER, DEFAULT_ENCODER| Modifier | Constructor and Description |
|---|---|
protected |
NodeIdentifierReferenceFactory(PropertyType type,
TextDecoder decoder,
ValueFactories valueFactories,
boolean weak,
boolean simple,
NodeKey rootKey) |
| Modifier and Type | Method and Description |
|---|---|
Reference |
create(String value)
Create a value from a string, using no decoding.
|
static NodeIdentifierReferenceFactory |
newInstance(NodeKey rootKey,
TextDecoder decoder,
ValueFactories factories,
boolean weak,
boolean simple) |
ReferenceFactory |
with(ValueFactories valueFactories)
Return a potentially new copy of this factory that uses the supplied ValueFactories object.
|
create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, createEmptyArray, newInstancecreate, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, getDecoder, getDecoder, getPropertyType, getStringValueFactoryprotected NodeIdentifierReferenceFactory(PropertyType type, TextDecoder decoder, ValueFactories valueFactories, boolean weak, boolean simple, NodeKey rootKey)
public static NodeIdentifierReferenceFactory newInstance(NodeKey rootKey, TextDecoder decoder, ValueFactories factories, boolean weak, boolean simple)
public Reference create(String value)
ValueFactorycreate in interface ValueFactory<Reference>create in class ReferenceValueFactoryvalue - the string from which the value is to be createdValueFactory.create(String, TextDecoder)public ReferenceFactory with(ValueFactories valueFactories)
ValueFactorywith in interface ReferenceFactorywith in interface ValueFactory<Reference>with in class ReferenceValueFactoryvalueFactories - the value factories object; may not be nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.