Package org.eclipse.tycho.p2maven.io
Class SimpleArtifactRepositoryIO.Writer
java.lang.Object
org.eclipse.equinox.internal.p2.persistence.XMLWriter
org.eclipse.tycho.p2maven.io.SimpleArtifactRepositoryIO.Writer
- All Implemented Interfaces:
org.eclipse.equinox.internal.p2.persistence.XMLConstants
- Enclosing class:
SimpleArtifactRepositoryIO
public static class SimpleArtifactRepositoryIO.Writer
extends org.eclipse.equinox.internal.p2.persistence.XMLWriter
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.equinox.internal.p2.persistence.XMLWriter
org.eclipse.equinox.internal.p2.persistence.XMLWriter.AttributeAfterNestedContentError, org.eclipse.equinox.internal.p2.persistence.XMLWriter.EndWithoutStartError, org.eclipse.equinox.internal.p2.persistence.XMLWriter.ProcessingInstruction -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final org.eclipse.equinox.p2.metadata.Versionstatic final org.eclipse.equinox.p2.metadata.Versionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic org.eclipse.equinox.internal.p2.persistence.XMLWriter.ProcessingInstruction[]static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final org.eclipse.equinox.p2.metadata.VersionRangeFields inherited from interface org.eclipse.equinox.internal.p2.persistence.XMLConstants
CHILD_ELEMENT, CHILDREN_ELEMENT, CLASSIFIER_ATTRIBUTE, COLLECTION_SIZE_ATTRIBUTE, COPYRIGHT_ELEMENT, DESCRIPTION_ATTRIBUTE, ID_ATTRIBUTE, LICENSE_ELEMENT, LICENSES_ELEMENT, LOCATION_ELEMENT, MATCH_ATTRIBUTE, MATCH_PARAMETERS_ATTRIBUTE, MAX_ATTRIBUTE, MIN_ATTRIBUTE, NAME_ATTRIBUTE, NAMESPACE_ATTRIBUTE, noAttributes, PARENT_ID_ATTRIBUTE, PI_CLASS_ATTRIBUTE, PI_VERSION_ATTRIBUTE, PROPERTIES_ELEMENT, PROPERTY_ATTRIBUTES, PROPERTY_ELEMENT, PROPERTY_NAME_ATTRIBUTE, PROPERTY_OPTIONAL_ATTRIBUTES, PROPERTY_TYPE_ATTRIBUTE, PROPERTY_TYPE_BOOLEAN, PROPERTY_TYPE_BYTE, PROPERTY_TYPE_CHARACTER, PROPERTY_TYPE_DOUBLE, PROPERTY_TYPE_FLOAT, PROPERTY_TYPE_INTEGER, PROPERTY_TYPE_LIST, PROPERTY_TYPE_LONG, PROPERTY_TYPE_SHORT, PROPERTY_TYPE_STRING, PROPERTY_TYPE_VERSION, PROPERTY_VALUE_ATTRIBUTE, PROVIDER_ATTRIBUTE, TYPE_ATTRIBUTE, URI_ATTRIBUTE, URL_ATTRIBUTE, VERSION_ATTRIBUTE, VERSION_RANGE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository repository) Write the given artifact repository to the output stream.protected voidwriteArtifacts(Set<? extends org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> artifactDescriptors) Methods inherited from class org.eclipse.equinox.internal.p2.persistence.XMLWriter
attribute, attribute, attribute, attribute, attributeImage, attributeOptional, cdata, cdata, end, end, escape, flush, start, writeProperties, writeProperties, writeProperty
-
Field Details
-
PI_DEFAULTS
public static org.eclipse.equinox.internal.p2.persistence.XMLWriter.ProcessingInstruction[] PI_DEFAULTS -
COMPATIBLE_VERSION
static final org.eclipse.equinox.p2.metadata.Version COMPATIBLE_VERSION -
CURRENT_VERSION
static final org.eclipse.equinox.p2.metadata.Version CURRENT_VERSION -
XML_TOLERANCE
static final org.eclipse.equinox.p2.metadata.VersionRange XML_TOLERANCE -
PI_REPOSITORY_TARGET
- See Also:
-
REPOSITORY_ELEMENT
- See Also:
-
REPOSITORY_PROPERTIES_ELEMENT
- See Also:
-
MAPPING_RULES_ELEMENT
- See Also:
-
MAPPING_RULE_ELEMENT
- See Also:
-
ARTIFACTS_ELEMENT
- See Also:
-
ARTIFACT_ELEMENT
- See Also:
-
PROCESSING_STEPS_ELEMENT
- See Also:
-
PROCESSING_STEP_ELEMENT
- See Also:
-
MAPPING_RULE_FILTER_ATTRIBUTE
- See Also:
-
MAPPING_RULE_OUTPUT_ATTRIBUTE
- See Also:
-
ARTIFACT_CLASSIFIER_ATTRIBUTE
- See Also:
-
STEP_DATA_ATTRIBUTE
- See Also:
-
STEP_REQUIRED_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
Writer
- Throws:
IOException
-
-
Method Details
-
write
public void write(org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository repository) Write the given artifact repository to the output stream. -
writeArtifacts
protected void writeArtifacts(Set<? extends org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor> artifactDescriptors)
-