Package org.jsoup.parser
Class XmlTreeBuilder.NamespaceChange
java.lang.Object
org.jsoup.parser.XmlTreeBuilder.NamespaceChange
- Enclosing class:
XmlTreeBuilder
Tracks namespace binding changes within element scopes. Each scope starts with a shared marker, followed by a
change record for each namespace declaration. When the scope closes, the change records are applied in reverse to
restore the parent bindings.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateNamespaceChange(String prefix, String previousValue) Creates a namespace change; a null previous value means the prefix was previously unbound. -
Method Summary
-
Field Details
-
prefix
-
previousValue
-
-
Constructor Details
-
NamespaceChange
Creates a namespace change; a null previous value means the prefix was previously unbound.
-
-
Method Details
-
restore
Restores the binding that was active before this change.
-