org.netbeans.tax.dom |
TAX DOM wrapper
Readonly DOM level 1 implementation wraping TAX.
Entry point is a set of {@link Wrapper.wrap} methods.
Why Wrapper?
Another alternative i.e. let TAX directly implement DOM
intefaces would polute TAX API and cause schizofreny.
Status
Prototype that doe not handle refs, PIs, comments etc. It should
prove concept only.
Why so Many new
Claim: Latest HotSpot has very optimalized new and
authors suggest to leave classical pool approach.
Consequence: This implementation uses very lightweight wrappers
therefore only drawback it increased garbage production. It should
be also handled in latest HotSpot implementations.
|
Java Source File Name | Type | Comment |
AttrImpl.java | Class | |
Children.java | Class | Utility class holding children methods. |
CommentImpl.java | Class | |
DocumentImpl.java | Class | |
DocumentTypeImpl.java | Class | |
DOMImplementationImpl.java | Class | |
ElementImpl.java | Class | |
NamedNodeMapImpl.java | Class | |
NodeImpl.java | Class | |
NodeListImpl.java | Class | NodeList taht filters out all unwrappable types. |
ROException.java | Class | Read-only eception is thrown from all modification methods. |
TextImpl.java | Class | |
UOException.java | Class | Unsupported operation exception is thown by all methods required by
higher DOM level than 1. |
Wrapper.java | Class | |
WrapperTest.java | Class | Sorry, complicated test setup. |