TUM CCSM Commons

edu.tum.cs.commons.html
Class HTMLWriter.HTMLResolver

java.lang.Object
  extended by edu.tum.cs.commons.html.HTMLWriter.HTMLResolver
All Implemented Interfaces:
IXMLResolver<EHTMLElement,EHTMLAttribute>
Enclosing class:
HTMLWriter

public static class HTMLWriter.HTMLResolver
extends java.lang.Object
implements IXMLResolver<EHTMLElement,EHTMLAttribute>

The resolver used for the HTMLWriter.


Constructor Summary
HTMLWriter.HTMLResolver()
           
 
Method Summary
 java.lang.Class<EHTMLAttribute> getAttributeClass()
          Returns the class of the attribute enumeration.
 java.lang.String resolveAttributeName(EHTMLAttribute attribute)
          Returns for an attribute the name which should be used in the XML file.
 java.lang.String resolveElementName(EHTMLElement element)
          Returns for an element the name which should be used in the XML file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLWriter.HTMLResolver

public HTMLWriter.HTMLResolver()
Method Detail

resolveAttributeName

public java.lang.String resolveAttributeName(EHTMLAttribute attribute)
Returns for an attribute the name which should be used in the XML file.

Specified by:
resolveAttributeName in interface IXMLResolver<EHTMLElement,EHTMLAttribute>

resolveElementName

public java.lang.String resolveElementName(EHTMLElement element)
Returns for an element the name which should be used in the XML file.

Specified by:
resolveElementName in interface IXMLResolver<EHTMLElement,EHTMLAttribute>

getAttributeClass

public java.lang.Class<EHTMLAttribute> getAttributeClass()
Returns the class of the attribute enumeration.

Specified by:
getAttributeClass in interface IXMLResolver<EHTMLElement,EHTMLAttribute>

TUM CCSM Commons

TUM CCSM Commons - 2.7