|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.application.sysmodule.css.E4CSS
public class E4CSS
Generic implementation of the Cascading Style Sheet DOM. Contains all Attributes and Values of the CSS2 Standard except group AURAL.
Attributes are mapped to E4HtmlTag.Tag tags.
E4StyleDefinition| Nested Class Summary | |
|---|---|
static class |
E4CSS.Attribute
Attribute representation in a typesafe format. |
static class |
E4CSS.ParserException
Exception occuring within the parsing of E4CSS.Values. |
static class |
E4CSS.Value
Representation of E4CSS.Values in a typesafe format. |
| Field Summary | |
|---|---|
static int |
IMPORTANCE_HIGHEST
|
static int |
IMPORTANCE_LOWEST
|
static int |
IMPORTANCE_SECOND
|
static int |
IMPORTANCE_THIRD
|
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Constructor Summary | |
|---|---|
E4CSS()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
|
static E4CSS.Attribute[] |
getAllAttributeKeys()
Get and array of all possible E4CSS.Attributes. |
static E4CSS.Attribute |
getAttribute(java.lang.String name)
Get the typesafe E4CSS.Attribute object from a given name. |
static int |
getAttributeImportance(E4CSS.Attribute attr)
get subjective level for required expertise of editing user and usability of given attribute. |
static E4CSS.Attribute[] |
getCssAttributesFromTag(E4HtmlTag.Tag tag)
Retreive all E4CSS.Attributes that can occur within the given E4HtmlTag.Tag HTML tag. |
static E4CSS.Value |
parseValue(java.lang.String text)
Go through all values and parse each of them until a match is found. |
static E4CSS.Value |
parseValue(java.lang.String text,
E4CSS.Attribute attr)
Go through the range of values related to the given E4CSS.Attribute and parse each of them. |
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, toString, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int IMPORTANCE_LOWEST
public static final int IMPORTANCE_HIGHEST
public static final int IMPORTANCE_SECOND
public static final int IMPORTANCE_THIRD
| Constructor Detail |
|---|
public E4CSS()
| Method Detail |
|---|
public static E4CSS.Attribute[] getAllAttributeKeys()
public static final E4CSS.Attribute getAttribute(java.lang.String name)
name - a given name.
public static final E4CSS.Value parseValue(java.lang.String text)
throws E4CSS.ParserException,
java.lang.Exception
text - String representation of value.
E4CSS.ParserException - thrown if none of the value within the range matches.
Exception.
java.lang.ExceptionE4CSS.Value
public static final E4CSS.Value parseValue(java.lang.String text,
E4CSS.Attribute attr)
throws E4CSS.ParserException,
java.lang.Exception
text - String representation of value.attr - E4CSS.Attribute object.
E4CSS.ParserException - thrown if none of the value within the range matches.
Exception.
java.lang.ExceptionE4CSS.Value,
E4CSS.Attributepublic static E4CSS.Attribute[] getCssAttributesFromTag(E4HtmlTag.Tag tag)
E4HtmlTag.Tag HTML tag.
tag - typesafe representation of E4HtmlTag tag.
e4s.application.sysmodule.css.E4HtmlTag#Tagpublic static int getAttributeImportance(E4CSS.Attribute attr)
attr - E4CSS.Attribute.
return level of importanceE4CSS.Attributepublic static java.lang.String _getSVNVersionString()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||