A FilterXmlObject delegates to some other XmlObject, which it can use as its basic source of data, possibly transforming the data along the way or providing additional functionality. The class FilterXmlObject itself simply overrides all methods of XmlObject with versions that pass all requests to th
| 43 | * adding storage would break the serialization format. |
| 44 | */ |
| 45 | public abstract class FilterXmlObject implements XmlObject, SimpleValue, DelegateXmlObject { |
| 46 | public SchemaType schemaType() { |
| 47 | return underlyingXmlObject().schemaType(); |
| 48 | } |
| 49 | |
| 50 | public boolean validate() { |
| 51 | return underlyingXmlObject().validate(); |
| 52 | } |
| 53 | |
| 54 | public boolean validate(XmlOptions options) { |
| 55 | return underlyingXmlObject().validate(options); |
| 56 | } |
| 57 | |
| 58 | public XmlObject[] selectPath(String path) { |
| 59 | return underlyingXmlObject().selectPath(path); |
| 60 | } |
| 61 | |
| 62 | public XmlObject[] selectPath(String path, XmlOptions options) { |
| 63 | return underlyingXmlObject().selectPath(path, options); |
| 64 | } |
| 65 | |
| 66 | public XmlObject[] execQuery(String query) { |
| 67 | return underlyingXmlObject().execQuery(query); |
| 68 | } |
| 69 | |
| 70 | public XmlObject[] execQuery(String query, XmlOptions options) { |
| 71 | return underlyingXmlObject().execQuery(query, options); |
| 72 | } |
| 73 | |
| 74 | public XmlObject changeType(SchemaType newType) { |
| 75 | return underlyingXmlObject().changeType(newType); |
| 76 | } |
| 77 | |
| 78 | public boolean isNil() { |
| 79 | return underlyingXmlObject().isNil(); |
| 80 | } |
| 81 | |
| 82 | public void setNil() { |
| 83 | underlyingXmlObject().setNil(); |
| 84 | } |
| 85 | |
| 86 | public boolean isImmutable() { |
| 87 | return underlyingXmlObject().isImmutable(); |
| 88 | } |
| 89 | |
| 90 | public XmlObject set(XmlObject srcObj) { |
| 91 | return underlyingXmlObject().set(srcObj); |
| 92 | } |
| 93 | |
| 94 | public XmlObject copy() { |
| 95 | return underlyingXmlObject().copy(); |
| 96 | } |
| 97 | |
| 98 | public XmlObject copy(XmlOptions options) { |
| 99 | return underlyingXmlObject().copy(options); |
| 100 | } |
| 101 | |
| 102 | public boolean valueEquals(XmlObject obj) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…