Package org.hippoecm.frontend.util
Class MaxLengthNodeNameFormatter
- java.lang.Object
-
- org.hippoecm.frontend.util.MaxLengthStringFormatter
-
- org.hippoecm.frontend.util.MaxLengthNodeNameFormatter
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
public class MaxLengthNodeNameFormatter extends MaxLengthStringFormatter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxLengthNodeNameFormatter()
MaxLengthNodeNameFormatter(int maxLength, String split, int indentLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getName(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel)
boolean
isTooLong(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel)
boolean
isTooLong(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel, int indent)
String
parse(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel)
String
parse(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel, int indent)
-
Methods inherited from class org.hippoecm.frontend.util.MaxLengthStringFormatter
isTooLong, isTooLong, parse, parse
-
-
-
-
Constructor Detail
-
MaxLengthNodeNameFormatter
public MaxLengthNodeNameFormatter()
-
MaxLengthNodeNameFormatter
public MaxLengthNodeNameFormatter(int maxLength, String split, int indentLength)
-
-
Method Detail
-
isTooLong
public boolean isTooLong(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel)
-
isTooLong
public boolean isTooLong(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel, int indent)
-
parse
public String parse(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel, int indent)
-
parse
public String parse(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel)
-
getName
protected String getName(org.apache.wicket.model.IModel<javax.jcr.Node> nodeModel)
-
-