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 ValueFactory |
getInstance() |
createBinary, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValuepublic static ValueFactory getInstance()
protected void checkPathFormat(String pathValue) throws ValueFormatException
AbstractValueFactorycheckPathFormat in class AbstractValueFactoryValueFormatException - If the given pathValue
isn't a valid jcr path.AbstractValueFactory.checkPathFormat(String)protected void checkNameFormat(String nameValue) throws ValueFormatException
AbstractValueFactorycheckNameFormat in class AbstractValueFactoryValueFormatException - If the given pathValue
isn't a valid jcr name.AbstractValueFactory.checkNameFormat(String)Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.