/** @deprecated */ public StartTagInfo( String namespaceURI, String localName, String qName, Attributes attributes, IDContextProvider context ) { reinit(namespaceURI,localName,qName,attributes,context); }
/** * converts the relative URL to the absolute one by using the specified base URL. */ public final String combineURI( String baseURI, String relativeURI ) { return Uri.resolve(baseURI,relativeURI); }
public final String getDefaultedAttribute( String namespaceURI, String attrName, String defaultValue ) { String v = getAttribute(namespaceURI,attrName); if(v!=null) return v; else return defaultValue; } }
/** test equals and hashCode method */ public void testEqualsAndHashCode() { StringPair[] pairs = new StringPair[]{ new StringPair("namespace","foo"), new StringPair("namespac-","foo"), new StringPair("namespace","bar") }; for( int i=0; i<pairs.length; i++ ) for( int j=0; j<pairs.length; j++ ) if( i==j ) { assertEquals( pairs[i], pairs[j] ); assertEquals( pairs[i].hashCode(), pairs[j].hashCode() ); } else assertTrue( !pairs[i].equals(pairs[j]) ); } }
public final String getDefaultedAttribute( String namespaceURI, String attrName, String defaultValue ) { String v = getAttribute(namespaceURI,attrName); if(v!=null) return v; else return defaultValue; } }
/** @deprecated */ public StartTagInfo( String namespaceURI, String localName, String qName, Attributes attributes, IDContextProvider context ) { reinit(namespaceURI,localName,qName,attributes,context); }
/** * converts the relative URL to the absolute one by using the specified base URL. */ public final String combineURI( String baseURI, String relativeURI ) { return Uri.resolve(baseURI,relativeURI); }
/** * gets value of the specified attribute. * * @return null attribute does not exist. */ public final String getAttribute( String attrName ) { return getAttribute("",attrName); }
public StartTagInfo( String namespaceURI, String localName, String qName, Attributes attributes, IDContextProvider2 context ) { reinit(namespaceURI,localName,qName,attributes,context); }
/** * @deprecated use the combineURI method. */ public final String combineURL( String baseURI, String relativeURI ) { return Uri.resolve(baseURI,relativeURI); }
/** * gets value of the specified attribute. * * @return null attribute does not exist. */ public final String getAttribute( String attrName ) { return getAttribute("",attrName); }
public StartTagInfo( String namespaceURI, String localName, String qName, Attributes attributes, IDContextProvider2 context ) { reinit(namespaceURI,localName,qName,attributes,context); }
/** * converts the relative URL to the absolute one by using the specified base URL. */ public final String combineURI( String baseURI, String relativeURI ) { return Uri.resolve(baseURI,relativeURI); }
public final String getDefaultedAttribute( String namespaceURI, String attrName, String defaultValue ) { String v = getAttribute(namespaceURI,attrName); if(v!=null) return v; else return defaultValue; } }
/** @deprecated */ public StartTagInfo( String namespaceURI, String localName, String qName, Attributes attributes, IDContextProvider context ) { reinit(namespaceURI,localName,qName,attributes,context); }
/** * @deprecated use the combineURI method. */ public final String combineURL( String baseURI, String relativeURI ) { return Uri.resolve(baseURI,relativeURI); }
public StartTagInfo( String namespaceURI, String localName, String qName, Attributes attributes ) { reinit(namespaceURI,localName,qName,attributes,(IDContextProvider2)null); }
/** * @deprecated use the combineURI method. */ public final String combineURL( String baseURI, String relativeURI ) { return Uri.resolve(baseURI,relativeURI); }
mStartTag.reinit(uri, localName, qname, mAttributeProxy, this);
/** * converts the relative URL to the absolute one by using the specified base URL. */ public final String combineURI( String baseURI, String relativeURI ) { return Uri.resolve(baseURI,relativeURI); }