Package Torello.JavaDoc.SyntaxHiLite
Class HiLiteHTML.Config
- java.lang.Object
-
- Torello.JavaDoc.SyntaxHiLite.AbstractConfig<HiLiteHTML.Config>
-
- Torello.JavaDoc.SyntaxHiLite.HiLiteHTML.Config
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
- Enclosing class:
- HiLiteHTML
public static class HiLiteHTML.Config extends AbstractConfig<HiLiteHTML.Config> implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/JavaDoc/SyntaxHiLite/HiLiteHTML.java
- Open New Browser-Tab: Torello/JavaDoc/SyntaxHiLite/HiLiteHTML.java
File Size: 4,008 Bytes Line Count: 98 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
-
Fields inherited from class Torello.JavaDoc.SyntaxHiLite.AbstractConfig
classNames, quotes, spansOrBolds, upperOrLower_ClassAttrName, upperOrLower_TagName, utilize
-
-
Constructor Summary
Create a newly intialized instance of this Configuration-Class Constructor Config()
-
Method Summary
Construct a new HTML-HiLiter, using the Configurations in this class / instance Modifier and Type Method HiLiteHTML
generateHiLiter()
Set & Retrieve the 'Extra Attribute Settings' Modifier and Type Method HiLiteHTML.Config
addRule(HiLiteHTML.AttribRule rule)
Iterator<HiLiteHTML.AttribRule>
getExtraAttribRules()
Methods: class java.lang.Object Modifier and Type Method boolean
equals(Object other)
String
toString()
Methods: interface java.lang.Cloneable Modifier and Type Method HiLiteHTML.Config
clone()
-
Methods inherited from class Torello.JavaDoc.SyntaxHiLite.AbstractConfig
generateHiLiterHelper, getClassName, getSpansOrBolds, getUtilized, hashCode, setClassNameCSS, setSpanOrBold, setUtilizeOrForget
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
- Code:
- Exact Field Declaration Expression:
protected static final long serialVersionUID = 1;
-
-
Constructor Detail
-
Config
public Config()
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classAbstractConfig<HiLiteHTML.Config>
- Code:
- Exact Method Body:
if (! super.equals(other)) return false; return ((HiLiteHTML.Config) other).rotmb.equals(this.rotmb);
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Code:
- Exact Method Body:
return ToStringHTML.classConfig(this);
-
clone
public HiLiteHTML.Config clone()
- Overrides:
clone
in classjava.lang.Object
- Code:
- Exact Method Body:
return new HiLiteHTML.Config(this);
-
addRule
public HiLiteHTML.Config addRule(HiLiteHTML.AttribRule rule)
- Code:
- Exact Method Body:
AttribRule ar = rule.clone(); ar.validate(); if (this.rotmb == null) this.rotmb = new ROTreeMapBuilder<>(); rotmb.put(rule.attributeName, rule); return this;
-
getExtraAttribRules
public java.util.Iterator<HiLiteHTML.AttribRule> getExtraAttribRules()
- Code:
- Exact Method Body:
return (this.rotmb == null) ? java.util.Collections.emptyIterator() : rotmb.values().iterator();
-
generateHiLiter
public HiLiteHTML generateHiLiter()
- Code:
- Exact Method Body:
Ret2<TagNode[], TagNode[]> r2 = generateHiLiterHelper(); final ReadOnlyMap<String, AttribRule> rom = (this.rotmb != null) ? this.rotmb.build() : null; return new HiLiteHTML(r2.a /* openers */, r2.b /* closers */, this.utilize, rom);
-
-