/** * This returns true if the attribute is reserved. An attribute * is considered reserved if it begins with "xml" according to * the namespaces in XML 1.0 specification. Such attributes are * used for namespaces and other such details. * * @return this returns true if the attribute is reserved */ public boolean isReserved() { String prefix = getPrefix(); String name = getName(); if(prefix != null) { return prefix.startsWith(RESERVED); } return name.startsWith(RESERVED); }
/** * This returns true if the attribute is reserved. An attribute * is considered reserved if it begins with "xml" according to * the namespaces in XML 1.0 specification. Such attributes are * used for namespaces and other such details. * * @return this returns true if the attribute is reserved */ public boolean isReserved() { String prefix = getPrefix(); String name = getName(); if(prefix != null) { return prefix.startsWith(RESERVED); } return name.startsWith(RESERVED); }
/** * This returns true if the attribute is reserved. An attribute * is considered reserved if it begins with "xml" according to * the namespaces in XML 1.0 specification. Such attributes are * used for namespaces and other such details. * * @return this returns true if the attribute is reserved */ public boolean isReserved() { String prefix = getPrefix(); String name = getName(); if(prefix != null) { return prefix.startsWith(RESERVED); } return name.startsWith(RESERVED); }
/** * This is used to convert the provided node to an attribute. The * conversion process ensures the node can be digested by the core * reader and used to provide an <code>InputNode</code> that can * be used to represent an XML attribute within the source document. * * @param node the node that is to be converted to an attribute * * @return this returns an attribute created from the given node */ private Entry attribute(Node node) { return new Entry(node); }
/** * This is used to convert the provided node to an attribute. The * conversion process ensures the node can be digested by the core * reader and used to provide an <code>InputNode</code> that can * be used to represent an XML attribute within the source document. * * @param node the node that is to be converted to an attribute * * @return this returns an attribute created from the given node */ private Entry attribute(Node node) { return new Entry(node); }
/** * This is used to convert the provided node to an attribute. The * conversion process ensures the node can be digested by the core * reader and used to provide an <code>InputNode</code> that can * be used to represent an XML attribute within the source document. * * @param node the node that is to be converted to an attribute * * @return this returns an attribute created from the given node */ private Entry attribute(Node node) { return new Entry(node); }