Class ExtensionMetadata
- java.lang.Object
-
- crawlercommons.sitemaps.extension.ExtensionMetadata
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ImageAttributes,LinkAttributes,MobileAttributes,NewsAttributes,VideoAttributes
public abstract class ExtensionMetadata extends Object implements Serializable
Container for attributes of aSiteMapURLdefined by a sitemap extension.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExtensionMetadata()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Map<String,String[]>asMap()abstract booleanequals(Object other)booleanisValid()protected static booleanurlEquals(URL a, URL b)Compare URLs by their string representation because callingURL.equals(Object)may trigger an unwanted and potentially slow DNS lookup to resolve the host part
-
-
-
Method Detail
-
isValid
public boolean isValid()
-
urlEquals
protected static boolean urlEquals(URL a, URL b)
Compare URLs by their string representation because callingURL.equals(Object)may trigger an unwanted and potentially slow DNS lookup to resolve the host part
-
-