Package com.helger.html.hc.html.embedded
Class AbstractHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
- java.lang.Object
-
- com.helger.html.hc.impl.AbstractHCNode
-
- com.helger.html.hc.html.AbstractHCElement<IMPLTYPE>
-
- com.helger.html.hc.html.embedded.AbstractHCArea<IMPLTYPE>
-
- Type Parameters:
IMPLTYPE- Implementation type
- All Implemented Interfaces:
com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,IHCArea<IMPLTYPE>,IHCElement<IMPLTYPE>,IHCHasCSSClasses<IMPLTYPE>,IHCHasCSSStyles<IMPLTYPE>,IHCHasID<IMPLTYPE>,IHCNode,Serializable
- Direct Known Subclasses:
HCArea
public abstract class AbstractHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>> extends AbstractHCElement<IMPLTYPE> implements IHCArea<IMPLTYPE>
Represents an HTML <area> element- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.helger.html.hc.html.AbstractHCElement
DEFAULT_HIDDEN, DEFAULT_SPELLCHECK, DEFAULT_TRANSLATE, DEFAULT_UNFOCUSABLE
-
Fields inherited from interface com.helger.html.hc.html.IHCElement
DEFAULT_TABINDEX
-
-
Constructor Summary
Constructors Constructor Description AbstractHCArea()AbstractHCArea(com.helger.commons.url.ISimpleURL aHref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillMicroElement(com.helger.xml.microdom.IMicroElement aElement, IHCConversionSettingsToNode aConversionSettings)Set all attributes and child elements of this objectStringgetAlt()StringgetCoords()StringgetDownload()com.helger.commons.url.ISimpleURLgetHref()com.helger.commons.url.ISimpleURLgetPing()EHCReferrerPolicygetReferrerPolicy()StringgetRel()StringgetShape()HC_TargetgetTarget()IMPLTYPEsetAlt(String sAlt)IMPLTYPEsetCoords(String sCoords)IMPLTYPEsetDownload(String sDownload)IMPLTYPEsetHref(com.helger.commons.url.ISimpleURL aHref)IMPLTYPEsetPing(com.helger.commons.url.ISimpleURL aPing)IMPLTYPEsetReferrerPolicy(EHCReferrerPolicy eReferrerPolicy)IMPLTYPEsetRel(String sRel)IMPLTYPEsetShape(String sShape)IMPLTYPEsetTarget(HC_Target aTarget)StringtoString()-
Methods inherited from class com.helger.html.hc.html.AbstractHCElement
addClass, addEventHandler, addStyle, containsClass, containsEventHandler, containsStyle, createMicroElement, customAttrs, finishMicroElement, getAccessKey, getAllClasses, getAllClassesAsString, getAllClassNames, getAllStyles, getAllStylesAsString, getAllStyleValues, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getID, getLanguage, getRole, getStyleValue, getTabIndex, getTagName, getTitle, getTranslate, hasAnyClass, hasAnyStyle, hasStyle, internalConvertToMicroNode, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, isValidID, onConsistencyCheck, onFinalizeNodeState, prependEventHandler, removeAllClasses, removeAllEventHandler, removeAllStyles, removeClass, removeStyle, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setID, setID, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setUnfocusable
-
Methods inherited from class com.helger.html.hc.impl.AbstractHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, findFirstChild, findFirstChildMapped, forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getAllChildren, getChildAtIndex, getChildCount, getChildren, getFirstChild, getLastChild, getNodeState, getPlainText, hasChildren, internalSetNodeState, onCustomizeNode, onRegisterExternalResources, registerExternalResources
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildren
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursive
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChild
-
Methods inherited from interface com.helger.html.hc.html.embedded.IHCArea
hasTarget, setTargetBlank
-
Methods inherited from interface com.helger.html.hc.html.IHCElement
addEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, withCustomAttrs
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSClasses
addClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClass
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSStyles
addStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyle
-
Methods inherited from interface com.helger.html.hc.IHCHasID
ensureID, getID, hasID, hasNoID, setID, setUniqueID
-
Methods inherited from interface com.helger.html.hc.IHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResources
-
-
-
-
Constructor Detail
-
AbstractHCArea
public AbstractHCArea()
-
AbstractHCArea
public AbstractHCArea(@Nonnull com.helger.commons.url.ISimpleURL aHref)
-
-
Method Detail
-
getAlt
@Nullable public final String getAlt()
- Specified by:
getAltin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setAlt
@Nonnull public final IMPLTYPE setAlt(@Nullable String sAlt)
- Specified by:
setAltin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getCoords
@Nullable public final String getCoords()
- Specified by:
getCoordsin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setCoords
@Nonnull public final IMPLTYPE setCoords(@Nullable String sCoords)
- Specified by:
setCoordsin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getShape
@Nullable public final String getShape()
- Specified by:
getShapein interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setShape
@Nonnull public final IMPLTYPE setShape(@Nullable String sShape)
- Specified by:
setShapein interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getHref
@Nullable public final com.helger.commons.url.ISimpleURL getHref()
- Specified by:
getHrefin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setHref
@Nonnull public final IMPLTYPE setHref(@Nonnull com.helger.commons.url.ISimpleURL aHref)
- Specified by:
setHrefin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getTarget
@Nullable public final HC_Target getTarget()
- Specified by:
getTargetin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setTarget
@Nonnull public final IMPLTYPE setTarget(@Nullable HC_Target aTarget)
- Specified by:
setTargetin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getDownload
@Nullable public final String getDownload()
- Specified by:
getDownloadin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setDownload
@Nonnull public final IMPLTYPE setDownload(@Nullable String sDownload)
- Specified by:
setDownloadin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getPing
@Nullable public final com.helger.commons.url.ISimpleURL getPing()
- Specified by:
getPingin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setPing
@Nonnull public final IMPLTYPE setPing(@Nullable com.helger.commons.url.ISimpleURL aPing)
- Specified by:
setPingin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getRel
@Nullable public final String getRel()
- Specified by:
getRelin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setRel
@Nonnull public final IMPLTYPE setRel(@Nullable String sRel)
- Specified by:
setRelin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
getReferrerPolicy
@Nullable public final EHCReferrerPolicy getReferrerPolicy()
- Specified by:
getReferrerPolicyin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
setReferrerPolicy
@Nonnull public final IMPLTYPE setReferrerPolicy(@Nullable EHCReferrerPolicy eReferrerPolicy)
- Specified by:
setReferrerPolicyin interfaceIHCArea<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
fillMicroElement
@OverridingMethodsMustInvokeSuper protected void fillMicroElement(com.helger.xml.microdom.IMicroElement aElement, IHCConversionSettingsToNode aConversionSettings)
Description copied from class:AbstractHCElementSet all attributes and child elements of this object- Overrides:
fillMicroElementin classAbstractHCElement<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>- Parameters:
aElement- The current micro element to be filled. Nevernull.aConversionSettings- The conversion settings to be used. Nevernull.
-
toString
public String toString()
- Overrides:
toStringin classAbstractHCElement<IMPLTYPE extends AbstractHCArea<IMPLTYPE>>
-
-