Uses of Class
org.faceless.publisher.type.Language

Packages that use Language
Package
Description
Provides the main classes for BFO Publisher
Provides the base classes for output from BFO Publisher, extended by type-specific subpackages
Provides the classes used to write output to PDF
Provides the classes and interfaces used for loading external resources
Contains utility classes and interfaces which are used across BFO Publisher
  • Uses of Language in org.faceless.publisher

    Methods in org.faceless.publisher that return Language
    Modifier and Type
    Method
    Description
    Document.getLanguage()
    Set Meta-information about the document as a whole.
    Methods in org.faceless.publisher that return types with arguments of type Language
    Modifier and Type
    Method
    Description
    Document.getHyphenationDictionaries()
     
    Methods in org.faceless.publisher with parameters of type Language
    Modifier and Type
    Method
    Description
    void
    Document.setLanguage(Language language)
     
  • Uses of Language in org.faceless.publisher.output

    Methods in org.faceless.publisher.output with parameters of type Language
    Modifier and Type
    Method
    Description
    org.faceless.publisher.type.ReplacedInline.SplitBefore
    GeneralText.canSplitBefore(org.faceless.publisher.type.ReplacedInline other, org.faceless.publisher.type.CSSStyle style, Language language)
     
    org.faceless.publisher.type.ReplacedInline
    DiscardReportOutput.createLeader(String text, org.faceless.publisher.type.CSSStyle style, Language language, int bidilevel)
     
    org.faceless.publisher.type.ReplacedInline
    ReportOutputFilter.createLeader(String text, org.faceless.publisher.type.CSSStyle style, Language language, int bidilevel)
    Create a new leader with the specified leader text.
    static PDFGlyphVector
    GeneralText.createPDFGlyphVector(String text, int startIndex, org.faceless.publisher.type.CSSStyle style, Language language, int bidiLevel, org.faceless.publisher.type.LengthEvaluationContext ctx)
    Create a single PDFGlyphVector for as much of the specified string as we can, based on the supplied style.
    org.faceless.publisher.type.ReplacedInline
    DiscardReportOutput.createText(String text, org.faceless.publisher.type.CSSStyle style, Language language, boolean linebreakfollows, int level, boolean svg)
     
    org.faceless.publisher.type.ReplacedInline
    ReportOutputFilter.createText(String text, org.faceless.publisher.type.CSSStyle style, Language language, boolean linebreakfollows, int level, boolean svg)
    Create a new ReplacedInline for the specified text.
    Constructors in org.faceless.publisher.output with parameters of type Language
    Modifier
    Constructor
    Description
     
    GeneralText(String text, org.faceless.publisher.type.CSSStyle style, Language language, boolean newlinefollows, int bidilevel, boolean svg, boolean leader)
    Create a new GeneralText
     
    ReportCanvasGraphics(org.faceless.publisher.output.ReportCanvas canvas, org.faceless.publisher.type.CSSStyle style, Language language)
    Constructor.
  • Uses of Language in org.faceless.publisher.output.pdf

    Constructors in org.faceless.publisher.output.pdf with parameters of type Language
    Modifier
    Constructor
    Description
     
    Text(String text, org.faceless.publisher.type.CSSStyle style, Language language, boolean newlinefollows, int bidilevel, boolean svg, boolean leader)
    Create a new GeneralText
  • Uses of Language in org.faceless.publisher.resource

    Methods in org.faceless.publisher.resource with parameters of type Language
    Modifier and Type
    Method
    Description
    HyphenationTree
    ResourceManager.getHyphenationTree(Language lang)
    Load the shared list of system hyphenation resources from the classpath.
  • Uses of Language in org.faceless.publisher.type

    Modifier and Type
    Field
    Description
    static final Language
    Language.ROOT
    The "root" language - all components are empty
    Methods in org.faceless.publisher.type that return Language
    Modifier and Type
    Method
    Description
    static Language
    Language.getInstance(String range)
    Get a Language that matches the specified text, creating one if necessary
    static Language
    Language.getInstance(Locale locale)
    Return a Language that corresponds to the specified Locale
    AbstractNode.getLanguage()
    Return the language of the current node in lowercase.
    AbstractTreeNode.getLanguage()
    Return the language of the current node in lowercase.
    FontLanguageOverrideType.getLanguage(Language language)
    Get the computed Language.
    FontResourceDescriptor.getLanguage()
     
    Methods in org.faceless.publisher.type with parameters of type Language
    Modifier and Type
    Method
    Description
    void
    ContentHandlerWrapper.addMetadata(URL2 subject, URL2 property, Object value, Language lang, Object source)
     
    void
    DocumentSink.addMetadata(URL2 subject, URL2 property, Object value, Language lang, Object source)
    Add a Metadata value to the nearest scoped ancestor, or (if called before the root element), add to the root element.
    void
    Metadata.addTriple(URL2 subject, URL2 property, Object value, Language lang, Object source)
     
    org.faceless.publisher.type.ReplacedInline.SplitBefore
    ReplacedInline.canSplitBefore(org.faceless.publisher.type.ReplacedInline inline, org.faceless.publisher.type.CSSStyle parentStyle, Language language)
    Return true if a split is possible between the end of this ReplacedInline and the start of the specified one.
    FontLanguageOverrideType.getLanguage(Language language)
    Get the computed Language.
    static org.faceless.publisher.type.TextJustifyProp
    TextJustifyProp.resolveAuto(Language language)
    Given the specified language, determine the most appropriate value to use instead of "auto"
    int
    Language.scoreAgainstPattern(Language pattern)
    Return a score for how well this Language matches the specified Locale, which can be used to determine the best match (higher is better, 0 is no match) This has a strong but not exact relation to BCP47 - once we get to extensions, it differs.
    void
    ContentHandlerWrapper.setLanguage(Language language)
     
    void
    DocumentSink.setLanguage(Language language)
    Set the language on the currently open Element.
    void
    FontResourceDescriptor.setLanguage(Language language)
    Set the Language.
    TextTransform.transform(CharSequence text, int prevUnicode, Language language, org.faceless.publisher.type.TextTransform parentTextTransform)
    Apply this transformation to a CharSequence