first commit
This commit is contained in:
12
hrmsEjb/org/apache/xerces/impl/xs/psvi/PSVIProvider.java
Normal file
12
hrmsEjb/org/apache/xerces/impl/xs/psvi/PSVIProvider.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
import org.apache.xerces.xni.psvi.AttributePSVI;
|
||||
import org.apache.xerces.xni.psvi.ElementPSVI;
|
||||
|
||||
public interface PSVIProvider {
|
||||
AttributePSVI getAttributePSVI(int paramInt);
|
||||
|
||||
ElementPSVI getElementPSVI();
|
||||
|
||||
AttributePSVI getAttributePSVIByName(String paramString1, String paramString2);
|
||||
}
|
7
hrmsEjb/org/apache/xerces/impl/xs/psvi/StringList.java
Normal file
7
hrmsEjb/org/apache/xerces/impl/xs/psvi/StringList.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface StringList {
|
||||
int getLength();
|
||||
|
||||
String item(int paramInt);
|
||||
}
|
13
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSAnnotation.java
Normal file
13
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSAnnotation.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSAnnotation extends XSObject {
|
||||
public static final short W3C_DOM_ELEMENT = 1;
|
||||
|
||||
public static final short SAX_CONTENTHANDLER = 2;
|
||||
|
||||
public static final short W3C_DOM_DOCUMENT = 3;
|
||||
|
||||
boolean writeAnnotation(Object paramObject, short paramShort);
|
||||
|
||||
String getAnnotationString();
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSAttributeDeclaration extends XSObject {
|
||||
short getConstraintType();
|
||||
|
||||
short getScope();
|
||||
|
||||
String getConstraintValue();
|
||||
|
||||
XSAnnotation getAnnotation();
|
||||
|
||||
XSComplexTypeDefinition getEnclosingCTDefinition();
|
||||
|
||||
XSSimpleTypeDefinition getTypeDefinition();
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSAttributeGroupDefinition extends XSObject {
|
||||
XSAnnotation getAnnotation();
|
||||
|
||||
XSObjectList getAttributeUses();
|
||||
|
||||
XSWildcard getAttributeWildcard();
|
||||
}
|
@@ -0,0 +1,31 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSComplexTypeDefinition extends XSTypeDefinition {
|
||||
public static final short CONTENTTYPE_EMPTY = 0;
|
||||
|
||||
public static final short CONTENTTYPE_SIMPLE = 1;
|
||||
|
||||
public static final short CONTENTTYPE_ELEMENT = 2;
|
||||
|
||||
public static final short CONTENTTYPE_MIXED = 3;
|
||||
|
||||
short getContentType();
|
||||
|
||||
short getDerivationMethod();
|
||||
|
||||
short getProhibitedSubstitutions();
|
||||
|
||||
boolean getAbstract();
|
||||
|
||||
boolean isProhibitedSubstitution(short paramShort);
|
||||
|
||||
XSObjectList getAnnotations();
|
||||
|
||||
XSObjectList getAttributeUses();
|
||||
|
||||
XSParticle getParticle();
|
||||
|
||||
XSSimpleTypeDefinition getSimpleType();
|
||||
|
||||
XSWildcard getAttributeWildcard();
|
||||
}
|
@@ -0,0 +1,31 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSElementDeclaration extends XSTerm {
|
||||
short getConstraintType();
|
||||
|
||||
short getDisallowedSubstitutions();
|
||||
|
||||
short getScope();
|
||||
|
||||
short getSubstitutionGroupExclusions();
|
||||
|
||||
boolean getAbstract();
|
||||
|
||||
boolean getNillable();
|
||||
|
||||
boolean isDisallowedSubstitution(short paramShort);
|
||||
|
||||
boolean isSubstitutionGroupExclusion(short paramShort);
|
||||
|
||||
String getConstraintValue();
|
||||
|
||||
XSAnnotation getAnnotation();
|
||||
|
||||
XSComplexTypeDefinition getEnclosingCTDefinition();
|
||||
|
||||
XSElementDeclaration getSubstitutionGroupAffiliation();
|
||||
|
||||
XSNamedMap getIdentityConstraints();
|
||||
|
||||
XSTypeDefinition getTypeDefinition();
|
||||
}
|
25
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSModel.java
Normal file
25
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSModel.java
Normal file
@@ -0,0 +1,25 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSModel {
|
||||
StringList getNamespaces();
|
||||
|
||||
XSNamedMap getComponents(short paramShort);
|
||||
|
||||
XSNamespaceItemList getNamespaceItems();
|
||||
|
||||
XSObjectList getAnnotations();
|
||||
|
||||
XSNamedMap getComponentsByNamespace(short paramShort, String paramString);
|
||||
|
||||
XSAttributeDeclaration getAttributeDeclaration(String paramString1, String paramString2);
|
||||
|
||||
XSAttributeGroupDefinition getAttributeGroup(String paramString1, String paramString2);
|
||||
|
||||
XSElementDeclaration getElementDeclaration(String paramString1, String paramString2);
|
||||
|
||||
XSModelGroupDefinition getModelGroupDefinition(String paramString1, String paramString2);
|
||||
|
||||
XSNotationDeclaration getNotationDeclaration(String paramString1, String paramString2);
|
||||
|
||||
XSTypeDefinition getTypeDefinition(String paramString1, String paramString2);
|
||||
}
|
15
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSModelGroup.java
Normal file
15
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSModelGroup.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSModelGroup extends XSTerm {
|
||||
public static final short COMPOSITOR_SEQUENCE = 1;
|
||||
|
||||
public static final short COMPOSITOR_CHOICE = 2;
|
||||
|
||||
public static final short COMPOSITOR_ALL = 3;
|
||||
|
||||
short getCompositor();
|
||||
|
||||
XSAnnotation getAnnotation();
|
||||
|
||||
XSObjectList getParticles();
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSModelGroupDefinition extends XSObject {
|
||||
XSAnnotation getAnnotation();
|
||||
|
||||
XSModelGroup getModelGroup();
|
||||
}
|
9
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSNamedMap.java
Normal file
9
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSNamedMap.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSNamedMap {
|
||||
int getLength();
|
||||
|
||||
XSObject item(int paramInt);
|
||||
|
||||
XSObject itemByName(String paramString1, String paramString2);
|
||||
}
|
23
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSNamespaceItem.java
Normal file
23
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSNamespaceItem.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSNamespaceItem {
|
||||
String getSchemaNamespace();
|
||||
|
||||
StringList getDocumentLocations();
|
||||
|
||||
XSNamedMap getComponents(short paramShort);
|
||||
|
||||
XSObjectList getAnnotations();
|
||||
|
||||
XSAttributeDeclaration getAttributeDeclaration(String paramString);
|
||||
|
||||
XSAttributeGroupDefinition getAttributeGroup(String paramString);
|
||||
|
||||
XSElementDeclaration getElementDeclaration(String paramString);
|
||||
|
||||
XSModelGroupDefinition getModelGroupDefinition(String paramString);
|
||||
|
||||
XSNotationDeclaration getNotationDeclaration(String paramString);
|
||||
|
||||
XSTypeDefinition getTypeDefinition(String paramString);
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSNamespaceItemList {
|
||||
int getLength();
|
||||
|
||||
XSNamespaceItem item(int paramInt);
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSNotationDeclaration extends XSObject {
|
||||
String getPublicId();
|
||||
|
||||
String getSystemId();
|
||||
|
||||
XSAnnotation getAnnotation();
|
||||
}
|
11
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSObject.java
Normal file
11
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSObject.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSObject {
|
||||
short getType();
|
||||
|
||||
String getName();
|
||||
|
||||
String getNamespace();
|
||||
|
||||
XSNamespaceItem getNamespaceItem();
|
||||
}
|
7
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSObjectList.java
Normal file
7
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSObjectList.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSObjectList {
|
||||
int getLength();
|
||||
|
||||
XSObject item(int paramInt);
|
||||
}
|
11
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSParticle.java
Normal file
11
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSParticle.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSParticle extends XSObject {
|
||||
int getMaxOccurs();
|
||||
|
||||
int getMinOccurs();
|
||||
|
||||
boolean getMaxOccursUnbounded();
|
||||
|
||||
XSTerm getTerm();
|
||||
}
|
@@ -0,0 +1,75 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSSimpleTypeDefinition extends XSTypeDefinition {
|
||||
public static final short VARIETY_ABSENT = 0;
|
||||
|
||||
public static final short VARIETY_ATOMIC = 1;
|
||||
|
||||
public static final short VARIETY_LIST = 2;
|
||||
|
||||
public static final short VARIETY_UNION = 3;
|
||||
|
||||
public static final short FACET_NONE = 0;
|
||||
|
||||
public static final short FACET_LENGTH = 1;
|
||||
|
||||
public static final short FACET_MINLENGTH = 2;
|
||||
|
||||
public static final short FACET_MAXLENGTH = 4;
|
||||
|
||||
public static final short FACET_PATTERN = 8;
|
||||
|
||||
public static final short FACET_WHITESPACE = 16;
|
||||
|
||||
public static final short FACET_MAXINCLUSIVE = 32;
|
||||
|
||||
public static final short FACET_MAXEXCLUSIVE = 64;
|
||||
|
||||
public static final short FACET_MINEXCLUSIVE = 128;
|
||||
|
||||
public static final short FACET_MININCLUSIVE = 256;
|
||||
|
||||
public static final short FACET_TOTALDIGITS = 512;
|
||||
|
||||
public static final short FACET_FRACTIONDIGITS = 1024;
|
||||
|
||||
public static final short FACET_ENUMERATION = 2048;
|
||||
|
||||
public static final short ORDERED_FALSE = 0;
|
||||
|
||||
public static final short ORDERED_PARTIAL = 1;
|
||||
|
||||
public static final short ORDERED_TOTAL = 2;
|
||||
|
||||
short getDefinedFacets();
|
||||
|
||||
short getFixedFacets();
|
||||
|
||||
short getOrdered();
|
||||
|
||||
short getVariety();
|
||||
|
||||
boolean getBounded();
|
||||
|
||||
boolean getFinite();
|
||||
|
||||
boolean getNumeric();
|
||||
|
||||
boolean isDefinedFacet(short paramShort);
|
||||
|
||||
boolean isFixedFacet(short paramShort);
|
||||
|
||||
String getLexicalFacetValue(short paramShort);
|
||||
|
||||
StringList getLexicalEnumeration();
|
||||
|
||||
StringList getLexicalPattern();
|
||||
|
||||
XSAnnotation getAnnotation();
|
||||
|
||||
XSObjectList getMemberTypes();
|
||||
|
||||
XSSimpleTypeDefinition getItemType();
|
||||
|
||||
XSSimpleTypeDefinition getPrimitiveType();
|
||||
}
|
3
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSTerm.java
Normal file
3
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSTerm.java
Normal file
@@ -0,0 +1,3 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSTerm extends XSObject {}
|
21
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSTypeDefinition.java
Normal file
21
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSTypeDefinition.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSTypeDefinition extends XSObject {
|
||||
public static final short COMPLEX_TYPE = 13;
|
||||
|
||||
public static final short SIMPLE_TYPE = 14;
|
||||
|
||||
short getFinal();
|
||||
|
||||
short getTypeCategory();
|
||||
|
||||
boolean getAnonymous();
|
||||
|
||||
boolean isFinal(short paramShort);
|
||||
|
||||
XSTypeDefinition getBaseType();
|
||||
|
||||
boolean derivedFromType(XSTypeDefinition paramXSTypeDefinition, short paramShort);
|
||||
|
||||
boolean derivedFrom(String paramString1, String paramString2, short paramShort);
|
||||
}
|
23
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSWildcard.java
Normal file
23
hrmsEjb/org/apache/xerces/impl/xs/psvi/XSWildcard.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package org.apache.xerces.impl.xs.psvi;
|
||||
|
||||
public interface XSWildcard extends XSTerm {
|
||||
public static final short NSCONSTRAINT_ANY = 1;
|
||||
|
||||
public static final short NSCONSTRAINT_NOT = 2;
|
||||
|
||||
public static final short NSCONSTRAINT_LIST = 3;
|
||||
|
||||
public static final short PC_STRICT = 1;
|
||||
|
||||
public static final short PC_SKIP = 2;
|
||||
|
||||
public static final short PC_LAX = 3;
|
||||
|
||||
short getConstraintType();
|
||||
|
||||
short getProcessContents();
|
||||
|
||||
StringList getNsConstraintList();
|
||||
|
||||
XSAnnotation getAnnotation();
|
||||
}
|
Reference in New Issue
Block a user