com.google.caja.plugin.stages
Class LegacyNamespaceFixupStage

java.lang.Object
  extended by com.google.caja.plugin.stages.LegacyNamespaceFixupStage
All Implemented Interfaces:
Pipeline.Stage<Jobs>

public class LegacyNamespaceFixupStage
extends java.lang.Object
implements Pipeline.Stage<Jobs>

Adds namespaces to DOM nodes that lack them so that we can deal with input from legacy systems that use document.createElement or document.setAttribute instead of the namespace-aware variants.

Author:
mikesamuel@gmail.com

Nested Class Summary
private static class LegacyNamespaceFixupStage.Fixer
           
 
Constructor Summary
LegacyNamespaceFixupStage()
           
 
Method Summary
 boolean apply(Jobs jobs)
          Operates on an input and returns true iff processing should proceed to the next stage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyNamespaceFixupStage

public LegacyNamespaceFixupStage()
Method Detail

apply

public boolean apply(Jobs jobs)
Description copied from interface: Pipeline.Stage
Operates on an input and returns true iff processing should proceed to the next stage.

Specified by:
apply in interface Pipeline.Stage<Jobs>


Copyright (C) 2008 Google Inc.
Licensed under the Apache License, Version 2.0