/** * Constructs a new QName with the specified namespace URI and * local name. * * @param namespaceURI The namespace URI if known, or null * @param localName The local name * @param validate If true the new QName will be validated and an IllegalArgumentException will * be thrown if it is invalid. */ public QName(String namespaceURI, String localName, boolean validate) { // This check was already here. So, for now, I will not add it to the validation // that is done when the validate parameter is true. if (localName == null) throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null"); if (validate) { if (!XML11Char.isXML11ValidNCName(localName)) { throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); } } _namespaceURI = namespaceURI; _localName = localName; m_hashCode = toString().hashCode(); }
/** * Construct a QName from a string, without namespace resolution. Good * for a few odd cases. * * @param localName Local part of qualified name * @param validate If true the new QName will be validated and an IllegalArgumentException will * be thrown if it is invalid. */ public QName(String localName, boolean validate) { // This check was already here. So, for now, I will not add it to the validation // that is done when the validate parameter is true. if (localName == null) throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null"); if (validate) { if (!XML11Char.isXML11ValidNCName(localName)) { throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); } } _namespaceURI = null; _localName = localName; m_hashCode = toString().hashCode(); }
/** * Construct a QName from a string, without namespace resolution. Good * for a few odd cases. * * @param localName Local part of qualified name * @param validate If true the new QName will be validated and an IllegalArgumentException will * be thrown if it is invalid. */ public QName(String localName, boolean validate) { // This check was already here. So, for now, I will not add it to the validation // that is done when the validate parameter is true. if (localName == null) throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null"); if (validate) { if (!XML11Char.isXML11ValidNCName(localName)) { throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); } } _namespaceURI = null; _localName = localName; m_hashCode = toString().hashCode(); }
/** * Constructs a new QName with the specified namespace URI and * local name. * * @param namespaceURI The namespace URI if known, or null * @param localName The local name * @param validate If true the new QName will be validated and an IllegalArgumentException will * be thrown if it is invalid. */ public QName(String namespaceURI, String localName, boolean validate) { // This check was already here. So, for now, I will not add it to the validation // that is done when the validate parameter is true. if (localName == null) throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null"); if (validate) { if (!XML11Char.isXML11ValidNCName(localName)) { throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); } } _namespaceURI = namespaceURI; _localName = localName; m_hashCode = toString().hashCode(); }
m_hashCode = toString().hashCode();
m_hashCode = toString().hashCode();
m_hashCode = toString().hashCode();
new Object[]{m_qname.toString()});
m_hashCode = toString().hashCode(); _prefix = prefix;
m_hashCode = toString().hashCode();
_prefix = prefix; _localName = localName; m_hashCode = toString().hashCode();
m_hashCode = toString().hashCode(); _prefix = prefix;
new Object[]{m_qname.toString()});
_prefix = prefix; _localName = localName; m_hashCode = toString().hashCode();
((null != template.getName()) ? template.getName().toString() : template.getMatch().getPatternString()) }; String msg = XSLMessages.createMessage("recursionTooDeep", msgArgs);
throw new javax.xml.transform.TransformerException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_VAR_NOT_RESOLVABLE, new Object[]{qname.toString()})); //"Variable not resolvable: " + qname);
throw new javax.xml.transform.TransformerException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_VAR_NOT_RESOLVABLE, new Object[]{qname.toString()})); //"Variable not resolvable: " + qname);
/** * Construct a QName from a string, without namespace resolution. Good * for a few odd cases. * * @param localName Local part of qualified name * @param validate If true the new QName will be validated and an IllegalArgumentException will * be thrown if it is invalid. */ public QName(String localName, boolean validate) { // This check was already here. So, for now, I will not add it to the validation // that is done when the validate parameter is true. if (localName == null) throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null"); if (validate) { if (!XML11Char.isXML11ValidNCName(localName)) { throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); } } _namespaceURI = null; _localName = localName; m_hashCode = toString().hashCode(); }
/** * Construct a QName from a string, without namespace resolution. Good * for a few odd cases. * * @param localName Local part of qualified name * @param validate If true the new QName will be validated and an IllegalArgumentException will * be thrown if it is invalid. */ public QName(String localName, boolean validate) { // This check was already here. So, for now, I will not add it to the validation // that is done when the validate parameter is true. if (localName == null) throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null"); if (validate) { if (!XML11Char.isXML11ValidNCName(localName)) { throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); } } _namespaceURI = null; _localName = localName; m_hashCode = toString().hashCode(); }
/** * Constructs a new QName with the specified namespace URI and * local name. * * @param namespaceURI The namespace URI if known, or null * @param localName The local name * @param validate If true the new QName will be validated and an IllegalArgumentException will * be thrown if it is invalid. */ public QName(String namespaceURI, String localName, boolean validate) { // This check was already here. So, for now, I will not add it to the validation // that is done when the validate parameter is true. if (localName == null) throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_NULL, null)); //"Argument 'localName' is null"); if (validate) { if (!XML11Char.isXML11ValidNCName(localName)) { throw new IllegalArgumentException(XMLMessages.createXMLMessage( XMLErrorResources.ER_ARG_LOCALNAME_INVALID,null )); //"Argument 'localName' not a valid NCName"); } } _namespaceURI = namespaceURI; _localName = localName; m_hashCode = toString().hashCode(); }