First page Back Continue Last page Overview Graphics
Factories
Builder uses a factory to build nodes
Default factory builds standard classes
Can change factories using the setFactory() method in Builder
Subclassing enables:
- Extra utility methods
- public String getAttributeValue(String name, String uri, String default)
- Read-only tree
- Application specific classes
- XHTMLElement
- PElement
- DivElement
- etc.