Package com.adobe.epubcheck.util

Examples of com.adobe.epubcheck.util.TextSearchDictionaryEntry


  void searchInsideValue(CSSStyleAttributeHandler.StyleAttribute entry, SearchDictionary tds, String file)
  {
    for (int s = 0; s < tds.getDictEntries().size(); s++)
    {
      TextSearchDictionaryEntry de = tds.getDictEntries().get(s);
      MessageId messageCode = de.getErrorCode();
      Pattern p = de.getPattern();

      Matcher matcher = p.matcher(entry.getValue());
      int position = 0;
      while (matcher.find(position))
      {
View Full Code Here


  private void searchInsideValue(AnchorTagHandler.DocTagContent entry, SearchDictionary tds, String file)
  {
    for (int s = 0; s < tds.getDictEntries().size(); s++)
    {
      TextSearchDictionaryEntry de = tds.getDictEntries().get(s);
      MessageId messageCode = de.getErrorCode();

      Pattern p = de.getPattern();
      Matcher matcher = p.matcher(entry.getValue());
      int position = 0;
      while (matcher.find(position))
      {
        position = matcher.end();
View Full Code Here

  void buildCssSearchDictionaries()
  {
    String description;
    String value;
    TextSearchDictionaryEntry de;

    //search eval() expression
    description = "rotateX()";
    value = "rotatex";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    functionComponentItems.add(de);

    description = "rotateY()";
    value = "rotatey";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    functionComponentItems.add(de);

    description = "columns";
    value = "columns";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    declarationComponentItems.add(de);

    description = "column-count";
    value = "column-count";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    declarationComponentItems.add(de);

    description = "column-gap";
    value = "column-gap";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    declarationComponentItems.add(de);

    description = "column-rule";
    value = "column-rule";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    declarationComponentItems.add(de);

    description = "keyframes";
    value = "keyframes";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    atRuleComponentItems.add(de);

    description = "transition";
    value = "transition";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    declarationComponentItems.add(de);

    description = "box-sizing";
    value = "box-sizing";
    de = new TextSearchDictionaryEntry(description, value, MessageId.CSS_009);
    declarationComponentItems.add(de);
  }
View Full Code Here

TOP

Related Classes of com.adobe.epubcheck.util.TextSearchDictionaryEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.