public class DefaultIdGenerationStrategy extends IdGenerationStrategy
Constructor and Description |
---|
DefaultIdGenerationStrategy() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateId(java.lang.String headingText)
produce an id for use in an HTML anchor from heading text.
|
public java.lang.String generateId(java.lang.String headingText)
IdGenerationStrategy
generateId
in class IdGenerationStrategy
headingText
- the text of the headingCopyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html