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 SummaryConstructors Constructor Description ExtensionMetadata()
 - 
Method SummaryAll 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- 
isValidpublic boolean isValid() 
 - 
urlEqualsprotected 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
 
- 
 
-