Lines Matching defs:base
839 SimpleRestrictionModel base = st.restriction();
840 writeTypeRef(base, e.getBaseType(), "base");
843 base.enumeration().value(c.getLexicalValue());
861 // <xs:restriction base="xs:int"/>
869 writeTypeRef(st.restriction(),vp.getTarget(),"base");
877 // <extension base="xs:int"/>
900 se.base(vp.getTarget().getTypeName());
933 // if there is a base class, we need to generate an extension in the schema
941 se.base(bc.getTypeName());
947 ce.base(bc.getTypeName());
948 // TODO: what if the base type is anonymous?
1500 * Relativizes a URI by using another URI (base URI.)
1534 // normalize base path
1564 private static String calculateRelativePath(String uri, String base, boolean fileUrl) {
1569 if (base == null) {
1572 if ((fileUrl && onWindows && startsWithIgnoreCase(uri,base)) || uri.startsWith(base)) {
1573 return uri.substring(base.length());
1575 return "../" + calculateRelativePath(uri, getParentUriPath(base), fileUrl);