public class LanguageExtractor extends Object
Constructor and Description |
---|
LanguageExtractor() |
Modifier and Type | Method and Description |
---|---|
void |
extractLanguage(ToCNode node,
Element element)
Extract the language from the element and store it at the node.
|
public void extractLanguage(ToCNode node, Element element)
xml:lang
attribute at the element. If not present it inherits the
language from the parent
node if available.node
- the node to set determine the language forelement
- the XML element (usually the root element of the topic or map)Copyright © 2024. All rights reserved.