< prev index next >

src/java.desktop/share/classes/javax/imageio/metadata/IIOMetadataNode.java

Print this page




 181         this.owner = owner;
 182     }
 183 
 184     /** This method is new in the DOM L3 for Attr interface.
 185      * Could throw DOMException here, but its probably OK
 186      * to always return false. One reason for this, is we have no good
 187      * way to document this exception, since this class, IIOAttr,
 188      * is not a public class. The rest of the methods that throw
 189      * DOMException are publically documented as such on IIOMetadataNode.
 190      * @return false
 191      */
 192     public boolean isId() {
 193         return false;
 194     }
 195 
 196 
 197 }
 198 
 199 /**
 200  * A class representing a node in a meta-data tree, which implements
 201  * the <a
 202  * href="../../../../api/org/w3c/dom/Element.html">
 203  * {@code org.w3c.dom.Element}</a> interface and additionally allows
 204  * for the storage of non-textual objects via the
 205  * {@code getUserObject} and {@code setUserObject} methods.
 206  *
 207  * <p> This class is not intended to be used for general XML
 208  * processing. In particular, {@code Element} nodes created
 209  * within the Image I/O API are not compatible with those created by
 210  * Sun's standard implementation of the {@code org.w3.dom} API.
 211  * In particular, the implementation is tuned for simple uses and may
 212  * not perform well for intensive processing.
 213  *
 214  * <p> Namespaces are ignored in this implementation.  The terms "tag
 215  * name" and "node name" are always considered to be synonymous.
 216  *
 217  * <em>Note:</em>
 218  * The DOM Level 3 specification added a number of new methods to the
 219  * {@code Node}, {@code Element} and {@code Attr} interfaces that are not
 220  * of value to the {@code IIOMetadataNode} implementation or specification.
 221  *
 222  * Calling such methods on an {@code IIOMetadataNode}, or an {@code Attr}
 223  * instance returned from an {@code IIOMetadataNode} will result in a




 181         this.owner = owner;
 182     }
 183 
 184     /** This method is new in the DOM L3 for Attr interface.
 185      * Could throw DOMException here, but its probably OK
 186      * to always return false. One reason for this, is we have no good
 187      * way to document this exception, since this class, IIOAttr,
 188      * is not a public class. The rest of the methods that throw
 189      * DOMException are publically documented as such on IIOMetadataNode.
 190      * @return false
 191      */
 192     public boolean isId() {
 193         return false;
 194     }
 195 
 196 
 197 }
 198 
 199 /**
 200  * A class representing a node in a meta-data tree, which implements
 201  * the {@link Element org.w3c.dom.Element} interface and additionally allows


 202  * for the storage of non-textual objects via the
 203  * {@code getUserObject} and {@code setUserObject} methods.
 204  *
 205  * <p> This class is not intended to be used for general XML
 206  * processing. In particular, {@code Element} nodes created
 207  * within the Image I/O API are not compatible with those created by
 208  * Sun's standard implementation of the {@code org.w3.dom} API.
 209  * In particular, the implementation is tuned for simple uses and may
 210  * not perform well for intensive processing.
 211  *
 212  * <p> Namespaces are ignored in this implementation.  The terms "tag
 213  * name" and "node name" are always considered to be synonymous.
 214  *
 215  * <em>Note:</em>
 216  * The DOM Level 3 specification added a number of new methods to the
 217  * {@code Node}, {@code Element} and {@code Attr} interfaces that are not
 218  * of value to the {@code IIOMetadataNode} implementation or specification.
 219  *
 220  * Calling such methods on an {@code IIOMetadataNode}, or an {@code Attr}
 221  * instance returned from an {@code IIOMetadataNode} will result in a


< prev index next >