/** * Create a new child {@link PropertyInfo} with a given <code>localName</code> and a given * <code>value</code> of type <code>String</code> on this {@link NodeInfo}. * * @param localName * @param value * @return <code>this</code> * @throws RepositoryException */ public PropertyInfoBuilder createPropertyInfo(String localName, String value) throws RepositoryException { PropertyInfoBuilder pBuilder = new PropertyInfoBuilder(this, localName, listener); pBuilder.addValue(value); return pBuilder; }
/** * Create a new child {@link PropertyInfo} with a given <code>localName</code> and a given * <code>value</code> of type <code>String</code> on this {@link NodeInfo}. * * @param localName * @param value * @return <code>this</code> * @throws RepositoryException */ public PropertyInfoBuilder createPropertyInfo(String localName, String value) throws RepositoryException { PropertyInfoBuilder pBuilder = new PropertyInfoBuilder(this, localName, listener); pBuilder.addValue(value); return pBuilder; }
/** * Create a new child {@link PropertyInfo} on this {@link NodeInfo}. * * @return <code>this</code> */ public PropertyInfoBuilder createPropertyInfo() { return new PropertyInfoBuilder(this, null, listener); }
/** * Create a new child {@link PropertyInfo} on this {@link NodeInfo}. * * @return <code>this</code> */ public PropertyInfoBuilder createPropertyInfo() { return new PropertyInfoBuilder(this, null, listener); }
/** * Create a new child {@link PropertyInfo} with a given * <code>localName</code> on this {@link NodeInfo}. * * @param localName * @return <code>this</code> */ public PropertyInfoBuilder createPropertyInfo(String localName) { return new PropertyInfoBuilder(this, localName, listener); }
/** * Create a new child {@link PropertyInfo} with a given * <code>localName</code> on this {@link NodeInfo}. * * @param localName * @return <code>this</code> */ public PropertyInfoBuilder createPropertyInfo(String localName) { return new PropertyInfoBuilder(this, localName, listener); }