| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static StylesheetInfo | |
| private static boolean | |
| pack-priv static final String | _namespace
Hides com. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| protected String | |
| private Element | |
| public String | |
| protected String | |
| public String | Returns: The class valuePARAM e)Overrides com. Implements com. Gets the class attribute of the XhtmlNamespaceHandler object |
| private String | getContentLanguageMetaTag(Document doc)
Get the Content-Language meta tag value from the head section of the doc or the empty string. |
| public StylesheetInfo | |
| private InputStream | |
| public String | Returns: The document's title, or "" if none foundthe document to search for a title doc)Overrides com. Implements com. Returns the title of the document as located in the contents of /html/head/title, or "" if none could be found. |
| public String | Returns: The elementStyling valuePARAM e)Overrides com. Implements com. Gets the elementStyling attribute of the XhtmlNamespaceHandler object |
| public String | Returns: The iD valuePARAM e)Overrides com. Implements com. Gets the iD attribute of the XhtmlNamespaceHandler object |
| public String | getLang(Element
PARAM e)Overrides com. Implements com. Gets the language of an element as specified (in order of precedence) by the lang attribute on the element itself, the first ancestor with a lang attribute, the Content-Language meta tag or the empty string. |
| public String | Returns: The linkUri valuePARAM e)Overrides com. Implements com. Gets the linkUri attribute of the XhtmlNamespaceHandler object |
| private Map | |
| public String | Returns: The namespace valueOverrides com. Implements com. Gets the namespace attribute of the XhtmlNamespaceHandler object |
| public StylesheetInfo[] | Returns: The stylesheetLinks valuePARAM doc)Overrides com. Implements com. Gets the stylesheetLinks attribute of the XhtmlNamespaceHandler object |
| protected boolean | |
| protected StylesheetInfo | |
| protected StylesheetInfo | |
| private static String |
| _contentLanguageMetaValue | back to summary |
|---|---|
| private String _contentLanguageMetaValue | |
| _defaultStylesheet | back to summary |
|---|---|
| private static StylesheetInfo _defaultStylesheet | |
| _defaultStylesheetError | back to summary |
|---|---|
| private static boolean _defaultStylesheetError | |
| _namespace | back to summary |
|---|---|
| pack-priv static final String _namespace Hides com. Description of the Field | |
| XhtmlCssOnlyNamespaceHandler | back to summary |
|---|---|
| public XhtmlCssOnlyNamespaceHandler() | |
| collapseWhiteSpace | back to summary |
|---|---|
| private static String collapseWhiteSpace(String text) | |
| convertToLength | back to summary |
|---|---|
| protected String convertToLength(String value) | |
| findFirstChild | back to summary |
|---|---|
| private Element findFirstChild(Element parent, String targetName) | |
| getAnchorName | back to summary |
|---|---|
| public String getAnchorName(Element e) Overrides com. Implements com. | |
| getAttribute | back to summary |
|---|---|
| protected String getAttribute(Element e, String attrName) | |
| getClass | back to summary |
|---|---|
| public String getClass(Element e) Overrides com. Implements com. Gets the class attribute of the XhtmlNamespaceHandler object | |
| getContentLanguageMetaTag | back to summary |
|---|---|
| private String getContentLanguageMetaTag(Document doc) Get the Content-Language meta tag value from the head section of the doc or the empty string. Caches value so can be called multiple times without performance issues. | |
| getDefaultStylesheet | back to summary |
|---|---|
| public StylesheetInfo getDefaultStylesheet(StylesheetFactory factory) Overrides com. Implements com.
| |
| getDefaultStylesheetStream | back to summary |
|---|---|
| private InputStream getDefaultStylesheetStream() | |
| getDocumentTitle | back to summary |
|---|---|
| public String getDocumentTitle(Document doc) Overrides com. Implements com. Returns the title of the document as located in the contents of /html/head/title, or "" if none could be found. | |
| getElementStyling | back to summary |
|---|---|
| public String getElementStyling(Element e) Overrides com. Implements com. Gets the elementStyling attribute of the XhtmlNamespaceHandler object | |
| getID | back to summary |
|---|---|
| public String getID(Element e) Overrides com. Implements com. Gets the iD attribute of the XhtmlNamespaceHandler object | |
| getLang | back to summary |
|---|---|
| public String getLang(Element e) Overrides com. Implements com. Gets the language of an element as specified (in order of precedence) by the lang attribute on the element itself, the first ancestor with a lang attribute, the Content-Language meta tag or the empty string.
| |
| getLinkUri | back to summary |
|---|---|
| public String getLinkUri(Element e) Overrides com. Implements com. Gets the linkUri attribute of the XhtmlNamespaceHandler object | |
| getMetaInfo | back to summary |
|---|---|
| private Map | |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Overrides com. Implements com. Gets the namespace attribute of the XhtmlNamespaceHandler object
| |
| getStylesheets | back to summary |
|---|---|
| public StylesheetInfo[] getStylesheets(Document doc) Overrides com. Implements com. Gets the stylesheetLinks attribute of the XhtmlNamespaceHandler object
| |
| isInteger | back to summary |
|---|---|
| protected boolean isInteger(String value) | |
| readLinkElement | back to summary |
|---|---|
| protected StylesheetInfo readLinkElement(Element link) | |
| readStyleElement | back to summary |
|---|---|
| protected StylesheetInfo readStyleElement(Element style) | |
| readTextContent | back to summary |
|---|---|
| private static String readTextContent(Element element) | |