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