public class ValueFactoryImpl extends AbstractValueFactory
AbstractValueFactory
that omits any
validation checks for path and name values.Session.getValueFactory()
Modifier | Constructor and Description |
---|---|
protected |
ValueFactoryImpl()
Constructs a
ValueFactory object. |
Modifier and Type | Method and Description |
---|---|
protected void |
checkNameFormat(String nameValue)
Checks the format of the given string representing a name value.
|
protected void |
checkPathFormat(String pathValue)
Checks the format of the given string representing a path value.
|
static javax.jcr.ValueFactory |
getInstance() |
createBinary, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue
public static javax.jcr.ValueFactory getInstance()
protected void checkPathFormat(String pathValue) throws javax.jcr.ValueFormatException
AbstractValueFactory
checkPathFormat
in class AbstractValueFactory
javax.jcr.ValueFormatException
- If the given pathValue
isn't a valid jcr path.AbstractValueFactory.checkPathFormat(String)
protected void checkNameFormat(String nameValue) throws javax.jcr.ValueFormatException
AbstractValueFactory
checkNameFormat
in class AbstractValueFactory
javax.jcr.ValueFormatException
- If the given pathValue
isn't a valid jcr name.AbstractValueFactory.checkNameFormat(String)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.