Lines Matching defs:owner
33 * Typically this outer context is used to retrieve the owner of the decoder,
75 // check class for owner
102 return false; // do not use owner as object
119 * Returns the owner of the owner document handler
122 * @return the owner of the owner document handler
125 Object owner = getOwner().getOwner();
126 if ((this.type == null) || isValid(owner)) {
127 return owner;
129 if (owner instanceof XMLDecoder) {
130 XMLDecoder decoder = (XMLDecoder) owner;
131 owner = decoder.getOwner();
132 if (isValid(owner)) {
133 return owner;
136 throw new IllegalStateException("Unexpected owner class: " + owner.getClass().getName());
140 * Validates the owner of the <java> element.
141 * The owner is valid if it is {@code null} or an instance
144 * @param owner the owner of the <java> element
145 * @return {@code true} if the {@code owner} is valid;
148 private boolean isValid(Object owner) {
149 return (owner == null) || this.type.isInstance(owner);